﻿/*--------リンク・フォント--------*/
.linkStyle{color: #333333; text-decoration: underline;}


/*--------全体--------*/
body{color:#313131;}
.more .txt_color_nomal {
    color: #94bfd8;
}
#main_img .arrowWrap {
    color: #313131;
    bottom: 100px;
}
/*
#main_img #video {
    height: auto;
    background-image: url(./Dup/img/main_img.jpg);
    background-repeat: no-repeat;
    background-size: cover;
}

#main_img::before {
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/main_copy.png) no-repeat;
    background-size: contain;
    z-index: 0;
    width: 40em;
    height: 25em;
    left: 29px;
    top: 36px;
}
*/

#intro h3{
    font-size: 1.5em;
       display: inline-block;
    position: relative;
}
#intro h3::before{
        content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_02.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 9em;
    height: 4em;
    left: -31px;
    bottom: -43px;
}
#contents1 h4{
    position: relative;
}
#contents1 h4::before{
    content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_04.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 5em;
    height: 10em;
    left: -31px;
    top: -33px;
}
#contents2 h3{
    position: relative;
}
#contents2 h3::before{
        content: "";
    position: absolute;
    display: inline-block;
    background: url(./Dup/img/item_03.png) no-repeat;
    background-size: contain;
    z-index: -1;
    width: 5em;
    height: 4em;
    left: -31px;
    top: -31px;
}
#top_cms .more a:hover {
    color: #fff;
    background-color: #94bfd8;
}


/*--------下層--------*/
/*
#cms_3-a .cate .cate_box:first-of-type {
    border-top: 1px dotted #94bfd8;
}
#cms_3-a .cate .cate_box:last-of-type {
    border-bottom: 1px dotted #94bfd8;
}
*/
#cms_3-d .cate_title {
      position: relative;
    padding: 15px 0px;
    text-align: center;
}

#cms_3-d .cate_title:before {
  position: absolute;
    bottom: 0px;
    left: calc(50% - 30px);
    width: 60px;
    height: 3px;
    content: '';
    border-radius: 3px;
    background: #aacadd;
}
#cms_5-c .cate_title{
    display: flex;
    justify-content: flex-start;
    align-items: center;
}
#cms_5-c .cate_title:before{
   content: '';
    display: inline-block;
    align-items: center;
    margin-right: 20px;
    width: 40px;
    height: 3px;
    background-color: #aacadd;
}
#page08 .tel_box a{padding:3px 10px 10px 10px;}
#page08 .tel_box{
    position: relative;
    overflow: hidden;
    padding: 20px 20px 15px 20px;
}
#page08 .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%;
}
#page08 #contact_line a {
    background: url(./Dup/img/ban_line.jpg) no-repeat;
    background-size: contain;
    background-position: 50% 50%;
}
@media screen and (max-width: 1200px){
    #page08 .tel_box p{
        display: block;
        padding-right: 0px;
        margin-right: 0px;
        border-right: none;
        
    }
}
@media screen and (max-width: 667px){
#page08 .tel_box a{
    font-size: 5.3vw;
    letter-spacing: 2px;
    line-height: 1.2;
}
}

@media screen and (max-width: 1135px){
#page10 > div > div > div { width: 100%;}
#page10 .box{    justify-content: space-between;}
}

/*--------タブレット--------*/
@media screen and (max-width: 768px){
    header h1 {
    max-width: 200px;
}
#main_img #video {
    height: auto;
}
#main_img::before{
    width: 24em;
    height: 15em;
    left: 0px;
    top: 0px;
}
}

/*--------スマートフォン--------*/
@media screen and (max-width: 667px){
    header h1 {
    max-width: 140px;
    margin-bottom: 0px;
}
#main_img::before {
    width: 10em;
    height: 7em;
}
#intro h3::before {
    left: -15px;
    bottom: -35px;
}
    #intro h2 {
    letter-spacing: 0.5px;
    line-height: 1.3;
    font-size: 6vw;
    }
    #intro h3 {
    font-size: 5.5vw;
    }
    #contents1 h4::before {
    width: 5em;
    height: 5.5em;
    left: -31px;
    top: -22px;
}
#contents2 h3::before {
    left: -16px;
    top: -17px;
}
}


/*--------------------------------------------
IE
--------------------------------------------*/
@media all and (-ms-high-contrast:none){
#page08 .tel_box a{padding:3px 10px 10px 10px;}

}