 /* サイト全体の設定 */
  * {
      color: white;
      font-family:"Yu Mincho","YuMincho","ヒラギノ明朝 ProN","Hiragino Mincho Pro" ;
  }

  body {
      width: 100%;
      background-color: black;
  }

  /*  アニメーション設定 */
  .image {
    width: 100%;
    height: 100vh;
    background-image: url(assets/images/アニメ\ –\ 2.png);
    background-size: cover;
    background-position: center;
    animation: change-img-anim 2s infinite;
  }
  @media screen and (max-width: 768px) {
  
    .image {
      width: 80%;
      height: 100vh;
      background-image: url(assets/images/アニメ\ –\ 2.png);
      background-size: cover;
      background-position: center;
      animation: change-img-anim 2s infinite;}
  
  @keyframes change-img-anim {
    0%{ opacity: 0;}
    50%{ opacity: 1;}
    100%{ opacity: 0;}
  }
}
@media screen and (max-width: 480px) {
.image {
  width: 60%;
  height: 100vh;
  background-image: url(assets/images/アニメ\ –\ 2.png);
  background-size: cover;
  background-position: center;
  animation: change-img-anim 2s infinite;}

}

  nav {
    display: flex;
    justify-content: space-around;
    align-items:end;
    min-height: 8vh;
    position: fixed;
    background-color: black;
    width: 100%;
    top: 0;
    z-index: 10000;
    margin-right: -90%;
  }

  .logo {
    color: white;
    font-size: 22px;
  }

  .nav-links {
    display: flex;
    justify-content: space-around;
    width: 50%;
    left: 0%;

  }

  .nav-links li {
    list-style: none;
  }

  .nav-links a {
    text-decoration: none;
    color: white;
    font-weight: bold;
  }

  .burger {
    display: none;
    cursor: pointer;
  }

  .burger div { 
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px;
    transition: 0.5s ease;
  }

  .nav-active {
    transform: translateX(0%) !important;
  }

  @media screen and (max-width: 1024px) {
    .nav-links {
      width: 55%;
    }
  }

   
    body {
      overflow-x: hidden;
    }
    .nav-links {
      /* display: flex; */
      position: absolute;
      right: 0;
      height: 92vh;
      top: 5vh;
      background-color: black;
      color:black;
      flex-direction: column;
      align-items: center;
      width: 100%;
      transform: translateX(100%);
      transition: transform 0.5s ease-in;
    }

    .nav-links li {
      opacity: 0;
    }

    .burger {
      display: block;
      margin-right: -20%;
      background-color: black;
      padding-top: 0.8%;
      padding-bottom: 0.8%;
      padding-left: 0.5%;
      padding-right: 0.5%;
    }

  @keyframes navLinksFade {
    0% {
      opacity: 0;
      transform: translateX(50px);
    }
    100% {
      opacity: 1;
      transform: translateX(0px);
    }
  }

  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  .toggle .line2 {
    opacity: 0;
  }
  .toggle .line3 {
    transform: rotate(405deg) translate(-5px, -6px);
  }




  /* ↓はメインビジュアルの動画設定 */
  video {
      display: inline-flex;
      width: 85%;
      height: 70%;
      margin-top:7%;
      margin-left: 5%;
      margin-right: 5%;
      margin-bottom: 5%;
  }

  .movie {
      text-align: center;
  }


  .first-view h3 {
      position: absolute;
      top: 270px;
      writing-mode: vertical-lr;
  }


  @media screen and (max-width: 768px) {
    .first-view {
      display:flex;
      flex-flow: column;
  }

  .first-view h3 { 
display: none;
  }

  video {
    display: inline-flex;
    width: 85%;
    height: 70%;
    margin-top:20%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
  }
  }

  .first-content {
      margin: 0%;
      padding: 0%;
  }

  /*scrollの設定*/
  .scroll { 
      height: 450px;
      border: 1px solid #333;
      overflow-y: scroll;
      background-color: #fff;
  }

  .hidari {
      text-align: left;
      float: left;     
  }
  .migi {
      text-align: right; 
  }


  /*box1内(about)の設定*/
  .box1 {
      display: flex;
      background:linear-gradient(0deg,#223670 0%,#223670 50%,black 50%,black 100%); 
      background-clip: border-box;     
  }

  .box1 h3 {
      writing-mode: vertical-lr;
      text-align: center;
      left: 100%;
  }

  .panels p{
    color: #333;
  }

  .tab_contents {
    width: 100%;
    padding: 30px;
    margin: 20px auto;
  }

  .tab_wrap {
    width: 95%;
  }
  @media screen and (max-width:900px) {
    .tab_wrap {
      width: 100%;
      margin: 0 auto;
    }
  }

  @media screen and (max-width: 768px) {
    .box1{
      margin-bottom: 5%;
    }
  .box1 h3 {
    font-size: 0.8rem;
    writing-mode: horizontal-tb;
    position: absolute;
    left: 48%;
    margin-top: 10%;
  }

  .tab_lab1, .tab_lab2{
    background: white;
    color: black;
    padding: 3px;
    font-size: 0.7rem;
  }

    .panels p{
      font-size: 0.64rem;
    }

    .tab_contents {
      width: 85%;
      padding: 0px;
      margin-top: 25%;

    }

    .migi {
      text-align:justify;
  }

  .scroll { 
    height: 200px;
    padding: 10px;
    padding-left: 10px;
    border: 1px solid #333;
    overflow-y: scroll;
    background-color: #fff;
  }

  }

  #area1{
  text-align: center;
  background-color: #fff;

  }
  /*タブボタンデザイン*/
  .tab_lab1, .tab_lab2{
    background: white;
    color: black;
    padding: 3px;
  }



  /*タブボタンとボックス連動*/
  #tab1:checked~.panels #area1 {
    display: block;
    background-color: #fff;
  }
  #tab2:checked~.panels #area2 {
    display: block;
    background-color: #fff;
    
  }

  /*チェックボックスとボックス非表示*/
  input[name="check"] {
    display: none;
  }
  .panel {
    padding: 50px;
    display: none;
  }

  /*アニメーション設定*/
  @keyframes SlideUp {
    0% {
      transform: translateY(50px);
      /* Y軸方向に50px */
      opacity: 0;
      /* 透明 */
    }
    100% {
      transform: translateY(0);
      /* Y軸方向に0px */
      opacity: 1;
      /* 不透明 */
    }
  }
  /*アニメーション設定end*/

  /*ボックスを下から上へ*/
  .scroll {
    animation-name: SlideUp;
    animation-duration: 2s;
    width: 100%;
  }

  .area1 p {
    animation-name: SlideUp;
    animation-duration: 2s;
    width: 100%;
  }

  /* box2内(conductor)の設定 */
  .box2 {
      display: flex;
      margin-top: 8%;
      margin-bottom: 10%;
  }
      
  .box2 h3 {
      writing-mode: vertical-lr;
      text-align: center;

  }

  .bun{
    margin-left: 3%;
    margin-right: 5%;
    } 

    .box2 img {
      display: flex;
      width: 40%;
      height: 40%;
  }
  
  @media screen and (max-width: 768px) {
.box2{
  display:flex;
  flex-flow: column;
}

    .box2 h3 {
      font-size: 0.8rem;
    writing-mode: horizontal-tb;  
    text-align: center;
    height:10px;
  line-height:30px;
    margin-top: 5%;
    
  }

  .bun{
  font-size: 0.7rem;
  margin-top: 10%;
  text-align: center;
    } 

    .box2 img {
      width: 50%;
      height: 50%;
      margin-left: 25%;
      margin-top: 5% ;
  }
    
  }



  /* box2(conductor)の設定終了 */

  /* box3内(news)の設定 */
  #cards {
      display: flex;
      justify-content: center;
      background-color: #D0A900;
  }

  .card {
      width: 33.3%;
      margin-top: 50px;
  }

  #cards h3 {
      writing-mode: vertical-lr;
      text-align: center;
  }

  .card:nth-child(2) {
      margin-right: 10px;
      margin-left: 15px;
  }

  .picture img {
  width: 80%;
  height: 250px;
  object-fit: cover; /* width, heightといっしょに使います */
  border: 1px solid #111;
  }

  .description {
      width: 100%;
      height: 100%;
      padding-right: 12px;
      padding-left: 12px;
      box-sizing: border-box;
  }

  .description p {
      font-size: 13px;
      color: white;
      padding-bottom: 20px;
  }

  @media screen and (max-width: 768px) {

    .description p {
      font-size: 0.5rem;
      color: white;
      padding-bottom: 20px;
  }

  #cards h3 {
    position: absolute;
  font-size: 0.8rem;
  writing-mode: horizontal-tb;  
  text-align: center;
  height:10px;
line-height:30px;
  }

  .picture img {
    width: 80%;
    height: 150px;
    object-fit: cover; /* width, heightといっしょに使います */
    border: 1px solid #111;
    }
  
    .picture img:nth-child(1)  {
    margin-left: 2%;
  }
}

  /* box3(news)の設定終了 */

  /*フォーム全体設定*/
  .Form {
    flex-direction: column;
    margin-left: auto;
    margin-right: auto;
    max-width: 100%;
    background:linear-gradient(0deg,#223670 0%,#223670 64%,black 50%,black 100%);
    background-clip: border-box;     
  }

  .Form h3{
    text-align: center;
    margin-bottom:5%;
    margin-top:7%;
  
  }

  /*フォーム位置調整*/
  .Form-Item {
    padding-bottom: 24px;
    width: 100%;
    display: flex;
  justify-content: center;
  }

  /*項目名設定*/
  .Form-Item-Label {
    width: 100%;
    max-width: 248px;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
    margin-top: 0.5px;
  }

  /*テキストボックス調整*/
  .Form-Item-Input {
    border: 1px solid #ddd;
    padding-left: 1em;
    padding-right: 4em;
    height: 40px;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    color: #333;
    font-size: 18px;
    margin-left: -100px ;
  }


  /*message タイトル位置調整*/
  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }

  /*message欄　調整*/
  .Form-Item-Textarea {
    border: 1px solid #ddd;
    color: #333;
    margin-left: -100px;
    padding-left: 1em;
    padding-right: 5em;
    height: 200px;
    flex: 1;
    width: 100%;
    max-width: 410px;
    background: #eaedf2;
    font-size: 18px;
  }

  /*フォームボタン*/
  .Form-Btn {
    margin-left: 50%;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    color:  white;
    font-size: 20px;
    font-weight: bold;
    text-align: right;
    background: transparent;
    border:none;
    border-radius: 6px;
    position: relative;
    z-index: 1;
    transition: .3s;
    cursor: pointer;
  }

  .Form-Btn:hover { 
    color: #D0A900  ;
  }

  /*注意書き*/
  .henji{
    text-align: center;
  }



  .text{
    text-align: center;
    background-color: black;
    padding: 2%;
  }
  /*以下,レスポンシブ*/

  @media screen and (max-width: 480px) {

    .henji{
      font-size: 0.6rem;

    }
    .text{
    font-size: 0.5rem;
    }
  }
  @media screen and (max-width: 480px) {
    .Form-Item-Label.isMsg {
      margin-top: 0;
    }
  } 

  @media screen and (max-width: 480px) {
    .Form-Item-Input {
      margin-left: 0;
      margin-right: 10px;
      margin-top: 18px;
      height: 40px;
      flex: inherit;
      font-size: 15px;
      width:70%;
    }
  }

  @media screen and (max-width: 480px) {
    .Form-Item-Textarea {
      margin-top: 18px;
      margin-left: 0;
      height: 200px;
      flex: inherit;
      font-size: 15px;
      width: 65%;
    }
  }

  @media screen and (max-width: 480px) {
    .Form-Btn {
      margin-top: 24px;
      padding-top: 8px;
      padding-bottom: 8px;
      width: 160px;
      font-size: 14px;
    }
  }

  @media screen and (max-width: 480px) {
    .Form {
      margin-top: 40px;
    }
  }

  @media screen and (max-width: 480px) {
    .Form-Item {
      padding-left: 10px;
      padding-right: 10px;
      padding-top: 14px;
      padding-bottom: 14px;
      flex-wrap: wrap;
    }
  }


  @media screen and (max-width: 480px) {
    .Form-Item-Label {
      max-width: inherit;
      display: flex;
      align-items: center;
      font-size: 0.8rem;
    }

    .contact{
  font-size: 0.8rem;

    
    }
  }

  /* box4の設定終了 */

  .container {
	position: relative;
	width: 500px;
	max-width: 100%;
	height: 400px;
}

.image {
	position: absolute;
	width: 100%;
	opacity: 0;
	animation: change-img-anim 30s infinite;
}

.image:nth-of-type(1) {
	animation-delay: 0s;
}
.image:nth-of-type(2) {
	animation-delay: 10s;
}
.image:nth-of-type(3) {
	animation-delay: 20s;
}

@keyframes change-img-anim {
	0%{ opacity: 0;}
	10%{ opacity: 1;}
	90%{ opacity: 1;}
	100%{ opacity: 0;}
}