﻿.tel_bt span,.foot_tel_bt span,#sp_nav ul li:last-of-type span{
    width: 100%;
    display: block;
    font-size: 12px;
}
#sp_nav ul li:last-of-type span{
    margin-top:5px;
}
.head_banner a {
    font-size: 18px;
}
.anim-box.popup.is-animated {
  animation: popup 0.8s cubic-bezier(0.22, 1, 0.36, 1) 1 forwards;

}
 .anim-box.popup{
     opacity:0;
 }
@keyframes popup {
  0% {
    transform: translateY(40px) scale(0.8);
    opacity: 0;
  }

  80%{
       transform: translateY(0) scale(1.1);
  }
  100% {
    transform: translateY(0) scale(1.0);
  }
  80%, 100% {
    opacity: 1;
  }
}

#splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: #4a6b9e;
	z-index: 9999999;
	text-align:center;
	color:#fff;

}

#splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

/*========= 画面遷移のためのCSS ===============*/

/*画面遷移アニメーション*/
.splashbg{
    display: none;
}

/*bodyにappearクラスがついたら出現*/
body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	z-index: 999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleY(0);
    background-color: #315292;/*伸びる背景色の設定*/
	animation-name:PageAnime;
	animation-duration:1.2s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}

@keyframes PageAnime{
	0% {
		transform-origin:bottom;
		transform:scaleY(0);
	}
	50% {
		transform-origin:bottom;
		transform:scaleY(1);
	}
	50.001% {
		transform-origin:top;
	}
	100% {
		transform-origin:top;
		transform:scaleY(0);
	}
}

/*画面遷移の後現れるコンテンツ設定*/

#container{
	opacity: 0;/*はじめは透過0に*/
}

/*bodyにappearクラスがついたら出現*/
body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}
/*-----------------------------------------------------------------------------------*/


#page_title .page_box {
    padding: 80px 0 70px;
    background: #f4f4f4;
}
.date.txt_color3 {
    color: #315292;
}
a.linkStyle {
 color: #2daf00;
    text-decoration: underline;
}
ul.cate_list {
    margin-bottom: 50px;
}
.title_img.posi_rel{
    display:none;
}
#page_title h2 {
    font-size: 40px;
}
div#contents2>div:before {
    width: 2px;
    height: 180px;
    background: #315292;
    content: "";
    position: absolute;
    bottom: -138px;
    transform: rotate(-45deg);
    z-index: -2;
}
div#contents3>div:before {
    width: 2px;
    height: 180px;
    background: #315292;
    content: "";
    position: absolute;
    bottom: -142px;
    left: 50%;
    transform: rotate(45deg);
    z-index: -2;
}
.main_b_img.grid_6 {
    position: relative;
    top: -30px;
}
.main_txt span:before {
    width: 30px;
    height: 30px;
    content: "";
    position: absolute;
    background: url(Dup/img/hukidashi.png) no-repeat;
    left: 50px;
    bottom: -20px;
    background-size: contain;
    z-index: -1;
}
.main_txt span {
    background: #315292;
    display: block;
    width: 80%;
    margin: auto;
    color: white;
    font-size: 20px;
    padding: 10px;
    margin-bottom: 20px;
    border-radius: 60px;
    position: relative;
}
.main_txt ul:before {
    width: 215px;
    height: 190px;
    content: "";
    position: absolute;
    background: url(Dup/img/main_b2.png) no-repeat;
    right: -60px;
    bottom: 0;
    background-size: contain;
}
.main_b_img.grid_6 img {
    width: 85%;
}
.main_txt ul {
    background: #f6fdff;
    padding: 20px;
    width: 80%;
    margin: auto;
    margin-top: 50px;
    text-align: left;
    border-radius: 10px;
    border: 2px solid #193979;
    position:relative;
}
.main_txt li {
    font-size: 18px;
    font-weight: bold;
    margin: 10px 0;
    color: #315292;
    padding-left: 30px;
    position: relative;
}
.main_txt li:before {
    width: 20px;
    height: 20px;
    background: url(Dup/img/check.png) no-repeat;
    content: "";
    position: absolute;
    left: 0;
    top: 6px;
    background-size: contain;
}
#main_img img {
    object-fit: contain;
 
}
#main_img {
    padding: 3% 5%;
    padding-bottom: 4%;
    background-image: url(Dup/img/bg1.png),url(Dup/img/bg2.png);
    background-repeat: no-repeat;
    background-position: 100% 0%,0% 100%;
    background-size: 25%;
}
.main_txt p {
    font-size: 80px;
    font-weight: bold;
    color: #315292;
}
@media screen and (max-width:1550px){
    .main_txt p{
        font-size:64px;
    }
}

@media screen and (max-width:1350px){
   .main_txt li {
    font-size: 16px;
   }
  .main_txt ul:before {
    width: 195px;
    height: 170px;
    right: -100px;
    z-index: 2;
}
.main_txt ul{
    padding:10px;
}
.main_txt span{
    width: 65%;
    font-size: 18px;
}
.main_txt p {
    font-size: 48px;
}
.news{
    bottom:25px;
}
}

.main_b.d_flex {
    justify-content: space-around;
    max-width: 1280px;
    margin: auto;
        align-items: center;
}
.news:before {
    width: 90px;
    height: 100%;
    background: #193979;
    position: absolute;
    color: white;
    content: "NEWS";
    display: flex;
    font-size: 16px;
    z-index: 2;
    left: 0;
    justify-content: center;
    align-items: center;
}
.news {
    position: absolute;
    bottom: 40px;
    width: 700px;
    box-shadow: 0px 0px 5px #0000005e;
    left: calc(50% - 350px);
}

/*ニュース1行の周りの余白*/
.slider a{
    display: block;
    background:#fff;
       padding: 15px 20px;
        padding-left: 110px;
            color: #193979;
}

/*日付*/
.slider span {
    display:inline-block;
    font-size:0.8rem;
    margin-right:10px;
    color:#777;
}

/*768px以下の見た目 ※1行のままにしたい場合は不要　*/
@media screen and (max-width:768px) {
    .slider {
        padding:20px;
        background:#fff;
    }

    .slider li {
        border-bottom:1px dashed #ccc;
    }

    .slider li:last-child {
        border-bottom:none;
    }
    .slider span {
        display:block;
		padding-bottom:10px;
    }
}



.v_type1 .triangle {
    display: block;
    border: #315292 solid 2px;
    box-shadow: 5px 5px 0 0 #e2e2e2;
}
.v_type1 .triangle:before {
    content: '';
    position: absolute;
    display: block;
    z-index: 1;
    border-style: solid;
    border-color: #FFF transparent;
    border-width: 13px 13px 0 0;
    bottom: -13px;
    left: 50%;
    margin-left: -9px;
}
.v_type1 .triangle:after {
    content: '';
    position: absolute;
    display: block;
    z-index: 0;
    border-style: solid;
    border-color: #315292 transparent;
    border-width: 15px 15px 0 0;
    bottom: -17px;
    left: 50%;
    margin-left: -11px;
}

.border_color4 {
    border-color: #52c4da;
}
.border_color3 {
    border-color: #52c4da;
}
.border_color1 {
    border-color: #315292;
}
.bg_color4 {
    background-color: #315292;
}
header .txt_color1 {
    color: #ffffff;
}
#main_menu ul li a::before{
        background-color: #ffffff;
}
.bg_color3 {
    background-color: #193979;
}
.button:hover::after {
    box-shadow: inset 0 0 0 15em rgb(60 99 175);
}
.hvr_bg_color1:hover {
    background-color: #3c63af;
}
#main_img img{
    object-fit:contain;
}
.bg_color1 {
    background-color: #315292;
}
.txt_color1 {
    color: #193979;
}
.txt_color3 {
    color: #52c4da;
}
#contents1 {
    background: #f2f2f2;
    text-align:center;
    margin-bottom: 100px;
    padding: 60px 10%;       
}
#contents1 p.txt3 {
    max-width: 800px;
    margin: auto;
    text-align: left;
}
.con_no::before{
    display:none;
}

div#contents2>div {
    box-shadow: 0 0 5px #00000024;
    justify-content: space-around;
    padding: 50px;
    position: relative;
    left: -50px;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}

div#contents3>div {
    box-shadow: 0 0 5px #00000024;
    justify-content: space-around;
    padding: 50px;
    position: relative;
    left: 50px;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}
#contents2 figure img{
    width:100% !important;
    height:auto !important;
}
div#contents4>div {
    box-shadow: 0 0 5px #00000024;
    justify-content: space-around;
    padding: 50px;
    position: relative;
    left: -50px;
    align-items: center;
    max-width: 1100px;
    margin: auto;
}
#contents2,#contents3,#contents4{
    padding: 0 10% 100px;
}

div#contents2 figure,div#contents3 figure,div#contents4 figure{
padding-right:50px; 
}
p.con_no {
    margin-bottom: 5px;
}
#contents1 a {
    background: #193979;
    color: white;
    padding: 10px;
    max-width: 300px;
    margin: auto;
    margin-top: 30px;
    display: block;
    transition: all 0.3s;
    font-size: 16px;
    letter-spacing: 1px;
}

.more a {
    font-size: 16px;
    letter-spacing: 1px;
}

div#contents4 {
    padding-bottom: 0;
}
@media screen and (max-width:1280px){
    #main_img{
        padding-bottom:10%;
    }
}
/*-------------------------------------------------------------タブレット-------------------------------------------------*/
@media screen and (max-width:768px){
    .main_box{
        padding-top:70px;
    }
    .slider li{
        border:0;
    }
    #page_title .page_box {
    padding: 40px 0 40px;
    }
    #page_title h2 {
    font-size: 32px;
}
    #contents2>div:before,#contents3>div:before{
        display:none;
    }
    .main_txt p {
    font-size: 38px;
}
.main_txt ul{
    margin-top:20px;
}
.main_txt span {
    width: 80%;
    font-size: 16px;
}
#main_img {
    padding: 10% 5%;
    padding-bottom: 15%;
}
.main_txt ul:before{
    display:none;
}
header #logo{
    max-width:300px;
    padding:0;
}
.news:before {
    width: 80px;
}
.slider a{
    padding-left:50px;
}
div#contents2>div,div#contents3>div,div#contents4>div{
    position:static;
}
div#contents2 figure, div#contents3 figure, div#contents4 figure {
    padding-right: 0;
    margin-top: 0;
    margin-bottom: 50px;
}
.hamburger__icon:after, .hamburger__icon:before{
    background:white !important;
}
.hamburger__icon.bg_color1{
    background:white;
}
ul.bg_white {
    background: #315292;
}
}

/*-------------------------------------------------------------スマホ-------------------------------------------------*/
@media screen and (max-width:667px){
    .news{
        width:90%;
        left:5%;
    }
    header #logo {
   max-width: 230px;
    padding:0;
}
.main_b.d_flex{
    flex-direction:column;
}
.main_txt.grid_6{
    width:100% !important;
}
.main_b_img.grid_6{
    width:100% !important;
    position:static;
}
    
    #main_img{
        padding-bottom: 35%;
    }
    .slider{
        padding:20px 0;
    }
    .slider a {
    padding-left: 95px;
        border-radius: 50px;
}
.bx-wrapper{
    border-radius:50px;
}
.main_b_img.grid_6 img {
    width: 75%;
}
.slider li{
    border:0;
}
div#contents2>div,div#contents3>div,div#contents4>div{
    padding:30px;
}
#page_title h2 {
    font-size: 24px;
}
#page_title .page_box {
    padding: 40px 0 40px;
}
.main_box {
    padding-top: 60px;
}
}