﻿#header {
    padding-top: 25px;
}
div#youtube {
    text-align: center;
    margin-bottom: 60px;
}
.cms_banner_wrap.banner a {
    width: 100%;
    box-sizing: border-box;
}
.cms_banner_wrap.banner {
    margin-bottom: 30px;
    display: flex;
    justify-content: space-between;
}

.banner.top a {
    width: 100%;
    box-sizing: border-box;
}

#pc_nav2 .contact_bt {
    transform: translateX(13px);
}

#main_img .main_txt{
    z-index:2;
}
nav#pc_nav2 {
    z-index: 3;
    top: 120px;
    right: 435px;
    text-align: right;
    padding: 50px;
    background: #062049;
    padding: 50px;
}
#pc_nav .contact_bt,#pc_nav2 .contact_bt{
    background:none;
}
#pc_nav .contact_bt a,#pc_nav2 .contact_bt a {
    font-size: 18px;
    margin-top: 20px;
    text-align: center;
}

.sp_contact_bt{
    display:none;
}
div#banner_wrap {
    display: flex;
    position: fixed;
   background: #3d7aa7e8;
    bottom: -150px;
    width: 100%;
    z-index: 10;
    justify-content: center;
    transition: all 0.8s;
}
div#banner_wrap a {
    background: #ffffff;
    display: flex;
    align-items: center;
    padding: 8px 40px;
    margin: 15px 10px;
    text-decoration: none;
    color: #062049;
    font-size: 20px;
    transition: all 0.3s;
    font-family: "游明朝", "YuMincho", "ＭＳ Ｐ明朝", "MS PMincho","ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "Sawarabi Mincho", "serif";
}
div#banner_wrap a:hover{
    background: #062049;
    color:white;
}
.banner_active {
    bottom: 0 !important;
}

.banner a {
    display: inline-block;
    background: #062049;
    margin-top: 30px;
    padding: 10px 80px;
    color: white;
    font-size: 20px;
    transition: all 0.3s;
}
.banner.top a{
     margin-top: 0;
     margin-bottom:50px;
}
.banner{
    text-align:center;
}
.main_banner a {
    display: inline-block;
    background: #062049;
    margin-top: 30px;
    padding: 10px 20px;
    color: white;
    font-size: 20px;
    transition:all 0.3s;
}
.banner_box {
    display: flex;
    justify-content: space-between;
}
.banner_box a {
    display: block;
    background: #062049;
    color: white;
    width: 48%;
    padding: 10px;
    box-sizing: border-box;
    text-align: center;
    transition:all 0.3s;
}
.banner_box a:hover,.main_banner a:hover,.banner a:hover{
    opacity:0.8;
}

.bg_color5 {
    background-color: #357fb4;
}
.tel_contact h3 {
    color: white;
}
.contact_bt a {
    background: #357fb4;
}
#page_title h2 {
    font-size: 30px;
}
.footer_logo {
    max-width: 350px;
}
#top_info{
    background: url(Dup/img/bg3.jpg) no-repeat;
    background-size: 40%;
    background-position: left bottom;
}
.contact_bt a:hover {
    background: #c6af7b;
    color: white;
}

#under_page .under_box {
    background: #6faad4 url(Dup/img/bg3.png);
    background-size: 600px;
    background-position: right 360px;
}

#page_title img.posi_center.opacity02 {
    opacity: 0.5;
}
a.linkStyle {
    color: #ffffff;
    text-decoration: underline;
}
#cms_2-h .box_title1 {
    position: relative;
    color: #ffffff;
}
#cms_2-b .cate_box{
    background: #0e3258;
    border-color:white;
}
.border_color4 {
    border-color: #c6af7b;
}
#cms_2-b .cate_box h3{
    color:white;
    border-color: white;
}
.bg_color2 {
    background-color: #062049;
}
.v_type3 .cate_box {
    border: 1px solid #c6af7b;
    background: #062049;
}
.v_type3 .box_title1{color: white;}

#top_cms {
    background: url(Dup/img/bg2.jpg) no-repeat;
    background-size: 40%;
    background-position: right top;
}
#pc_nav {
    background: #062049;
    padding: 50px;
}
#main_img .bg_box{
    display:none;
}
.con_box a {
    text-align: center;
    display: block;
    color: white;
    font-size: 18px;
    background: #062049;
    margin-top: 20px;
    padding: 5px;
    box-sizing: border-box;
   transition: all 1s;
}
.con_box a:hover{
    opacity:0.6;
}
.bg_color3 {
    background-color: #6faad4;
}
#main_img .main_txt h3 {
    font-size: calc(20px + 1vw);
    color: #ffffff;
    text-shadow: 2px 2px 5px black;
}
#pc_nav li a,#pc_nav2 li a{
    font-size:18px;
    text-shadow:0;
}
#pc_nav .contact_bt a {
    font-size: 18px;
}
#header h1 img {
    height: auto;
    width: 250px!important;
}
.txt_color2 {
    color: #decea9;
}
#intro_logo {
    width: 350px;
    margin: auto;
}
div#main_b {
    margin: auto;
    max-width: 600px;
}
#intro {
    padding: 5%;
    background: url(Dup/img/bg1.jpg);
    background-size: cover;
    background-position: center;
}
section#contents1 {
    background: url(Dup/img/bg2.jpg) no-repeat;
    background-size: 40%;
    background-position: right top;
}
section#contents1-h {
    background: url(Dup/img/bg3.jpg) no-repeat;
    background-size: 40%;
    background-position: left bottom;
    padding-bottom: 200px;
    margin-bottom: 0;
}

/*-----------------------------------タブレット---------------------------------*/
@media screen and (max-width:768px){
    .cms_banner_wrap.banner a {
    padding: 10px 0;
}
    #main_img .main_txt h3 {
    font-size: calc(18px + 1vw);
    }
    div#main_b {
    margin: auto;
    max-width: 500px;
}
#intro {
    padding: 8%;
}
section#contents1-h,section#contents1{
    background-size: 50%;
}
#top_cms,#top_info{
    background-size:50%;
}
div#banner_wrap a{
    padding: 8px 20px;
    font-size: 18px;
}
#header {
    padding-top: 15px;
}
}

/*-----------------------------------スマホ---------------------------------*/
@media screen and (max-width:667px){
    .cms_banner_wrap.banner{
        flex-direction:column;
    }
    .cms_banner_wrap.banner a {
    width: 100%; 
    }
    .banner a{
        padding:10px 0;
            width: 100%;
    }
    #main_img .bg_box{
    display:block;
}
#intro {
    padding: 10%;
}
#intro_logo {
    width: 280px;
}
section#contents1-h, section#contents1 {
    background-size: 70%;
}
#top_cms, #top_info {
    background-size: 60%;
}
#page_title h2 {
    font-size: 22px;
}
#top_info p.con_title.font_14up.font_6up_sp.letter_4.mg_b-50px.txt_center_tb.pd_clear_tb {
    font-size: 18px;
    white-space: nowrap;
}
#top_info .con_box {
    padding-left: 15px;
    padding-right: 15px;
    white-space: nowrap;
}
.banner_box {
    flex-direction: column;
    align-items:center;
}
.banner_box a{
    width:90%;
    margin:10px 0;
}
.main_banner a{
        padding: 5px 20px;
        font-size: 16px;
}
#main_img .main_txt h3 {
    font-size: calc(12px + 1vw);
    letter-spacing:1px;
}
div#banner_wrap a{
        padding: 8px 30px;
    margin: 10px 10px;
        font-size: 16px;
    line-height: 1.2em;
}
div#youtube iframe {
    width: 100%;
   height: 45vw;
}
#header h1 img {
    width: 210px!important;
}
#top_info .con_box p {
    font-size: 16px;
    letter-spacing: 0;
}
#header {
    padding-top: 15px;
}
}