﻿/*html, body{overflow: auto}
.pp-section{position: static}*/


h2, h3, h4, #cms_5-c .box_txt1::before, .cms_5-c .box_txt1::before {
font-family: 'Kiwi Maru', serif !important;
}
h2, h3 {
font-weight: bold;
}
.con_no {
font-family: 'Lobster', cursive !important;
}
/* color */
body,.txt_color_nomal{color: #1a1a1a;}
.txt_white{color: white;}
.txt_red{color: red;}
.txt_color1{color: #2252C1} /* メインカラー */
.txt_color2{color: #D7F5F7} /* サブカラー */
.txt_color3{color: #C8AE7B} /* アクセントカラー1 */
.txt_color4{color: #cccccc} /* アクセントカラー2 */

/* background-color */
.bg_white{background-color: white} /* 白背景 */
.bg_black{background-color: black} /* 黒背景 */
.bg_color1{background-color: #2252C1} /* メインカラー */
.bg_color2{background-color: #D7F5F7} /* サブカラー */
.bg_color3{background-color: #C8AE7B} /* アクセントカラー1 */
.bg_color4{background-color: #cccccc} /* アクセントカラー2 */
.bg_color_clear{background-color: transparent!important}


/* border-color ※!important */
.border_color1{border-color: #2252C1}
.border_color2{border-color: #D7F5F7}
.border_color3{border-color: #C8AE7B}
.border_color4{border-color: #c8ae7b}


/* hover ---------------------------------------------------------------------------------------------*/
/* color */
.hvr_txt_color_nomal:hover{color: #1a1a1a;}
.hvr_txt_white:hover{color: white;}
.hvr_txt_red:hover{color: red;}
.hvr_txt_color1:hover{color: #2252C1} /* メインカラー */
.hvr_txt_color2:hover{color: #D7F5F7} /* サブカラー */
.hvr_txt_color3:hover{color: #C8AE7B} /* アクセントカラー1 */
.hvr_txt_color4:hover{color: #cccccc} /* アクセントカラー2 */

/* background-color */
.hvr_bg_white:hover{background-color: white} /* 白背景 */
.hvr_bg_black:hover{background-color: black} /* 黒背景 */
.hvr_bg_color1:hover{background-color: #2252C1} /* メインカラー */
.hvr_bg_color2:hover{background-color: #D7F5F7} /* サブカラー */
.hvr_bg_color3:hover{background-color: #C8AE7B} /* アクセントカラー1 */
.hvr_bg_color4:hover{background-color: #cccccc} /* アクセントカラー2 */
.hvr_bg_color_clear:hover{background-color: transparent!important}


/* border-color ※!important */
.hvr_border_color1:hover{border-color: #2252C1}
.hvr_border_color2:hover{border-color: #D7F5F7}
.hvr_border_color3:hover{border-color: #C8AE7B}
.hvr_border_color4:hover{border-color: #cccccc}

#video{overflow: hidden;}
.linkStyle {
  color: #C8AE7B;
}
.font_bar {
    font-size: -webkit-calc(1rem + 10px);
    font-size: calc(1rem + 10px);
    font-weight: bold;
}

#contents2 .con_box2 .con_title, #contents2 .con_box2 .con_txt {
  color: #1a1a1a;
}
#page08 .txt_color2 {
    color: #2252c1;
}
.cms_title .bg_color4 {
    background-color: #c8ae7b;
}
.intro_wrap {
  position: relative;
  padding: 1rem 2rem;
  border: 4px solid #C8AE7B;
}

.intro_wrap:before {
    position: absolute;
    top: 4px;
    left: 4px;
    width: calc(100% - 12px);
    height: calc(100% - 12px);
    content: '';
    border: 2px solid #C8AE7B;
}
.con_wrap .con_box1 {
    color: #1a1a1a;
}
.intro_wrap {
  background: linear-gradient(-45deg, rgba(255, 255, 255, 1), rgba(251, 251, 251, 1), rgba(240, 250, 252, 1), rgba(223, 254, 255, 1));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}
#contents .con_bg, #contents2 .con_bg {
  /*position: relative;
    background-color: #ffffff;*/
  padding: 1rem 2rem;
  border: 6px solid #C8AE7B;
  background: linear-gradient(-45deg, rgba(255, 255, 255, 1), rgba(251, 251, 251, 1), rgba(240, 250, 252, 1), rgba(223, 254, 255, 1));
  background-size: 400% 400%;
  animation: gradient 15s ease infinite;
}
@keyframes gradient {
  0% {
    background-position: 0% 50%;
  }
  50% {
    background-position: 100% 50%;
  }
  100% {
    background-position: 0% 50%;
  }
}

#contents .con_bg:before, #contents2 .con_bg:before {
    position: absolute;
    top: 20px;
    left: 20px;
    width: calc(100% - 50px);
    height: calc(100% - 50px);
    content: '';
    border: 2px solid #C8AE7B;
}
#contents .con_bg:after, #contents2 .con_bg:after {
    position: absolute;
    content: "";
    background-image: url(./Dup/img/face.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-position: bottom right;
    bottom: 28px;
    right: 28px;
    width: 60%;
    height: 40%;
}
.custom_img {
    bottom: 50px;
    left: 50px;
    width: 30%;
}
#page_top {
    font-size: -webkit-calc(1rem + 2px);
    font-size: calc(1rem + 2px);
    font-weight: bold;
}
/*.cate_list {
    justify-content: center;
    align-items: center;
}*/
#page03 .cate_title, #page04 .cate_title, #page05 .cate_title {
    text-align: center;
	position: relative;
}
#page03 .cate_title:before, #page04 .cate_title:before, #page05 .cate_title:before {
    position: absolute;
    content: "";
    background-image: url(./Dup/img/monkye.png);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    left: 50%;
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    top: -76px;
    width: 70px;
    height: 70px;
}
#page03 .cate_title, #page05 .cate_title {
    background-color: #ffffff;
    color: #1a1a1a;
    border-color: #ffffff;
}
#page03 .cate_img1, #page05 .cate_img1 {
    margin: 0 auto;
}
.pager {
    font-size: -webkit-calc(1rem + 2px);
    font-size: calc(1rem + 2px);
    font-weight: normal;
}
/*************introあにめ***************************/
.town {
    top: 200px;
    z-index: -1;
}
.loop_wrap {
    display: flex;
    width: 100vw;
    height: 165px;
    overflow: hidden;
}
.loop_wrap img {
  width: auto;
  height: 100%;
}
@keyframes loop {
  0% {
    transform: translateX(100%);
  }
  to {
    transform: translateX(-100%);
  }
}

@keyframes loop2 {
  0% {
    transform: translateX(0);
  }
  to {
    transform: translateX(-200%);
  }
}
.loop_wrap img:first-child {
  animation: loop 50s -25s linear infinite;
}

.loop_wrap img:last-child {
  animation: loop2 50s linear infinite;
}
/**************************************************/
.car {
    width: 100px;
    top: -16%;
}





.con_no {
    font-size: 50px;
    color: #C8AE7B;
}
.custom_title {
    top: 0px;
    left: 0px;
}
#contents .con_box1::before {
    width: 40px;
    height: 1px;
    left: 0;
    bottom: 0;
    background-color: #c8ae7b;
}

.bottom2 {
    background: #c8ae7b;
    color: #fff;
    border: none;
    position: relative;
    height: 60px;
    font-size: 1.6em;
    padding: 1em 2em 0;
    cursor: pointer;
    transition: 800ms ease all;
    outline: none;
}
.bottom2:hover{
  background:#fff;
  color:#c8ae7b;
}
.bottom2:before,.bottom2:after{
  content:'';
  position:absolute;
  top:0;
  right:0;
  height:2px;
  width:0;
  background: #c8ae7b;
  transition:400ms ease all;
}
.bottom2:after{
  right:inherit;
  top:inherit;
  left:0;
  bottom:0;
}
.bottom2:hover:before,.bottom2:hover:after{
  width:100%;
  transition:800ms ease all;
}
.buttom {
    text-align: center;
    margin: 50px auto;
    width: 25%!important;
}
@media screen and (max-width: 1281px){
.custom_img {
    position: absolute;
    bottom: 0%;
    width: 65%;
}
}

#contents2 .con_wrap {
transform: translateX(20px)
}
#contents2.trans .con_wrap {
 opacity: 1;
transform: translateX(0px)
}
#contents2 .con_img {
    top: 100px;
    bottom: 100px;
    left: 0;
}


.copyright, .cate_list_title {
font-size: calc(1rem + 2px);
    font-weight: normal;
}
#page05 .copyright, .cate_list_title {
    text-align: left;
}
#page10 .grid_6 .font_bar {
    font-size: -webkit-calc(1rem + 2px);
    font-size: calc(1rem + 2px);
    font-weight: normal;
}

/************タブレット***********************/
@media screen and (max-width: 768px){
.con_box3 {
    padding: 0 50px;
    width: 100%;
    margin-top: -110px;
    margin-bottom: 100px;
}
#contents2 .con_wrap {
transform: translateX(0px)
}
#contents2 .con_img {
    top: 0px;
    bottom: 100px;
    left: 0;
}
.town {
    top: -287px;
    z-index: 0;
}
.car {
    width: 100px;
    top: -13%;
}
/*#video .video {
    height: 50% !important;
    top: 25%;
}*/
.custom_title {
    top: -38px;
    left: 0%;
    width: 70%;
}
.custom_img {
    position: absolute;
    bottom: 53%;
    width: 50%;
    left: 0;
}
#intro .intro_left {
    margin-top: -500px;
}
#contents .d_flex, #contents2 .d_flex {
    width: 95%;
    margin: 10px auto;
}
#contents, #contents2 {
  padding-top: 1px;
}
#contents2 .d_flex {
    height: auto !important;
}
.bottom2 {
    width: 100%;
    height: 49px;
    font-size: 1.2em;
}
#contents .con_bg, #contents2 .con_bg {
  border: 4px solid #C8AE7B;
}
#contents .con_bg:after {
    bottom: 28px;
    right: 28px;
    width: 31%;
    height: 30%;
}
#contents2 .con_bg:after {
    bottom: 28px;
    right: 28px;
    width: 60%;
    height: 30%;
}
#contents2 .con_wrap {
    padding-bottom: 200px;
}
#video {
    overflow: hidden;
    height: 60vw !important;
}
}

/************スマホ***********************/
@media screen and (max-width: 667px){
.con_box3 {
    padding: 0px 20px;
    width: 100%;
    margin-top: -110px;
    margin-bottom: 100px;
}
#contents .con_bg:before, #contents2 .con_bg:before {
    position: absolute;
    top: 10px;
    left: 10px;
    width: calc(100% - 24px);
    height: calc(100% - 24px);
    content: '';
    border: 2px solid #C8AE7B;
}

#contents .con_wrap {
    right: 0;
    opacity: 1;
    padding: 50px 35px;
}
.con_box3 {
    padding: 50px 35px;
    width: 100%;
    margin-top: -110px;
    margin-bottom: 100px;
}
#contents2 .con_wrap {
    right: 0;
    opacity: 1;
    padding: 50px 35px 150px;
}
.town {
    top: -236px;
    z-index: 0;
}
.loop_wrap {
    display: flex;
    width: 100vw;
    height: 130px;
    overflow: hidden;
}
.car {
    width: 80px;
    top: -6.3%;
}

.custom_title {
    top: -38px;
    left: 0%;
    width: 90%;
}
.custom_img {
    position: absolute;
    bottom: 63%;
    width: 55%;
    left: 0;
}
.custom_title {
    top: -43px;

    right: 9%;
    width: 90%;
}
#intro .intro_left {
    margin-top: -430px;
}
.bottom2 {
    width: 150px;
    left: -36px;
    height: 34px;
    font-size: 12px;
    padding: 1em 0em 0;
}

#page05 .cate_list_title {
    text-align: center;
}
#page05 .cate_list .grid_12_sp {
    text-align: left;
}
#page_title .title_wrap p {
    font-size: 28px;
}
#contents .con_bg:after {
    bottom: 12px;
    right: 12px;
    width: 60%;
    height: 35%;
}
#contents2 .con_bg:after {
    bottom: 12px;
    right: 12px;
    width: 60%;
    height: 30%;
}

}

@media all and (-ms-high-contrast: none) {
.car {
    width: 100px;
    top: -12.5% !important;
}
#contents2 .con_bg {
  top: 0px !important;
  right: 0px !important;
}

#cms_2-b .cate .cate_title {
    padding-top: 10px !important;
}

#cms_6-a .cate .cate_title {
    padding-top: 10px !important;
}

}
