@charset "utf-8";

body {
  font-family: 'メイリオ',
  'Hiragino Kaku Gothic Pro', sans-serif
}
body {
  margin: 0;
  padding: 0;
}
p,
h1,
h2,
h3,
h4,
h5,
h6 {
  margin-top: 0;
}
h4{color: red}
img {
  vertical-align: bottom;
}
body {
  font-family: 'Paytone+One', serif;
}
.k{text-align: left;
margin-right: 50px}
.e{text-align: left;
color: red}
a{color: red}
ul {
  margin: 0;
  padding: 0;
}
ul {
  list-style: none;
}

.box1 {
  display: block
}

ul {
  width: 100%;
  height: 100vw
}
a {
  text-decoration: none
}

a:hover {
  text-decoration: underline
}

.info {
  font-family: 'Bitter', serif;
  text-align: center;
  font-weight: bold;
}

.logo img {
  width: 100%
}

.menu li a {
  line-height: 8;
}

ul li {
  text-align: center;
}

.menu {
  background-color: #660000
}

.image img {
  width: 100%;
  height: auto;
}

.sideimage img {
  width: 100%;
  height: auto;

}

small {
  text-align: center
}

h4 {
  text-align: left;
  font-family: 'Bitter', serif
}

/*ボタン*/

.menu {
  display: inline-block;
}

a:hover img {
  opacity: 0.50;
  filter: alpha(opacity=50);
  -ms-filter: "alpha( opacity=50 )";
  -moz-opacity: 0.50;
}

/*375以下*/

@media (max-width:375px) {
  .logo {
    width: 375px
  }
  .menu ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
  }
  .menu li {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1
  }
  .menu {
    height: 320px
  }
  .menu li {
    height: 80px
  }
  #slideshow {
    position: relative;
    width: 375px;
    /* 画像の横幅に合わせて記述 */
    height: 570px;
    /* 画像の高さに合わせて記述 */
  }
  #slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    opacity: 0.0;
  }
  #slideshow img.active {
    z-index: 10;
    opacity: 1.0;
  }
  #slideshow img.last-active {
    z-index: 9;
  }
  .sideimage {
    width: 365px
  }
  .sideimage {
    margin: 5px
  }
  /*古い規格のグリッド*/
  body {
    display: -ms-grid;
    -ms-grid-columns: 1fr
  }
  .box1 {
    -ms-grid-column: 1;
    -ms-grid-row:1;
    -ma-grid-row-span:1;
  }
  .image {
    -ms-grid-column: 1;
    -ms-grid-row: 2;
    -ms-grid-row-span:1;
  }
  .sideimage {
    -ms-grid-column: 1;
    -ms-grid-row: 3;
    -ms-grid-row-span:1;
  }
  /*グリッド*/
  body {
    display: grid;
    grid-template-areas: "side1" "side2" "side3";
    grid-template-columns: 1fr
  }
  .box1 {
    grid-area: side1
  }
  .image{
    grid-area: side2
  }
  .sideimage {
    grid-area: side3
  }



  .demo1 {
    background: url(../image/bottom/pc_nav_01_off50.png) no-repeat;
    padding: 40px 30px
  }
  .demo1:hover {
    background: url(../image/bottom/pc_nav_01_on50.png)no-repeat
  }
  .demo1:hover img {
    opacity: 0.5;
  }
  .demo2 {
    background: url(../image/bottom/pc_nav_02_off50.png) no-repeat;
    padding: 40px 30px
  }
  .demo2:hover {
    background: url(../image/bottom/pc_nav_02_on50.png)no-repeat
  }
  .demo2:hover img {
    opacity: 0.5;
  }
  .demo3 {
    background: url(../image/bottom/pc_nav_04_off50.png) no-repeat;
    padding: 40px 27px
  }
  .demo3:hover {
    background: url(../image/bottom/pc_nav_04_on50.png)no-repeat
  }
  .demo3:hover img {
    opacity: 0.5;
  }
  .demo4 {
    background: url(../image/bottom/pc_nav_05_off50.png) no-repeat;
    padding: 40px 27px
  }
  .demo4:hover {
    background: url(../image/bottom/pc_nav_05_on50.png)no-repeat
  }
  .demo4:hover img {
    opacity: 0.5;
  }
  .demo5 {
    background: url(../image/bottom/pc_nav_06_off50.png) no-repeat;
    padding: 40px 24px
  }
  .demo5:hover {
    background: url(../image/bottom/pc_nav_06_on50.png)no-repeat
  }
  .demo5:hover img {
    opacity: 0.5;
  }
  .demo6 {
    background: url(../image/bottom/pc_nav_08_off50.png) no-repeat;
    padding: 38px 21px
  }
  .demo6:hover {
    background: url(../image/bottom/pc_nav_08_on50.png)no-repeat
  }
  .demo6:hover img {
    opacity: 0.5;
  }
  .dennwa img {
    margin-bottom: 80px
  }
  .yoyaku {
    background: url(../image/bottom/yoyaku_boton_off.png) no-repeat;
    padding: 50px 120px;
    margin-left: 60px;
  }

  .fun img {
    margin-top: 50px
  }
  .yoyaku:hover {
    background: url(../image/bottom/yoyaku_boton_on.png)no-repeat
  }
  .yoyaku:hover img {
    opacity: 0.5;
  }
  .btn a {
    background-color: #009cd3;
    color: #ffffff;
    font-size: 20px;
    width: 200px;
    display: block;
    text-align: center;
    line-height: 50px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #009cd3;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px
  }
  .btn a:hover {
    background-color: #ffffff;
    color: #009cd3;
    cursor: pointer;
  }
  a:hover {
    text-decoration: none
  }
 h4{margin: auto}
}

/*375以下終わり*/

/*414始まり*/

@media (min-width: 376px) and (max-width: 599px) {
  .logo {
    width: 414px
  }
  .menu ul {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
  }
  .menu li {
    -webkit-box-flex: 1;
    -webkit-flex: 1;
    -ms-flex: 1;
    flex: 1
  }
  .menu {
    height: 335px
  }
  .menu li {
    height: 80px
  }
  #slideshow {
    position: relative;
    width: 414px;
    /* 画像の横幅に合わせて記述 */
    height: 610px;
    /* 画像の高さに合わせて記述 */
  }
  #slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    opacity: 0.0;
  }
  #slideshow img.active {
    z-index: 10;
    opacity: 1.0;
  }
  #slideshow img.last-active {
    z-index: 9;
  }
  .sideimage {
    width: 400px
  }
  .sideimage {
    margin: 5px
  }
  /*古い規格のグリッド*/
  body {
    display: -ms-grid;
    -ms-grid-columns: 1fr
  }
  .box1 {
    -ms-grid-column: 1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .image {
    -ms-grid-column: 1;
    -ms-grid-row: 2;
    -ms-grid-row-span:1;
  }
  .sideimage {
    -ms-grid-column: 1;
    -ms-grid-row: 3;
    -ms-grid-row-span:1;
  }
  /*グリッド*/
  body {
    display: grid;
    grid-template-areas: "side1" "side2" "side3";
    grid-template-columns: 1fr
  }
  .box1 {
    grid-area: side1
  }
  .image{
    grid-area:side2
  }
  .sideimage {
    grid-area: side3
  }
  .demo1 {
    background: url(../image/bottom/pc_nav_01_off50.png) no-repeat;
    padding: 40px 33px
  }
  .demo1:hover {
    background: url(../image/bottom/pc_nav_01_on50.png)no-repeat
  }
  .demo1:hover img {
    opacity: 0.5;
  }
  .demo2 {
    background: url(../image/bottom/pc_nav_02_off50.png) no-repeat;
    padding: 40px 30px
  }
  .demo2:hover {
    background: url(../image/bottom/pc_nav_02_on50.png)no-repeat
  }
  .demo2:hover img {
    opacity: 0.5;
  }
  .demo3 {
    background: url(../image/bottom/pc_nav_04_off50.png) no-repeat;
    padding: 40px 28px
  }
  .demo3:hover {
    background: url(../image/bottom/pc_nav_04_on50.png)no-repeat
  }
  .demo3:hover img {
    opacity: 0.5;
  }
  .demo4 {
    background: url(../image/bottom/pc_nav_05_off50.png) no-repeat;
    padding: 40px 27px
  }
  .demo4:hover {
    background: url(../image/bottom/pc_nav_05_on50.png)no-repeat
  }
  .demo4:hover img {
    opacity: 0.5;
  }
  .demo5 {
    background: url(../image/bottom/pc_nav_06_off50.png) no-repeat;
    padding: 40px 24px
  }
  .demo5:hover {
    background: url(../image/bottom/pc_nav_06_on50.png)no-repeat
  }
  .demo5:hover img {
    opacity: 0.5;
  }
  .demo6 {
    background: url(../image/bottom/pc_nav_08_off50.png) no-repeat;
    padding: 38px 21px
  }
  .demo6:hover {
    background: url(../image/bottom/pc_nav_08_on50.png)no-repeat
  }
  .demo6:hover img {
    opacity: 0.5;
  }
  .dennwa img {
    margin-bottom: 80px
  }
  .yoyaku {
    background: url(../image/bottom/yoyaku_boton_off.png) no-repeat;
    padding: 50px 120px;
    margin-left: 80px;
  }

  .fun img {
    margin-top: 50px
  }
  .yoyaku:hover {
    background: url(../image/bottom/yoyaku_boton_on.png)no-repeat
  }
  .yoyaku:hover img {
    opacity: 0.5;
  }
  .btn a {
    background-color: #009cd3;
    color: #ffffff;
    font-size: 20px;
    width: 200px;
    display: block;
    text-align: center;
    line-height: 50px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #009cd3;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px
  }
  .btn a:hover {
    background-color: #ffffff;
    color: #009cd3;
    cursor: pointer;
  }
  a:hover {
    text-decoration: none
  }
 h4{margin: auto}

}

/*414px終わり*/

/*600〜774px*/

@media (min-width: 600px) and (max-width: 774px) {

  .demo1 {
    background: url(../image/bottom/pc_nav_01_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo1:hover {
    background: url(../image/bottom/pc_nav_01_on.png)no-repeat
  }
  .demo1:hover img {
    opacity: 0.5;
  }
  .demo2 {
    background: url(../image/bottom/pc_nav_02_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo2:hover {
    background: url(../image/bottom/pc_nav_02_on.png)no-repeat
  }
  .demo2:hover img {
    opacity: 0.5;
  }
  .demo3 {
    background: url(../image/bottom/pc_nav_04_off.png) no-repeat;
    padding: 50px 40px
  }
  .demo3:hover {
    background: url(../image/bottom/pc_nav_04_on.png)no-repeat
  }
  .demo3:hover img {
    opacity: 0.5;
  }
  .demo4 {
    background: url(../image/bottom/pc_nav_05_off.png) no-repeat;
    padding: 50px 40px
  }
  .demo4:hover {
    background: url(../image/bottom/pc_nav_05_on60.png)no-repeat
  }
  .demo4:hover img {
    opacity: 0.5;
  }
  .demo5 {
    background: url(../image/bottom/pc_nav_06_off.png) no-repeat;
    padding: 31px 40px
  }
  .demo5:hover {
    background: url(../image/bottom/pc_nav_06_on.png)no-repeat
  }
  .demo5:hover img {
    opacity: 0.5;
  }
  .demo6 {
    background: url(../image/bottom/pc_nav_08_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo6:hover {
    background: url(../image/bottom/pc_nav_08_on.png)no-repeat
  }
  .demo6:hover img {
    opacity: 0.5;
  }
  .dennwa img {
    margin-bottom: 80px
  }
  .yoyaku {
    background: url(../image/bottom/yoyaku_boton_off.png) no-repeat;
    padding: 50px 120px;
    margin-left: 33%
  }

  .fun img {
    margin-top: 50px
  }
  .yoyaku:hover {
    background: url(../image/bottom/yoyaku_boton_on.png)no-repeat
  }
  .yoyaku:hover img {
    opacity: 0.5;
  }
  .menu {
    height: 983px
  }

  #slideshow {
    position: relative;
    width: 655px;
    /* 画像の横幅に合わせて記述 */
    height: 980px;
    /* 画像の高さに合わせて記述 */
  }
  #slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    opacity: 0.0;
  }
  #slideshow img.active {
    z-index: 10;
    opacity: 1.0;
  }
  #slideshow img.last-active {
    z-index: 9;
  }
  /*古い規格のグリッドの設定*/
  body {
    display: -ms-grid;
    -ms-grid-columns: 110px 1fr
  }
  .box1 {
    -ms-grid-column: 1;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .image{
    -ms-grid-column: 2;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .sideimage {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    -ms-grid-row: 2;
    -ms-grid-row-span:1;
  }
  /*グリッド*/
  body {
    display: grid;
    grid-template-areas: "side1 side2"
                         "side3 side3";
    grid-template-columns: 110px 1fr
  }
  .box1 {
    grid-area: side1
  }
  .image{
    grid-area: side2
  }
  .sideimage {
    grid-area: side3
  }
  .sideimage {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }

  /*メイン画像の位置調整*/
  #slideshow {
    margin: 0;
    padding: 0
  }
  .btn a {
    background-color: #009cd3;
    color: #ffffff;
    font-size: 17px;
    width: 175px;
    display: block;
    text-align: center;
    line-height: 50px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #009cd3;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px
  }
  .btn a:hover {
    background-color: #ffffff;
    color: #009cd3;
    cursor: pointer;
  }
  a:hover {
    text-decoration: none
  }
  .kannrenn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex
  }
  .kannrenn p {
    margin-left: 5px
  }
   h4{margin: auto}
}

/*600〜774px終わり*/

/*950px*/

@media (min-width:775px) and (max-width: 950px) {
  .menu li {
    margin-bottom: 50px;
  }
  .demo1 {
    background: url(../image/bottom/pc_nav_01_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo1:hover {
    background: url(../image/bottom/pc_nav_01_on.png)no-repeat
  }
  .demo1:hover img {
    opacity: 0.5;
  }
  .demo2 {
    background: url(../image/bottom/pc_nav_02_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo2:hover {
    background: url(../image/bottom/pc_nav_02_on.png)no-repeat
  }
  .demo2:hover img {
    opacity: 0.5;
  }
  .demo3 {
    background: url(../image/bottom/pc_nav_04_off.png) no-repeat;
    padding: 50px 40px
  }
  .demo3:hover {
    background: url(../image/bottom/pc_nav_04_on.png)no-repeat
  }
  .demo3:hover img {
    opacity: 0.5;
  }
  .demo4 {
    background: url(../image/bottom/pc_nav_05_off.png) no-repeat;
    padding: 50px 40px
  }
  .demo4:hover {
    background: url(../image/bottom/pc_nav_05_on.png)no-repeat
  }
  .demo4:hover img {
    opacity: 0.5;
  }
  .demo5 {
    background: url(../image/bottom/pc_nav_06_off.png) no-repeat;
    padding: 31px 40px
  }
  .demo5:hover {
    background: url(../image/bottom/pc_nav_06_on.png)no-repeat
  }
  .demo5:hover img {
    opacity: 0.5;
  }
  .demo6 {
    background: url(../image/bottom/pc_nav_08_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo6:hover {
    background: url(../image/bottom/pc_nav_08_on.png)no-repeat
  }
  .demo6:hover img {
    opacity: 0.5;
  }
  .dennwa img {
    margin-bottom: 80px
  }
  .yoyaku {
    background: url(../image/bottom/yoyaku_boton_off.png) no-repeat;
    padding: 50px 120px;
    margin: 35%
  }

  .fun img {
    margin-top: 50px
  }
  .yoyaku:hover {
    background: url(../image/bottom/yoyaku_boton_on.png)no-repeat
  }
  .yoyaku:hover img {
    opacity: 0.5;
  }
  h4{text-align: center}
  .menu {
    height: 1260px
  }
  #slideshow {
    position: relative;
    width: 840px;
    /* 画像の横幅に合わせて記述 */
    height: 1260px;
    /* 画像の高さに合わせて記述 */
  }
  #slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    opacity: 0.0;
  }
  #slideshow img.active {
    z-index: 10;
    opacity: 1.0;
  }
  #slideshow img.last-active {
    z-index: 9;
  }
  /*古い規格のグリッドの設定*/
  body {
    display: -ms-grid;
    -ms-grid-columns: 110px 1fr
  }
  .box1 {
    -ms-grid-column: 1;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .image {
    -ms-grid-column: 2;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .sideimage {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    -ms-grid-row: 2;
    -ms-grid-row-span:1;
  }
  /*グリッド*/
  body {
    display: grid;
    grid-template-areas: "side1 side2"
                         "side3 side3";
    grid-template-columns: 110px 1fr
  }
  .box1 {
    grid-area: side1
  }
  .image{
    grid-area: side2
  }
  .sideimage {
    grid-area: side3
  }
  .sideimage {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }

  /*メイン画像の位置調整*/
  #slideshow {
    margin: 0;
    padding: 0
  }
  .btn a {
    background-color: #009cd3;
    color: #ffffff;
    font-size: 20px;
    width: 200px;
    display: block;
    text-align: center;
    line-height: 50px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #009cd3;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px
  }
  .btn a:hover {
    background-color: #ffffff;
    color: #009cd3;
    cursor: pointer;
  }
  a:hover {
    text-decoration: none
  }
  .kannrenn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .kannrenn p {
    margin-left: 13px
  }
   h4{margin: auto}
}

/*950px終わり*/

/*ipadpro1024*/

@media (min-width:951px) and (max-width: 1024px) {
  h4{text-align: center}
  .menu li {
    margin-bottom: 50px;
  }
  .demo1 {
    background: url(../image/bottom/pc_nav_01_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo1:hover {
    background: url(../image/bottom/pc_nav_01_on.png)no-repeat
  }
  .demo1:hover img {
    opacity: 0.5;
  }
  .demo2 {
    background: url(../image/bottom/pc_nav_02_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo2:hover {
    background: url(../image/bottom/pc_nav_02_on.png)no-repeat
  }
  .demo2:hover img {
    opacity: 0.5;
  }
  .demo3 {
    background: url(../image/bottom/pc_nav_04_off.png) no-repeat;
    padding: 50px 40px
  }
  .demo3:hover {
    background: url(../image/bottom/pc_nav_04_on.png)no-repeat
  }
  .demo3:hover img {
    opacity: 0.5;
  }
  .demo4 {
    background: url(../image/bottom/pc_nav_05_off.png) no-repeat;
    padding: 50px 40px
  }
  .demo4:hover {
    background: url(../image/bottom/pc_nav_05_on.png)no-repeat
  }
  .demo4:hover img {
    opacity: 0.5;
  }
  .demo5 {
    background: url(../image/bottom/pc_nav_06_off.png) no-repeat;
    padding: 31px 40px
  }
  .demo5:hover {
    background: url(../image/bottom/pc_nav_06_on.png)no-repeat
  }
  .demo5:hover img {
    opacity: 0.5;
  }
  .demo6 {
    background: url(../image/bottom/pc_nav_08_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo6:hover {
    background: url(../image/bottom/pc_nav_08_on.png)no-repeat
  }
  .demo6:hover img {
    opacity: 0.5;
  }
  .dennwa img {
    margin-bottom: 80px
  }
  .yoyaku {
    background: url(../image/bottom/yoyaku_boton_off.png) no-repeat;
    padding: 50px 120px;
    margin-left: 35%
  }
  .fun img {
    margin-top: 50px
  }
  .yoyaku:hover {
    background: url(../image/bottom/yoyaku_boton_on.png)no-repeat
  }
  .yoyaku:hover img {
    opacity: 0.5;
  }

  .menu {
    height: 1371px
  }
  #slideshow {
    position: relative;
    width: 914px;
    /* 画像の横幅に合わせて記述 */
    height: 1371px;
    /* 画像の高さに合わせて記述 */
  }
  #slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    opacity: 0.0;
  }
  #slideshow img.active {
    z-index: 10;
    opacity: 1.0;
  }
  #slideshow img.last-active {
    z-index: 9;
  }
  /*古い規格のグリッドの設定*/
  body {
    display: -ms-grid;
    -ms-grid-columns: 110px 1fr;
  }
  .box1 {
    -ms-grid-column: 1;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .image{
    -ms-grid-column: 2;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .sideimage {
    -ms-grid-column: 1;
    -ms-grid-column-span: 2;
    -ms-grid-row: 2;
    -ms-grid-row-span:1;
  }
  /*グリッド*/
  body {
    display: grid;
    grid-template-areas: "side1 side2"
                         "side3 side3";
    grid-template-columns: 110px 1fr
  }
  .box1 {
    grid-area: side1
  }
  .image {
    grid-area: side2
  }
  .sideimage {
    grid-area: side3
  }
  .sideimage {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }

  /*メイン画像の位置調整*/
  #slideshow {
    margin: 0;
    padding: 0
  }
  .btn a {
    background-color: #009cd3;
    color: #ffffff;
    font-size: 18px;
    width: 200px;
    display: block;
    text-align: center;
    line-height: 50px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #009cd3;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px
  }
  .btn a:hover {
    background-color: #ffffff;
    color: #009cd3;
    cursor: pointer;
  }
  a:hover {
    text-decoration: none
  }
  .kannrenn {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
  }
  .kannrenn p {
    margin-left: 20px;
    margin-right: 20px
  }
  .dennwa img {
    width: 1000px;
  }
   h4{margin: auto}
}

/*ipadpro1024終わり*/

/*1025px以上*/

@media (min-width:1025px) {

  .demo1 {
    background: url(../image/bottom/pc_nav_01_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo1:hover {
    background: url(../image/bottom/pc_nav_01_on.png)no-repeat
  }
  .demo1:hover img {
    opacity: 0.5;
  }
  .demo2 {
    background: url(../image/bottom/pc_nav_02_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo2:hover {
    background: url(../image/bottom/pc_nav_02_on.png)no-repeat
  }
  .demo2:hover img {
    opacity: 0.5;
  }
  .demo3 {
    background: url(../image/bottom/pc_nav_04_off.png) no-repeat;
    padding: 50px 40px
  }
  .demo3:hover {
    background: url(../image/bottom/pc_nav_04_on.png)no-repeat
  }
  .demo3:hover img {
    opacity: 0.5;
  }
  .demo4 {
    background: url(../image/bottom/pc_nav_05_off.png) no-repeat;
    padding: 50px 40px
  }
  .demo4:hover {
    background: url(../image/bottom/pc_nav_05_on.png)no-repeat
  }
  .demo4:hover img {
    opacity: 0.5;
  }
  .demo5 {
    background: url(../image/bottom/pc_nav_06_off.png) no-repeat;
    padding: 31px 40px
  }
  .demo5:hover {
    background: url(../image/bottom/pc_nav_06_on.png)no-repeat
  }
  .demo5:hover img {
    opacity: 0.5;
  }
  .demo6 {
    background: url(../image/bottom/pc_nav_08_off.png) no-repeat;
    padding: 40px 40px
  }
  .demo6:hover {
    background: url(../image/bottom/pc_nav_08_on.png)no-repeat
  }
  .demo6:hover img {
    opacity: 0.5;
  }
  .dennwa img {
    margin-bottom: 80px
  }
  .yoyaku {
    background: url(../image/bottom/yoyaku_boton_off.png) no-repeat;
    padding: 50px 120px;
  }
  .oya {
    text-align: center}
  .fun img {
    margin-top: 50px
  }
  .yoyaku:hover {
    background: url(../image/bottom/yoyaku_boton_on.png)no-repeat
  }
  .yoyaku:hover img {
    opacity: 0.5;
  }
  .menu {
    height: 900px
  }
  #slideshow {
    position: relative;
    width: 600px;
    /* 画像の横幅に合わせて記述 */
    height: 1200px;
    /* 画像の高さに合わせて記述 */
  }
  #slideshow img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 8;
    opacity: 0.0;
  }
  #slideshow img.active {
    z-index: 10;
    opacity: 1.0;
  }
  #slideshow img.last-active {
    z-index: 9;
  }
  /*古い規格のグリッドの設定*/
  body {
    display: -ms-grid;
    -ms-grid-columns:  100px 1fr 1fr
  }
  .box1 {
    -ms-grid-column: 1;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .image{
    -ms-grid-column: 2;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }
  .sideimage {
    -ms-grid-column: 3;
    -ms-grid-column-span:1;
    -ms-grid-row:1;
    -ms-grid-row-span:1;
  }

  /*グリッド*/
  body {
    display: grid;
    grid-template-areas: "side1 side2 side3";
    grid-template-columns: 100px 1fr 1fr
  }
  .box1 {
    grid-area: side1
  }
  .image{
    grid-area: side2
  }
  .sideimage {
    grid-area: side3
  }
  /*メイン画像の位置調整*/
  #slideshow {
    margin: 0;
    padding: 0
  }
  /*スクロール制御*/
  .sideimage {
    overflow-y;
    scroll;
    overflow-x: hidden;
    height: calc(120vh - 100px);
  }
  .sideimage {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
  }

  .btn a {
    background-color: #009cd3;
    color: #ffffff;
    font-size: 19px;
    width: 200px;
    display: block;
    text-align: center;
    line-height: 50px;
    -webkit-border-radius: 5px;
    border-radius: 5px;
    border: 3px solid #009cd3;
    margin-left: auto;
    margin-right: auto;
    margin-top: 10px
  }
  .btn a:hover {
    background-color: #ffffff;
    color: #009cd3;
    cursor: pointer;
  }
  a:hover {
    text-decoration: none
  }
  h4{margin: auto}
}
