@charset "utf-8";

/* *****共通設定***** */

main{
    display: block;
    background-color: #ffffff;
}
main .btn{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 1.5rem;
}
h1 { 
  padding: 1rem 1rem;
	
	font-size: 25px;
  border-left: 4px solid #8b0000; }
h2 {
	font-size: 15px;
   color: #8b0000;	
}

h3 {
	font-size: 22px;
   color: #232323;	
}
h3::before {
  content: '■';
  color: #8b0000;
  margin-right: 2px;
}

a:link {
color: #ffffff;
text-decolation: none;
}

a:visited {
color: #ffffff;
text-decolation: none;
}
.gray {
    color: #6c757d;
}
.card{
    border-color: #e5e5e5;
}
.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}





/* ヘッダー(navbar) */
.navbar{
    border-bottom: 1px solid #e0e0e0;
    background-color: #232323;
}
.navbar .navbar-collapse{
    flex-grow: 0;
}
.navbar .navbar-brand{
    height: 50px;
}
.navbar .navbar-brand img{
    height: 100%;
}
.navbar .navbar-nav .active > .nav-link{
    color: #ffce11;
}
.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(251,251,241,1);
}

/* フッター */
#footer{
    background-color: #232323;
}
#footer .container{
    color: #E3E3E3;
}
#footer .footer-ttl{
    font-size: 1.1rem;
    font-weight: bold;
    margin: 1.5rem 0 0 0;
    color: #ffce11;
}
#footer address p,
#footer #footer-news li{
	margin-bottom: 0.5rem;
	color: #efefef;
}
#footer #footer-news ul{
    margin: 0;
    padding: 0
}
#footer #footer-news ul{
    list-style: none;
}
#footer #footer-news li span{
    display: inline-block;
    margin-right: 0.5rem;
}
#footer #copyright{
    border-top: 1px solid #7B7B7B;
    background-color: #444444;
    color: #E0E0E0;
}
#footer img {
	width: 360px;
}

/* *****トップページ***** */
/* メイン画像 */
h1{
    font-weight:bolder !important;
    color: #232323;
}
#page-top h1 + span {
    font-size: 3rem;
    font-weight: bold;
    color: #232323;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}
#page-top .jumbotron-fluid{
    height: 500px;
    background-color: #ffffff;
    border-bottom: #dddddd;
    background: url("../img/top-main.jpg") no-repeat center center;
    background-size:cover;
}
#page-top .jumbotron-fluid .container{
    height: 100%;
}
#page-top .jumbotron-fluid .btn{
    padding-left: 3rem;
    padding-right: 3rem;
    margin-top: 1.5rem;
    font-weight: bold;
	border-width: 3px;
    border-color: #fff;
}

/* 各セクション */
#page-top section{
    border-bottom: 1px solid #B4B4B4;
    background-color: #E5E5E5;
	padding: 5rem 0;
}
#page-top section:nth-child(odd){
    background-color: #FFFFFF;
}
#page-top section .container > h2{
    margin-bottom: 20px;
    font-size: 2rem;
}
#page-top section .container > h2 + p{
    max-width: 700px;
    margin: 0 auto 50px;
    font-size: 1rem;
}
#sec1 h3{
    font-size: 1.4rem;
}
#sec2 {
    line-height: 180%;
}
#sec2 .row{
    min-height: 160px;
    color: #2f2f2f;
	
  align-items: center;
  justify-content: center;
}
#sec4 .card-body .clearfix p,
#sec4 .card-body .clearfix h3{
    margin-left: 115px;
    line-height: 130%;
}
#sec4 .card-body .card-title{
    margin-bottom: 5px;
    color: #444444;
}
#sec4 .card-body .card-subtitle{
    font-size: 0.9rem;
    margin-bottom: 5px;
    color: #232323;
}
#sec4 img {
    width: 100%;
}
#sec4 .btn {
    width: 100%;
	background-color: #FF5F25;
	border: none;
	padding: 1rem 0;
}

#sec5 article > .row {
    border: 1px solid #dddddd;
}
#sec5 > div:nth-child(1) img {
    width: 100%;
}
/*#sec4 > div:nth-child(2){
    margin-left: 220px;
}*/
#sec5 h3{
    margin-bottom: 0.1rem;
}
#sec5 article > div div header {
	padding: 10px;
}




/* *****6列***** */
*, *:before, *:after {
	box-sizing: border-box;
}
.col_6{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_6 > div{
	width: 16%;
	padding: 3px;
	margin: auto
}
.col_6 > div > div{
	position: relative;
	overflow: hidden
}
@media screen and (max-width: 960px) {
	.col_6 > div{
		width: 25%;
	}
}
@media screen and (max-width: 480px) {
	.col_6 > div{
		width: 33.33333%;
	}
}

/*******4列*******/
*, *:before, *:after {
	box-sizing: border-box;
}
.col_4{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_4 > div{
	width: 25%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_4 > div{
		width: 33.33333%;
	}
}
@media screen and (max-width: 480px) {
	.col_4 > div{
		width: 50%;
	}
}

/*******５列*******/

*, *:before, *:after {
	box-sizing: border-box;
}
.col_5{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
	
}
.col_5 > div{
	width: 20%;
	padding: 10px;
	margin: auto
}
.col_5 > div > div{
	position: relative;
	overflow: hidden
}
@media screen and (max-width: 960px) {
	.col_5 > div{
		width: 25%;
	}
}
@media screen and (max-width: 480px) {
	.col_5 > div{
		width: 33.33333%;
	}
}



/*******５列2*******/

*, *:before, *:after {
	box-sizing: border-box;
}
.col_5_{
	width: 100%;
	display: inline-block;
	display: -ms-inline-block; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
	
}
.col_5_ > div{
	width: 20%;
	padding: 10px;
	margin: auto
	inline-block; /* インラインブロック化 */
    vertical-align: top;   /* 上端を揃える */
}
.col_5_ > div > div{
	position: relative;
	overflow: hidden
}
@media screen and (max-width: 960px) {
	.col_5_ > div{
		width: 25%;
	}
}
@media screen and (max-width: 480px) {
	.col_5_ > div{
		width: 33.33333%;
	}
}

/*******3列*******/
*, *:before, *:after {
	box-sizing: border-box;
}
.col_3{
	width: 100%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
}
.col_3 > div{
	width: 33.33333%;
	padding: 10px;
}
@media screen and (max-width: 960px) {
	.col_3 > div{
		width: 50%;
	}
}
@media screen and (max-width: 480px) {
	.col_3 > div{
		width: 100%;
	}
}


/* *****２列***** */


*, *:before, *:after {
	box-sizing: border-box;
}
.col_2{
	
	width: 80%;
	display: flex;
	display: -ms-flexbox; /* IE10 */
	flex-wrap: wrap;
	-ms-flex-wrap: wrap; /* IE10 */
  align-items: center;
  justify-content: center;
	padding: 20px;
	margin: 20px
}
.col_2 > div{
	
	width: 40%;
	padding: 20px;
	margin: 30px
  align-items: center;
  justify-content: center;
}
@media screen and (max-width: 500px) {
	.col_2 > div{
		padding: 20px;
		align: center;
	}
}

/* 画像の高さを揃えて表示 */
.thumbnail {
    display: inline-block; /* ここがポイント */
    height: 250px;
    margin-right: 3px;
    margin-bottom: 3px;
}
.thumbnail img {
    height: 100%;
}

/* セル幅を自動調整 */

table, th, td {
  width: auto !important;
}

.design01 {
 width: 100%;
 text-align: center;
 border-collapse: collapse;
 border-spacing: 0;
}
.design01 th {
 padding: 10px;
 background: #ECECEC;
 border: solid 1px #444444;
}
.design01 td {
 padding: 10px;
 background: #ffffff;
 border: solid 1px #444444;
}


/* buttonデザイン　　朱色 */
bu_syu_section {
  max-width: 500px;
  margin: 0 auto;
}
a.btn_06-1 {
  display: block;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  padding: 1em .5em;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}
a.btn_06-1 span {
  position: relative;
  display: block;
  transform: translate(-3px, -3px);
  transition: 0.3s;
  z-index: +1;
}
a.btn_06-1:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background: #FF5F25;
  border-radius: 6px;
  box-sizing: border-box;
  transform: translate(-3px, -3px);
  transition: 0.3s;
}
a.btn_06-1:hover span {
  transform: translate(0, 0);
}
a.btn_06-1:hover:after {
  transform: translate(0, 0);
}
@media all and (max-width: 1023px) {
  a.btn_06-1 {
    font-size: 18px;
  }
}
@media all and (max-width: 767px) {
  a.btn_06-1 {
    font-size: 16px;
  }
}


/* buttonデザイン　　オレンジ色 */
bu_syu_section {
  max-width: 500px;
  margin: 0 auto;
}
a.btn_06-3 {
  display: block;
  color: #ffffff;
  font-size: 20px;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  padding: 1em .5em;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  max-width: 500px;
  margin: 0 auto;
  position: relative;
}
a.btn_06-3 span {
  position: relative;
  display: block;
  transform: translate(-3px, -3px);
  transition: 0.3s;
  z-index: +1;
}
a.btn_06-3:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background: #FFA01C;
  border-radius: 6px;
  box-sizing: border-box;
  transform: translate(-3px, -3px);
  transition: 0.3s;
}
a.btn_06-3:hover span {
  transform: translate(0, 0);
}
a.btn_06-3:hover:after {
  transform: translate(0, 0);
}
@media all and (max-width: 1023px) {
  a.btn_06-3 {
    font-size: 18px;
  }
}
@media all and (max-width: 767px) {
  a.btn_06-3 {
    font-size: 16px;
  }
}



/****ボックス　取説****/


.box1{
  width:60%;
  height:50px;
  background: #D2D2D2;
  border-radius:20px;
  font-size: large;

}



/* *****buttonデザイン　　オレンジ色（小）***** */

but_ora_section {
  max-width: 500px;
  margin: 0 auto;
}
a.btn_06-2 {
  display: block;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  line-height: 1.2;
  text-decoration: none;
  text-align: center;
  padding: .6em .6em;
  background: rgba(0, 0, 0, 0.2);
  border: 1px solid transparent;
  border-radius: 6px;
  box-sizing: border-box;
  max-width: 300px;
  margin: 0 auto;
  position: relative;
}
a.btn_06-2 span {
  position: relative;
  display: block;
  transform: translate(-3px, -3px);
  transition: 0.3s;
  z-index: +1;
}
a.btn_06-2:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  margin: auto;
  width: 100%;
  height: 100%;
  background: #FFA01C;
  border-radius: 6px;
  box-sizing: border-box;
  transform: translate(-3px, -3px);
  transition: 0.3s;
}
a.btn_06-2:hover span {
  transform: translate(0, 0);
}
a.btn_06-2:hover:after {
  transform: translate(0, 0);
}
@media all and (max-width: 1023px) {
  a.btn_06-2 {
    font-size: 18px;
  }
}
@media all and (max-width: 767px) {
  a.btn_06-2 {
    font-size: 16px;
  }
}


/* *****タブ切替***** */

.tab-wrap {
  display: flex;
  flex-wrap: wrap;
  margin:20px 0;
}
.tab-wrap:after {
  content: '';
  width: 100%;
  height: 3px;
  background: #B4B4B4;
  display: block;
  order: -1;
}
.tab-label {
  color: White;
  background: #D2D2D2;
  font-weight: bold;
  text-shadow: 0 -1px 0 rgba(0,0,0,.2);
  white-space: nowrap;
  text-align: center;
  padding: 10px .5em;
  order: -1;
  position: relative;
  z-index: 1;
  cursor: pointer;
  border-radius: 5px 5px 0 0;
  flex: 1;
}
.tab-label:not(:last-of-type) {
  margin-right: 5px;
}
.tab-content {
  width: 100%;
  height: 0;
  overflow: hidden;
  opacity: 0;
}
/* アクティブなタブ */
.tab-switch:checked+.tab-label {
  background: #B4B4B4;
}
.tab-switch:checked+.tab-label+.tab-content {
  height: auto;
  overflow: auto;
  padding: 15px;
  opacity: 1;
  transition: .5s opacity;
  box-shadow: 0 0 3px rgba(0,0,0,.2);
}
/* ラジオボタン非表示 */
.tab-switch {
  display: none;
}



/* HOMEへ戻るボタン　*/
.homebtn-border {
  display: inline-block;
  max-width: 180px;
  text-align: left;
    background-color: #B4B4B4;
font-size: 16px;
  color: #7b7b7b;
  text-decoration: none;
  font-weight: bold;
  padding: 8px 16px;
  border-radius: 4px;
  transition: .4s;
}

.homebtn-border:hover {
  background-color: #444444;
  color: #7b7b7b;
}

/***ロールオーバー***/

.img_wrap{
  border: 0px solid #ddd;
  width: 500px;
  margin: 0px auto 0;
  transition-duration: 0.5s;
}
.img_wrap img{
  width: 100%;
  cursor: pointer;
}
.img_wrap:hover{
  box-shadow: 3px 3px 2px rgba(0,0,0,0.2);
  transform: translateY(-5px);
  transition-duration: 0.5s;
}


/* *****ポップアップ***** */

.open {
	cursor:pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}
#pop-up {
	display: none; /* label でコントロールするので input は非表示に */
}

#pop-up2{
	display: none; /* label でコントロールするので input は非表示に */
}

#pop-up3 {
	display: none; /* label でコントロールするので input は非表示に */
}

#pop-up4 {
	display: none; /* label でコントロールするので input は非表示に */
}

#pop-up5 {
	display: none; /* label でコントロールするので input は非表示に */
}

#pop-up6 {
	display: none; /* label でコントロールするので input は非表示に */
}



.overlay {
	display: none; /* input にチェックが入るまでは非表示に */
}
#pop-up:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}

#pop-up2:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}

#pop-up3:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}

#pop-up4:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
.window {
	width: 400px;
	max-width: 70vw;
	max-height: 70vh;
	background-color: #ffffff;
	border-radius: 6px;
	box-sizing: border-box;
	display: flex;
	justify-content: center;
	align-items: center;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

#pop-up5:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}

#pop-up6:checked + .overlay {
	display: block;
	z-index: 9999;
	background-color: #00000070;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	left: 0;
}
.text {
	font-size: 15px;
	margin: 0;
}
.close {
	cursor:pointer;
	position: absolute;
	top: 4px;
	right: 4px;
	font-size: 20px;
}



/*****POPUP中身******/

.popup_auto {
 
  width: auto;	
}

.popup30 {
 
  width: 30%;	
}

.popup65 {
 
  width: 65%;	
}
.example img {

  width: 50px;	
}

/*****ページTOPへ戻るボタン*****/
html{
    scroll-behavior: smooth;
}
.gotop{
    display: block;
    width: 60px;
    height: 60px;
    box-sizing: border-box;
    background: #949494;
    border: 1px solid #999;
    padding-top: 30px;
    text-align: center;
    letter-spacing: -1px;
    font-size: 85%;
    text-decoration: none;
    color: #333;
    opacity: 0.5;
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}
.gotop::before{
    content: "";
    display: block;
    border-top: 2px solid #fff;
    border-right: 2px solid #fff;
    width: 25%;
    height: 25%;
    top: 25%;
    left: 0;
    right: 0;
    margin: auto;
    position: absolute;
    transform: rotate(-45deg);
}
.gotop:hover{
    opacity: 1;
}
@media(max-width:750px){
    .gotop{
        width: 40px;
        height: 40px;
        text-indent: -9999px;
        opacity: 1;
        border: none;
        background: none;
        bottom: 10px;
        right: 10px;
    }
    .gotop::before{
        bottom: 0;
    }
}


/* *****YOUTUBEレスポンシブ***** */
.youtube {
  width: 100%;
  aspect-ratio: 16 / 9;
}
.youtube iframe {
  width: 100%;
  height: 100%;
}

/* *****下層ページ***** */

#breadcrumb-wrapper{
    border-bottom: 1px solid #7B7B7B;
}
#breadcrumb-wrapper,
.breadcrumb{
    font-size: 0.9rem;
    background-color: #444444;
}
.breadcrumb a{
    color: rgba(255,255,255,.5);
}
.breadcrumb a:hover,
.breadcrumb a:focus{
    color: rgba(255,255,255,1);
}
.breadcrumb-item+.breadcrumb-item::before{
    content: ">";
    padding-right: 1rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb-item.active{
    color: #ffffff;
}
h1.page-ttl {
    font-size:2rem; 
}
#page h1 + span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}

#page article {
    padding: 5rem 0;
}

#page section {
    padding-bottom: 5rem;
}
#page section:last-child {
    padding-bottom: 0rem;
}

#page h1 + small {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
}
#page .jumbotron{
    background-color: #EDECDA;
    border-bottom: #dddddd;
    background: url("../img/top-main.jpg") no-repeat center center;
    background-size:cover;
    border-radius: initial;
}
#page .jumbotron .container{
    padding: 0;
}
#page .jumbotron .container p{
    margin-bottom: 0;
}
#page h2 + p{
    margin: 0 0 1.2rem;
}
#page main img{
    max-width: 100%;
}
#page .sample-title{
    display: flex;
    align-items: center;
    text-align: center;	
}

#page .sample-title::after {
    border-top: 3px dotted;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
    margin-left: 0.5em;
}
#page .sample-title span{
    background-color: #E5E5E5;
}
#page .sample-subtitle{
    font-size: 1.5rem;
    font-weight: bold;
    color: #232323;
}


/* *****上下中央揃え***** */

iv.outer-element {
    position:relative;
}
 
div.outer-element .inner-element {
    margin-top:-1em;
    position:absolute;
    top:50%;
    height:2em;
}



/* *****フォーム***** */

.form1 label{
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.form1 input,
.form1 textarea,
.form1 select{
    max-width: 768px;
}
.form1 .form-group{
    margin-bottom: 2rem;
}


/* *****画像線追加***** */
.shikaku{border:2px solid #444444;}


/*****フォント色******/
.extrafont1{ color: #FF5F25; }
	
