﻿.tel a {
    white-space: nowrap;
    color: #17548a;
}
#menu_wrap{
        background-color: #fffee8;
}
#intro_box h2 img {
    max-width: 500px;
}
#main_img #slide {
    width: 75%;
    min-height: 0;
    background: url(Dup/img/main_img.jpg);
    background-size: cover;
        background-position: 50% 80%;
}

#page07 .box_wrap,#page08 .tel_contact{
    background:none;
}
#page09 .box_wrap div.bg_color4 {
    background: none;
}
#page09 .top_txt {
    border-radius: 300px;
    margin-bottom: 10px;
}
a.linkStyle {
    color: #17548a;
    text-decoration: underline;
}

#main_wrap {
    margin-bottom: 200px;
}
.border_color1 {
    border-color: #17548a;
}
.hvr_txt_color1:hover {
    color: #91220e;
}
footer {
    background: url(Dup/img/bg4.png);
}
.bg_color1 {
    background-color: #91220e;
}
.txt_color1 {
    color: #91220e;
}
div#wrap,.bg_white{
    background-image: url(Dup/img/bg.jpg);
}
#main_img{
    overflow: visible;
}
   #main_img #slide {
    width: 75%;
    min-height:0;
}
#main_b {
    position: absolute;
    z-index: 5;
    left: 7%;
    top: 10%;
    max-width: 800px;
    width: 50vw;
}
#main_b p {
    font-weight: bold;
    letter-spacing: 2px;
    margin-top: 20px;
    padding: 10px;
    font-size: 20px;
}
video.video{
    border-top-left-radius: 50px;
    border-bottom-left-radius: 50px;
}

span.img1 {
    position: absolute;
    z-index: 2;
    bottom: -12%;
    left: 10%;
    width: 38vw;
    max-width: 580px;
}
#contents .contents_box .contents_txt {
    background: none !important;
}
section#intro {
    margin: 150px auto;
    padding: 0 10%;
    background: url(Dup/img/bg2.jpg);
    position: relative;
    z-index: 0;
}
#intro_box {
    max-width: 980px;
    margin: auto;
}
div#intro_box h2 {
    text-align:center;
    margin: auto;
}
section#intro:before {
    z-index: -1;
    width: 100%;
    height: 730px;
    content: "";
    background: url(Dup/img/bg2_b.png) no-repeat;
    position: absolute;
    left: 0;
    top: -730px;
    background-size: contain;
    background-position: bottom center;
}
section#intro:after {
    z-index: -1;
    width: 100%;
    height: 500px;
    content: "";
    background: url(Dup/img/bg2_a.png) no-repeat;
    position: absolute;
    left: 0;
    bottom: -500px;
    background-size: contain;
    background-position: top left;
}
section#contents{
    position:relative;
}
#intro_box{
}
#intro_box:before {
    width: 30vw;
    height: 250px;
    content: "";
    background: url(Dup/img/img2.png) no-repeat;
    position: absolute;
    right: -2%;
    bottom: -21%;
    background-size: contain;
}
body{
    overflow:hidden;
}
#intro_box a {
    display: inline-block;
    background: #91220e;
    padding: 8px 50px;
    color: white;
    margin-top: 50px;
    transition: all 0.3s;
}
#intro_box a:hover{
    opacity:0.8;
}
.more_box{
    text-align:center;
}
#menu_bt{
    background:#17548a
}
body {
    font-family: "游ゴシック Medium", "游ゴシック体", "Yu Gothic Medium", YuGothic,"ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
    font-weight: bold;
    line-height:1.5;
}

#contents .contents_box:nth-child(1) .contents_txt::before {
    width: 33vw;
    height: 16vw;
    content: "";
    background: url(Dup/img/img3.png) no-repeat;
    position: absolute;
    bottom: -14vw;
    left: -1%;
    background-size: contain;
    max-width: 500px;
}
#contents {
    background: url(Dup/img/bg3_2.png) no-repeat;
    background-size: 1920px;
    background-position: 50% 100%;
}
#contents .contents_box:nth-child(2) .contents_txt::before {
    width: 25vw;
    height: 11vw;
    content: "";
    background: url(Dup/img/img4.png) no-repeat;
    position: absolute;
    bottom: -7vw;
    right: -1%;
    background-size: contain;
}
#contents .contents_box:nth-child(3) .contents_txt::before {
    width: 20vw;
    height: 15vw;
    content: "";
    background: url(Dup/img/img5.png) no-repeat;
    position: absolute;
    bottom: -10vw;
    left: -1%;
    background-size: contain;
}

.txt_color3 {
    color: #91220e;
}
span.sub_ttl {
    font-size: 20px;
    font-family: 'Paytone One', sans-serif;
    color: #17548a;
    margin-bottom: 5px;
    display: block;
}
section#info {
    position: relative;
    background: url(Dup/img/bg2.jpg);
}
section#info:before {
    width: 100%;
    height: 320px;
    background: url(Dup/img/info.png) no-repeat;
    position: absolute;
    content: "";
    background-size: contain;
    top: -320px;
    background-position: bottom right;
}
.top_cms_title p:last-of-type {
    font-family: 'Paytone One', sans-serif;
    color: #17548a;
    font-size: 18px;
}
.tel a{
    color:#17548a;
}
.loader{
    background:url("Dup/img/bg.jpg");
}
.cms_5-c .box_txt1::before,#cms_5-c .box_txt1::before{
    font-family: 'Paytone One', sans-serif;
        color: #f9ca03;
            font-weight: normal;
}
.cms_5-c .box_title1::before,#cms_5-c .box_title1::before{
    font-family: 'Paytone One', sans-serif;
     font-weight: normal;
}
.cms_5-c .box_title1,#cms_5-c .box_title1{
    font-weight:bold;
}
.top_cms_box .more a, .top_cms_box .more a i{
    color: #371102;
}
figure {
    border-radius: 20px;
}
.page_title p{
    letter-spacing: 3px;
    font-family: 'Paytone One', sans-serif;
    color: #17548a;
}
.info_img{
    padding: 2% 5%;
}
.page_title:before {
    width: 440px;
    height: 300px;
    content: "";
    position: absolute;
    background: url(Dup/img/img8.png) no-repeat;
    right: -60px;
    background-size: contain;
}

#cms_4-b .box_title1{
    margin-bottom: 20px;
    /* background: #17548a; */
    color: #17548a;
    display: inline-block;
    padding: 0px 50px;
    border-bottom: 2px solid;
    font-size: 22px;
}
#cms_4-b .cate_title{
    background: #91220e;
    padding: 10px;
    color: white;
    border-radius: 20px;
    width: 80%;
    margin: auto;
    margin-bottom:20px;
}

#cms_4-b figure.box_img1{
    width: 23% !important;
    padding-top: 15%;
}
#cms_4-b .box_wrap {
    justify-content:space-around;
    
}
#page08 section#main_wrap {
    margin-bottom: 0;
}
#page10 .box_wrap .box a {
    padding: 15px 25px 20px;
    background: url(Dup/img/bg2.jpg);
    border-radius: 50px;
}
#page10 span.en.txt_color_nomal.font_14.font_12_sp {
    font-family: 'Paytone One', sans-serif;
    color: #17548a;
}
#menu_wrap .sns_links {
    background: #f9ca03;
}
.top #info {
    margin-top: 300px;
}
.top_cms_box.mg_b-50px {
    position: relative;
    z-index: 2;
}
video.video {
    border-radius: 20px;
    width: 100%;
    margin: auto;
    margin-top: 40px;
}
/*------------------------------------タブレット--------------------------------*/
@media screen and (max-width:768px){
    #main_img #slide {
    width: 90%;
    height: 40vh;
    margin-top: 50%;
    }
    #main_b {
    top: -80%;
    width: 70%;
}
#contents .contents_box .contents_txt .box {
    padding: 0px;
}
    #contents .contents_box:nth-child(1) .contents_txt::before {
    width: 43vw;
    height: 26vw;
    bottom:-24vw;
    }
    #contents .contents_box:nth-of-type(2) .contents_txt .box{
        padding:0;
    }
    #contents .contents_box:nth-child(2) .contents_txt::before {
    width: 35vw;
    height: 21vw;
    bottom: -22vw;
}
#contents .contents_box:nth-child(3) .contents_txt::before {
    width: 28vw;
    height: 23vw;
    bottom: -26vw;
}
.info_img {
    padding: 2% 25%;
}
.page_title:before {
    width: 270px;
    height: 170px;
}
#cms_4-b figure.box_img1 {
    width: 45% !important;
    padding-top: 30%;
    margin-bottom: 20px;
}
section#info:before {
    width: 100%;
    height: 130px;
    background: url(Dup/img/info.png) no-repeat;
    position: absolute;
    content: "";
    background-size: contain;
    top: -130px;
    background-position: bottom right;
}
#main_wrap {
    margin-bottom:50px;
}
}

/*------------------------------------スマホ--------------------------------*/
@media screen and (max-width:667px){
   #main_b {
    top: -70%;
    width: 85%;
} 
    #main_img #slide {
    width: 90%;
    height: 40vh;
    margin-top: 60%;
}
#main_b p{
    font-size:14px;
        padding: 5px;
}
header.pd_30px {
    padding: 20px;
}
span.img1 {
    position: absolute;
    z-index: 2;
    bottom: -15%;
    left: 48%;
    width: 50vw;
    max-width: 580px;
}
section#intro {
    margin: 100px auto;
}
#intro_box:before {
    width: 40vw;
    height: 20vw;
    content: "";
    background: url(Dup/img/img2.png) no-repeat;
    position: absolute;
    right: -2%;
    bottom: -11%;
    background-size: contain;
}
#contents .contents_box .contents_txt .box,#contents .contents_box:nth-of-type(2) .contents_txt .box{
    padding: 30px;
}
.loader img {
    z-index: 2;
    width: 200px;
}
#info .tel a {
    white-space: nowrap;
    font-size: 24px;
}
.page_title:before {
    width: 180px;
    height: 100px;
    bottom: -30px;
    right: -40px;
}
ul.pager{
    z-index: 2;
    position: relative;
}
.page_title {
    width: 90%;
    padding: 40px 20px 40px 15px;
}
#cms_4-b .cate_box{
    width:100% !important;
}
#page09 .top_txt {
    border-radius: 10px;
    padding: 20px;
}
p#copyright {
    padding-bottom: 20px;
}
}
