@charset "Shift_JIS";

body{
    font-family: -apple-system, BlinkMacSystemFont, "Roboto", "Noto Sans Japanese", "ヒラギノ角ゴProN W3", Meiryo, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    -webkit-text-size-adjust: 100%;
    overflow-y: auto; /* scrollにはしないことでスクロールの必要がないときはスクロールバーを表示させない */
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
}

body.fixed {
  overflow: hidden;

}

small{
    font-size:80%;
}
.title a {
	text-decoration: none;
}
.title a:link {
	color: #000; 
	text-decoration: none;
}
.title a:visited { 
	color: #000;
	text-decoration: none;
}
.title a:hover {
	color: #666;
	text-decoration: none;
}
.title a:active {
	color: #000;
	text-decoration: none;
}
.title img {
	width: 80px;
}
.toplogo img {
	width: 140px;
}
.wrap{
    margin:30px auto;
}
.flexslider{
    border:none;-webkit-border-radius: 0px;
    -moz-border-radius: 0px;
    -o-border-radius: 0px;
    border-radius: 0px;
    box-shadow: none;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    -o-box-shadow: none;
    margin-right: auto;
    margin-left: auto;
}
.top-slider{
    max-width: 600px;
}
.flex-direction-nav .flex-disabled{
    opacity: 0!important;
    filter: alpha(opacity=0);
}
.content-wrap{
    width:700px;
    max-width:100%;
    margin:0 auto;
    
}
.flex-caption-wrap{
    background-color: rgba(0, 0, 0, 0.5);
    position: absolute;top: 0;
    z-index: 100;
    width: 100%;
    height:100%;
}
li .flex-caption-wrap{
	text-align: left;
    opacity: 0;
    visibility: hidden;
    overflow-y: auto;
    transition: 0.2s ease-in-out;
    
}
li:hover .flex-caption-wrap{
    opacity: 1;
    visibility: visible;
}
.flex-caption {
    color:#fff;
    padding:28px 32px;
    margin: 0;
    top: 0;
    font-size: 11px!important;
    letter-spacing: 0.06em!important;
    line-height: 1.5!important;
}
.flex-caption a{
	font-size: 11px!important;
    line-height:2;
    color:#fff;
    text-decoration: underline;
    transition: 0.2s ease-in-out;
}
.flex-caption a:hover{
    opacity:0.5;
}
.flex-direction-nav a{
    width: 54px;
    height: 54px;
    color: transparent;
    text-shadow: none;
    background: none;
}
.flex-direction-nav a:before{
    content: '';
    display: block;
    width: 36px;
    height: 36px;
    border-top: 1px solid #004290;
    border-right: 1px solid #004290;
    position: absolute;
    top: 50%;
    left: 50%;
    text-shadow: none;
    color: transparent;
}
.flex-direction-nav .flex-next:before{
    transform: translate(-75%,-50%) rotate(45deg);
}
.flex-direction-nav .flex-prev:before{
    transform: translate(-25%,-50%) rotate(-135deg);
}
.flex-control-paging li a{
    width: 4px;
    height: 4px;
    background:rgba(0, 0, 0, 0.2);
}
.numbers{
    display:none;
}
.result{
    opacity: 0;
}
.loading{
    left:50%;top:50%; 
    position: fixed;
}
.thumb-slide li img{
	padding: 0 20px 0 0;
	box-sizing: border-box;
	cursor: pointer;
}


.tittle {
  margin:100px auto; 
  text-align: center;
	
}

.tittle img {
	width: 40%;
}

.modal-container{
	display: flex;
	align-items: center;
	height: 100vh;
	width: 100%;
}

.modal-item{
	margin: 5px;
	padding: 5px;
	width: 100%;
}


.txt-cont{
	padding: 0 10px 0 0;
}

.txt-item h3 {
	width: 100%;
	padding: 10px 0;
	font-weight: 900;
	font-size: 55px;
	line-height: 60px;
	text-align: left;
}

.txt-item  {
	text-align: left;
	padding: 20px 10px 20px 0;
	width: 100%;
}

.txt-item p {
	padding: 20px 0;
	width: 550px;
	text-align: left;
	line-height: 22px;
}


.txt-item img {
	width: 70px;
	margin-top: 50px 0 0 5px;
}

.close{
    width:80px;
    right:10%;top:15%; 
    position: absolute;
}



.tittle {
  margin:100px auto; 
  text-align: center;
	
}

.tittle img {
	width: 40%;
}


.rightbtn {
    position: fixed;
    width: 55px;
    top: 120px;
    right: 0;
    z-index: 9999;
}



.modal{
    display: none;
    height: 100vh;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 9999;
    background: #ffffff;
    overflow-y: auto;
    height: 100%;
  overflow: hidden;
  overflow-y: auto; /* scrollにはしないことでスクロールの必要がないときはスクロールバーを表示させない */
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;
    

}

.modal__bg{
    background: #ffffff;
    height: 100vh;
    position: absolute;
    width: 100%;
}
.modal__content{
    background: #fff;
    width: 100%;
    position: absolute;
}











.overlay {
  position: fixed;
  top: 0;
  left: 0;
  z-index: 9998;
  width: 100%;
  height: 100%;
  background: #ffffff;
  opacity: 0;
  visibility: hidden;
  transition: .2s linear;
  transform: translateX(-100%);
  overflow: hidden;
  overflow-y: auto; /* scrollにはしないことでスクロールの必要がないときはスクロールバーを表示させない */
  -webkit-overflow-scrolling: touch;
  -ms-overflow-style: none;

  
}
.overlay.is-open {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}

    
@media screen and (max-width: 767px){
    .flexslider{
        margin-bottom:0;
    }
    .flex-caption-wrap{
        background-color:transparent;
        height: fit-content;position:relative;
    }
    .flex-direction-nav a{
        top:35%;
        margin: -47px 0 0;
    }
    .flex-caption{
        color: #000;
        padding: 16px 10px;
        position:relative;
        text-align: center;
    }
    .flex-caption a{
        color:#000;
        position:relative;
    }
    
    
    li .flex-caption-wrap{
        opacity: 1;
        visibility: visible;
    }
    .flex-control-nav{
        display:none;
    }
    .numbers{
        display:block;
        font-size: 10px;
        letter-spacing: 0.1em;
        padding: 11px 10px;
        bottom: 0;
        text-align:center;
    }
    #carousel {
	    padding: 0 1em;
	    margin-top: 2em;
	}
	.thumb-slide li img{
		padding: 0 5px 0 0;
		box-sizing: border-box;
	}
	#carousel .flex-direction-nav .flex-prev,
	#carousel .flex-direction-nav .flex-next {
	    top: 70%;
	}

	.tittle {
  margin: 70px auto; 
  text-align: center;
	
}

.tittle img {
	width: 70%;
}

.close{
    width:50px;
    right:10%;top:15%; 
    position: absolute;
}

.rightbtn {
    position: fixed;
    width: 30px;
    top: 135px;
    right: 0;
    z-index: 9999;
}

	
.modal-item{
	width: 100%;
	margin: 5px;
	padding: 5px;
}
	
.txt-item h3 {
	width: 100%;
	padding: 10px 0;
	font-weight: 900;
	font-size: 30px;
	line-height: 30px;
	text-align: left;
}

.txt-item p {
	padding: 20px 0;
	width: 100%;
	text-align: left;
	line-height: 22px;
}


.txt-item img {
	width: 70px;
	margin-top: 50px 0 0 5px;
}

.modal-container{
	flex-wrap: wrap;
}

.item-img2{
	margin: 55px 0 0 0;
}


.txt-item img {
	width: 100px;
	margin: 0 0 30px 0;
	text-align: center;
}


.txt-item  {
	text-align: center;
}




}
@media screen and (min-width: 860px){
	#carousel .flex-direction-nav a{
    opacity: 1;
	}
	#carousel .flex-direction-nav .flex-prev {
	    left: -46px;
	}
	#carousel .flex-direction-nav .flex-next {
	    right: -46px;
	}
}
