﻿/*--------リンク・フォント--------*/

@font-face {
    font-family: 'hiragino_min';
    font-style: normal;
    font-weight: 400;
    src: url('../Dup/img/hiragino_min_r.woff') format('woff'),
        url('../Dup/img/hiragino_min_r.eot')  format('eot');
    font-display: swap;
}
@font-face {
    font-family: 'hiragino_min';
    font-style: normal;
    font-weight: 700;
    src: url('../Dup/img/hiragino_min_b.woff') format('woff'),
        url('../Dup/img/hiragino_min_b.eot')  format('eot');
    font-display: swap;
}
body{font-family: "hiragino_min","游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";}
.font_serif {
    font-family: "hiragino_min","游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}

.linkStyle{color: #333333; text-decoration: underline;}



/*--------animation--------*/
.flow {
  position: absolute;
  padding: 0;
  margin: 0;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
   z-index: -1;
}

.flow li{
  position: absolute;
  list-style: none;
  top: -50px;
  background: rgba(255, 219, 237, .25);
  border-radius: 0% 70%;  
  animation: fall 2s linear infinite, sway 1s ease-in-out infinite alternate;
}


@keyframes fall {
  to {
    top: 120%;
  }
}

@keyframes sway1 {
  from {
    transform: translate3d(0,0,0) rotate(0deg);
    
  }
  to {
    transform: translate3d(200px,0,0) rotate(-45deg);
  }
}

@keyframes sway2 {
  from {
    transform: translate3d(200px,0,0) rotate(-45deg);
  }
  to {
    transform: translate3d(0,0,0) rotate(0deg);
  }
}

.flow li:nth-child(1){
  left: 0%;
  width: 24px;
  height: 15px;
  animation: fall 6s linear infinite,
             sway1 3s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}

.flow li:nth-child(2){
  left: 5%;
  width: 13px;
  height: 9px;
  animation: fall 15s linear infinite,
             sway1 2s ease-in-out infinite alternate;
  animation-delay: -2s;
}

.flow li:nth-child(3){
  left: 15%;
  width: 16px;
  height: 10px;
  animation: fall 6s linear infinite,
             sway1 3.5s ease-in-out infinite alternate;
  animation-delay: -3s;
}

.flow li:nth-child(4){
  left: 30%;
  width: 16px;
  height: 10px;
  animation: fall 8s linear infinite,
             sway2 4s ease-in-out infinite alternate;
  animation-delay: -1s;
}
.flow li:nth-child(5){
  left: 40%;
  width: 16px;
  height: 10px;
  animation: fall 10s linear infinite,
             sway1 4s ease-in-out infinite alternate;
  animation-delay: 0s;
}
.flow li:nth-child(6){
  left: 55%;
  width: 24px;
  height: 15px;
  animation: fall 11s linear infinite,
             sway2 3s ease-in-out infinite alternate;
  animation-delay: 0.3s;
}
.flow li:nth-child(7){
  left: 65%;
  width: 16px;
  height: 10px;
  animation: fall 7s linear infinite,
             sway2 3.5s ease-in-out infinite alternate;
  animation-delay: 0.5s;
}
.flow li:nth-child(8){
  left: 50%;
  width: 13px;
  height: 9px;
  animation: fall 7s linear infinite,
             sway1 3s ease-in-out infinite alternate;
  animation-delay: -2s;
}
.flow li:nth-child(9){
  left: 80%;
  width: 16px;
  height: 10px;
  animation: fall 10s linear infinite,
             sway2 4s ease-in-out infinite alternate;
  animation-delay: -3s;
}

#main_nav{
    overflow: hidden;
}


/*--------全体--------*/
#main_img{
    position:relative;
}
#main_img .video{    display: block;}
#main_img::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/catch.png) no-repeat;
    background-size: contain;
    z-index: 0;
    width: 31em;
    height: 29em;
    left: 52%;
    bottom: -5%;
    transform: translateX(-50%);
}

#intro, #top_cms .top_cms_box .top_cms_title {
    background-image: url(../img/design_bg1.png),url(./Dup/img/back.png);
    background-position: 50% 0%,75% 50%;
    background-size: 10% auto,80%;
}

#intro h2{
    position:relative;
    z-index:+1;
}
#intro h2::before{
     content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_03.png) no-repeat;
    background-size: contain;
    z-index: -1;
    opacity: 0.8;
    width: 3em;
    height: 2.8em;
    right: -24px;
    bottom: -11px;
}
#contents1{
    background: url(./Dup/img/back2.jpg) no-repeat;
    background-size: cover;
}
#contents1 h2 span{
    position:relative;
    z-index:+1;
}
#contents1 h2 span::before{
        content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_01.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 3em;
    height: 2.8em;
    left: -40px;
    bottom: -40px;
}
#contents2 p span{
    position:relative;
    z-index:+1;
}
#contents2 p span::before{
         content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_02.png) no-repeat;
    background-size: contain;
    z-index: -1;
    opacity: 0.8;
    width: 12em;
    height: 11em;
    left: -40px;
    top: -98px;
}
#contents3::after {
    background-image: url(./Dup/img/item_05.png);
    background-repeat: repeat-x;
    background-position: 0% 102%;
    background-size: 21%;
}

#main_nav .nav li a {
    text-orientation: upright;
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}


#top_cms .cms_6-c .cate_box{
    width:calc(85% / 2 - 30px)!important;
    
}
.cms_6-c .cate_box::before,.cms_6-c .cate_box::after {
background: url(./Dup/img/back2.jpg) no-repeat;
background-size: cover;
}
#top_cms .top_cms_title h3{
    text-orientation: upright;
    letter-spacing: 0.5px;
    font-size: 1.4em;
}
#footer.bg_color2 {
    background-color: rgba(255, 212, 221, .5);
}


/*--------下層--------*/
#page_title{
     background-image: url(../img/design_bg1.png),url(./Dup/img/back.png);
    background-position: 50% 0%,75% 50%;
    background-size: 10% auto,80%;
}
#page_title h2 span{
    text-orientation: upright;
    font-size: 0.7em;
    letter-spacing: 0.5px;
}
.add_fix{
    text-orientation: sideways-right!important;
    writing-mode: vertical-lr;
    font-size: 1em!important;
    transform: scale(-1, 1);
}
#contents_wrap{
    position: relative;
}
#contents_wrap:before{
        position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
    width: 100vw;
    height: 100vh;
    background: url(./Dup/img/back2.jpg) no-repeat;
    -webkit-background-size: cover;
    background-size: cover;
    background-position: 100% 0%;
    content: "";
}
.cate_title{
  display: flex;
  align-items: center;
  white-space: nowrap; 
}
.cate_title::before,
.cate_title::after {
  content: '';
  display: block;
  background: #f3a9bd;
  width: 100%;
  height: 2px;
}
.cate_title::before {
  margin-right: 20px;
}
.cate_title::after {
  margin-left: 20px;
}

#cms_6-c .cate_box,.cms_6-c .cate_box {
  position: relative;
  border: solid 1px #c3c3c3;
  background-color: rgba(255,255,255,1);
}
#cms_6-c .cate_box::before,.cms_6-c .cate_box::before,
#cms_6-c .cate_box::after,.cms_6-c .cate_box::after {
  position: absolute;
  content: "";
  display: block;
  background-color: rgba(255,255,255,1);
}
#cms_6-c .cate_box::before,.cms_6-c .cate_box::before {
  top: -1px;
  bottom: -1px;
  left: 40px;
  right: 40px;
}
#cms_6-c .cate_box::after,.cms_6-c .cate_box::after {
  top: 40px;
  bottom: 40px;
  left: -1px;
  right: -1px;
}
#cms_6-c .cate_box2,.cms_6-c .cate_box2 {
  position: relative;
  z-index: 1;
}
#page8 .tel_box{
    position: relative;
    overflow: hidden;
    padding: 20px 20px 15px 20px;
}
#page8 .tel_box > a:before{
    content:"";
    position: absolute;
    width:100vw;
    height:100vh;
    -moz-transform: translateX(-50%) translateY(-50%);
    -webkit-transform: translateX(-50%) translateY(-50%);
    transform: translateX(-50%) translateY(-50%);
    left:50%;
    top:50%;
}
@media screen and (max-width: 1200px){
    #page8 .tel_box p{
        display: block;
        padding-right: 0px;
        margin-right: 0px;
        border-right: none;
        
    }
}

@media screen and (max-width: 667px){  
#page8 .tel_box a{
    font-size: 5.3vw;
    letter-spacing: 2px;    
}
}
#page10 ul li a{
    text-orientation: upright;
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
    letter-spacing: 0.5px;
}

/*--------タブレット--------*/
@media screen and (max-width: 768px){
    #header h1.active {
    background-color: rgba(208, 118, 143, .75);
    }
    #header h1.active img {
    max-width: 130px;
    }
    #header h1 span {
    padding: 10px;
    }
 #main_img{height: auto;}
    #main_img::before {
    width: 18em;
    height: 14em;
}
#contents3::after {
    background-size: 35%;
}
    #top_cms .cms_6-c .cate_box {
    width: 85%!important;
    margin: 0 auto 40px;
}
#page_title {
    background-image: url(../img/design_bg1.png),url(./Dup/img/back.png);
    background-position: 50% 0%,100% 0%;
    background-size: 13% auto,115%;
}
#page_title,#page_title::after {
    min-height: 30vh;
}
#page_title h2 span {
    writing-mode: horizontal-tb;
    font-size: 0.8em;
    letter-spacing: 5px;
}
}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
 
#main_nav .nav{margin-bottom:0;}
#main_nav { padding: 0;}
#main_nav .nav li:last-of-type{margin-bottom:0px;}   

#intro, #top_cms .top_cms_box .top_cms_title {
    background-size: 20% auto,155%;
}
#header h1 span {
    padding: 5px;
    }
#header h1.active img {
    max-width: 85px;
    }
    #main_img{
    padding-top: 83px;
    background-color: #d0768f;
}
#main_img::before {
    width: 8em;
    height: 7em;
}

#contents1 {
    background-size: 300%;
    background-position: 63% 0%;
}
#contents3::after {
    background-size: 77%;
    background-position: -19% 100.5%;
}
#top_cms .top_cms_title h3 {
    font-size: 1em;
}
/*
#cms_1-e .box_item .box_item figure {
    width: calc(100% / 2 - 10px);
}
*/
#cms_1-e .date {
    padding: 5px 20px 5px 20px;
}
#cms_1-e .box_title1 {
    padding: 70px 10px 10px 15px;
}
}


/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast: none){

body{font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";}
.font_serif {font-family:"游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";}
#footer_menu ul{padding:10px 10px 7px 10px;}
#main_nav .flow{top: 0; left: 0;}
}
