html{
  scroll-behavior: smooth;
}

.wrap{
  scroll-behavior: smooth;
}

.hrv1{
    position: relative;
	height: 2px;
    width: 5%;
	border-width: 0;
	background-color: #00bcd4;
	background-image: -webkit-linear-gradient(left,
	#CC0717 0%,#A21111 50%,#610A0A 100%);
	background-image:         linear-gradient(90deg,
	#CC0717 0%,#A21111 50%,#610A0A 100%);
}

nav li.current{
  border-bottom: 3px solid #CC0717;
}

.label-main {
  padding: 0.5em 3em;
  border-radius: 5px;
  color: #FFFFFF;
  font-weight: 500;
  font-size: 0.75em;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 3px;
  line-height: 17px;
  background-color: #CC0717;
}

.section-fix {
    background-color: #FAFAFA;
}

.box {
    display: flex;
    flex-flow: row wrap;
}

@media (max-width: 768px) {
    .box .item1{order: 1;}
    .box .item2{order: 2;}
}

.youtube{
  position:relative;
  padding-top:56.25%;
  height: 0;
  overflow: hidden;
}
.youtube iframe{
  position:absolute;
  top:0;
  right:0;
  width: 100%;
  height: 100%;
}

.youtube2{
  position:relative;
  padding-top:56.25%;
  height: 0;
  overflow: hidden;
}
.youtube2 iframe{
  position:absolute;
  top:0;
  right:0;
  width: 100%;
}

/*ボックス全体*/
.accbox {
    margin: 2em 0;
    padding: 0;
}

/*ラベル*/
.accbox label {
    display: block;
    margin: 1.5px 0;
    padding : 13px 12px;
    font-weight: bold;
    background: #fafafa;
    cursor :pointer;
    transition: all 0.5s;
}

/*アイコンを表示*/
.accbox label:before {
    content: '\f054';
    font-family: 'FontAwesome';
    padding-right: 8px;
}

/*ラベルホバー時*/
.accbox label:hover {
    background :#ffe9a9;
}

/*チェックは隠す*/
.accbox input {
    display: none;
}

/*中身を非表示にしておく*/
.accbox .accshow {
    height: 0;
    padding: 0;
    overflow: hidden;
    opacity: 0;
    transition: 0.8s;
}

/*クリックで中身表示*/
.cssacc:checked + label + .accshow {
    height: auto;
    padding: 5px;
    background: #fff5eb;
    opacity: 1;
}

.accbox .accshow p {
    margin: 15px 10px}

/*アイコンを入れ替える*/
.cssacc:checked + label:before {
    content: '\f078';
}


.btn-cta {
  background-color: #CC0717;
  border-color: #CC0717;
  color: #FFFFFF;
  opacity: 1;
  filter: alpha(opacity=100);
  padding: 0.5rem 32px;
}

.btn-cta-fix {
  background-color: #CC0717;
  border-color: #CC0717;
  color: #FFFFFF;
  opacity: 1;
  filter: alpha(opacity=100);
  padding: 0.5rem 5rem;
}

.btn-cta:hover, .btn-cta:focus, .btn-cta:active, .btn-cta.active, .show > .btn-cta.dropdown-toggle {
  background-color: #E84646;
  color: #FFFFFF;
  border-color: #E84646;
}

.btn-cta.btn-link {
  color: #CC0717;
}

.btn-cta.btn-link:hover, .btn-cta.btn-link:focus, .btn-cta.btn-link:active, .btn-cta.btn-link.active, .open > .btn-cta.btn-link.dropdown-toggle {
  background-color: transparent;
  color: #E84646;
}

.btn-outline-cta {
  border-color: #CC0717;
  color: #CC0717;
  opacity: 1;
  filter: alpha(opacity=100);
}
.btn-outline-cta:hover, .btn-outline-cta:focus, .btn-outline-cta:active, .btn-outline-cta.active, .open > .btn-outline-cta.dropdown-toggle {
  background-color: #CC0717;
  color: rgba(255, 255, 255, 0.8);
  border-color: #CC0717;
}
.btn-outline-cta:hover .caret, .btn-outline-cta:focus .caret, .btn-outline-cta:active .caret, .btn-outline-cta.active .caret, .open > .btn-outline-cta.dropdown-toggle .caret {
  border-top-color: rgba(255, 255, 255, 0.8);
}
.btn-outline-cta .caret {
  border-top-color: #FFFFFF;
}
.btn-outline-cta.disabled, .btn-outline-cta.disabled:hover, .btn-outline-cta.disabled:focus, .btn-outline-cta.disabled.focus, .btn-outline-cta.disabled:active, .btn-outline-cta.disabled.active, .btn-outline-cta:disabled, .btn-outline-cta:disabled:hover, .btn-outline-cta:disabled:focus, .btn-outline-cta:disabled.focus, .btn-outline-cta:disabled:active, .btn-outline-cta:disabled.active, .btn-outline-cta[disabled], .btn-outline-cta[disabled]:hover, .btn-outline-cta[disabled]:focus, .btn-outline-cta[disabled].focus, .btn-outline-cta[disabled]:active, .btn-outline-cta[disabled].active, fieldset[disabled] .btn-outline-cta, fieldset[disabled] .btn-outline-cta:hover, fieldset[disabled] .btn-outline-cta:focus, fieldset[disabled] .btn-outline-cta.focus, fieldset[disabled] .btn-outline-cta:active, fieldset[disabled] .btn-outline-cta.active {
  background-color: transparent;
  border-color: #CC0717;
}

.alert-cta {
  background-color: #FAFAFA;
}

.fadein {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1000ms;
}

.fadein.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}

.fadein-late {
  opacity: 0;
  transform : translate(0, 50px);
  transition : all 1350ms;
}

.fadein-late.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}

/* 「RightToLeft」の動作内容 */
@keyframes RightToLeft {
  0% {
    opacity: 0;/* 透明 */
    transform: translateX(50px);/* X軸方向に50px */
  }
  100% {
    opacity: 1;/* 不透明 */
    transform: translateX(0);
  }
}

.move {
  animation-duration: 3s;/* アニメーション時間 */
  animation-name: RightToLeft;/* アニメーション名 */
}

video {
  position: absolute;
  top: 0;
  left: 0;
  width: auto;
  height: auto;
  min-width: 100%;
  min-height: 100%;
  background: url('../img/top.jpg') no-repeat;
  background-size: cover;
  z-index: -1;
}

.pattern {
  width: 100%;
  height: 100%;
  background: url(../img/overlays/05.png);
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1;
}

.text {
  display: inline-block;
}

.link-w {
    color: #fff;
}

@media (max-width: 1024px) {
    h3.title{
        font-size: 1.5em;
    }
    
    p{
        font-size: 14px;
    }
}

@media (max-width: 768px) {
    h2.subtitle{
        font-size: 1em;
    }
    
    .catch{
        font-size: 1.5em;
    }
    
    h3.title{
        font-size: 1.2em;
    }
    
    p{
        font-size: 14px;
    }
}

@media (max-width: 425px) {
    h2.subtitle{
        font-size: 14px;
    }
    
    .catch{
        font-size: 20px;
    }
    
    h3.title{
        font-size: 18px;
    }
    
    p{
        font-size: 14px;
    }
    
    label{
        font-size: 14px;
    }
}



/*------------
  通常テーブル（.demo01）
------------*/
.demo01 th  {
	width: 30%;
	text-align: center;
	background: #FAFAFA;
	color: #000;
    padding: 15px;
}

.demo01 td  {
    padding: 15px;
}
 
@media only screen and (max-width:480px){
    .demo01 th,
    .demo01 td{
    width: 100%;
    display: block;
    border-top: none;
    }
  .demo01 tr:first-child th {
		border-top: 1px solid #ddd;
	}
}

/*------------
  横長テーブル（.demo02）
------------*/
.demo02 th  {
	width: 13%;
	background: #41384A;
	color: #fff
}
.demo02 td  {
	text-align: center;
}
.demo02 td:first-child  {
	text-align: left;
	background: #E6E3E3;
}

@media only screen and (max-width: 800px) { 
  .demo02 { 
    display: block; 
    width: 100%; 
  }
  .demo02 thead{ 
    display: block; 
    float: left;
    overflow-x:scroll;
  }
  .demo02 tbody{ 
    display: block; 
    width: auto; 
    overflow-x: auto; 
    white-space: nowrap;
  }
  .demo02 th{ 
    display: block;
    width:auto;
  }
  .demo02 tbody tr{ 
    display: inline-block; 
    margin: 0 -3px;
  }
  .demo02 td{ 
    display: block;
  }
}

/*------------
  リストテーブル（.demo03）
------------*/
.demo03 th  {
	background: #41384A;
	color: #fff
}

.demo03 th, .demo03 td  {
	width: 20%;
	text-align: left;
}

@media only screen and (max-width: 480px) { 
  .demo03 tr {
    display:block;
    margin-bottom: 10px;
  }
  .demo03 th {
    display:block;
    width: 100%;
  }
  .demo03 td {
    display: list-item;
    width: 90%;
    margin-left: 10%;
    border:none;
  }
}

/* 入力エラーのスタイル */
input[type=text]:required,
input[type=email]:required,
input[type=email]:invalid,
textarea:required {
	color: #630015;
	border-color: #F5593D;
	background-color: #ffd9e1;
}

/* 入力値が正常な時のスタイル */
input[type=text]:valid,
input[type=email]:valid,
textarea:valid {
	color: #333;
	border-color: #6BD098;
	background: #fff;
}

.marker {
background: linear-gradient(transparent 60%, #ffff66 60%);
}
