* {

  margin: 0;
  padding: 0;
  box-sizing: border-box;
    list-style: none;
    text-decoration: none;
  }
  
  body {
      width: 100%;
      height: 100vh;
      background-size: cover;
      background-position: center;
      background-color: #E6E6E6;
    
  }
  
  .header{
      background-size: cover;
      background-position: center;
      background-color: #ffffffcc;
      position:fixed;
      top:0;
      left:0;
      width: 100%;
      height: 10vh;
      z-index: 2;
  
  }
  
  .headerlogo{
      height: 100px !important;
      margin: .10em left;
      justify-content:space-between;
      padding:0 2%;
      align-items:center;
      position:fixed;
      top:0.5%; 
      left:0;
      z-index: 2;
  }
  
  .headerlogo img {
      width: 100%;
     height: 74%;
  }
  
  .menubar{
        background-color: #ffffff00;
        text-align: right;
        position:fixed;
        top:0.5%;
        right: 0;
        z-index: 2;
  }
  
  .menubar-pc ul li{
      display: inline-block;
      width: 110px;
      margin: 0 20px;
      padding-top: 25px;
      padding-bottom: 20px;
      cursor: pointer;
      transform: all 0.2s;
      text-align:center
  }
  
  .menubar-pc ul li a {
    text-decoration: none;
    color: #fff;
    font-weight: 600;
    font-size: 12px;
  }
  
  .active,
  .menubar-pc ul li a:hover {
      background-color: #cc0000;
      color: pink;
      
  }
  
  .pcsubmenu-1,
  .pcsubmenu-2,
  .pcsubmenu-3,
  .pcsubmenu-4 {
      position: absolute;
      background-color: #cc0000E6;
      margin-top: 20px;
      padding-top: 10px;
      padding-bottom: 10px;
      display: none;
      cursor: pointer;
     
  }
  
  .menubar-pc ul li:hover .pcsubmenu-1,
  .menubar-pc ul li:hover .pcsubmenu-2,
  .menubar-pc ul li:hover .pcsubmenu-3,
  .menubar-pc ul li:hover .pcsubmenu-4 {
      display: block;
  }
  
  .menubar-pc ul li:hover .pcsubmenu-1 ul li, 
  .menubar-pc ul li:hover .pcsubmenu-2 ul li,
  .menubar-pc ul li:hover .pcsubmenu-3 ul li, 
  .menubar-pc ul li:hover .pcsubmenu-4 ul li {
      display: block;
      width: 135px;
      border-bottom: solid 1px white;
      white-space: nowrap;
      font-size: 1.7vmin;
  }
  
  .checkbox-hidden{
    display: none;
  }
  
  label {
    position:fixed;
    top: 2.2rem;
    right: 5.2%;
    width: 30px;
    height: 16px;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
  }
  
  .hamburger {
    z-index: 100;
  }
  
  .hamburger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: transform 0.5s, opacity 0.5s, width 0.3s;
  }
  
  .hamburger span:nth-child(1) {
    top: 0;
  }
  
  .hamburger span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
  }
  
  .hamburger span:nth-child(3) {
    bottom: 0;
  }
  
  #navTgl:checked + .hamburger span:nth-child(1) {
    transform: translateY(7px) rotate(45deg);
    background-color: #fff;
  }
  
  #navTgl:checked + .hamburger span:nth-child(2) {
    top: 0;
    bottom: 0;
    margin: auto;
    width: 0px;
    opacity: 0;
    background-color: #fff;
  }
  
  #navTgl:checked + .hamburger span:nth-child(3) {
    transform: translateY(-7px) rotate(-45deg);
    background-color: #fff;
  }
  
  .menu {
    width: 100%;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 100%;
    opacity: 0;
    z-index: 99;
    background: #cc0000E6;
    transition: 0.5s ease-in-out;
  }
  
  .menu ul {
    text-align: left 20%;
    margin-top: 20%;
  }

  .menu ul .active-sumafo{
    float: left;
    margin-right: 30px;
    line-height: 60px;
    font-size: 17px;
    font-weight: bold;
    white-space: nowrap;
    height: auto;
    width: 100%;
    padding: 0px 20px;
    border-bottom: 1px solid #DDD;
  }
  
  .menu ul li {
    position: relative;
    margin-bottom: 60px;
    transform: translateX(-100px);
    transition: transform 1.3s ease;
  }
  
  .menu ul li:nth-child(2) {
    transition-delay: 0.15s;
  }
  
  .menu ul li:nth-child(3) {
    transition-delay: 0.3s;
  }
  
  .menu ul li:nth-child(4) {
    transition-delay: 0.45s;
  }
  
  .menu ul li a {
    margin: 3%;
    font-size: 1.15rem;
    color: #fff;
    z-index: 100;
  }
  
  #navTgl:checked ~ .menu {
    left: 0;
    opacity: 1;
  }
  
  #navTgl:checked ~ .menu li {
    transform: translateX(0px);
  }
  
  .sumafosubmenu-1,
  .sumafosubmenu-2,
  .sumafosubmenu-3,
  .sumafosubmenu-4 {
      text-align: center;
      left: 40%;
      position: absolute;
      background-color: #cb8686e6;
      margin-top: -20%;
      padding-top: 0%;
      padding-bottom: 0;
      display: none;
  }

  .menubar-sumafo ul li a:hover {
      background-color: #cc0000;
      color: pink;
  }
  
  .menubar-sumafo ul li:hover .sumafosubmenu-1,
  .menubar-sumafo ul li:hover .sumafosubmenu-2,
  .menubar-sumafo ul li:hover .sumafosubmenu-3,
  .menubar-sumafo ul li:hover .sumafosubmenu-4 {
      display: block;
  }
  
  .menubar-sumafo ul li:hover .sumafosubmenu-1,
  .menubar-sumafo ul li:hover .sumafosubmenu-2,
  .menubar-sumafo ul li:hover .sumafosubmenu-3,
  .menubar-sumafo ul li:hover .sumafosubmenu-4 {
    display: block;
    width: 220px;
    line-height: 5%;
  }
  
  #input:checked ~ #content {
    transform: translateX(0px);
  }

.mainvisualpc {
  position: relative;
  width: 100%;
  height: 50vw;
  top: 10%;
  overflow: hidden;
  z-index: 1;
}
 
@keyframes slideshow {
0%{
  opacity: 0;
}
10%{
  opacity: 1;
}
28%{
  opacity: 1
}
38%{
  opacity: 0;
}
100%{
  opacity: 0;
}
}

.mainvisualpc img {
  width: 100%;
	height: 100%;
  display: block;
}

.mainvisualpc h1{
  text-align: center;
  position: absolute;
  color: rgb(223, 222, 222);
  -webkit-text-stroke: 1px #989797;
  top: 50%;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  font-size: clamp(2rem, 3vw + 2rem, 3.25rem);
  font-family:'Times New Roman', Times, serif
}

.itemspc {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: auto;
  opacity: 0;
  animation :slideshow 15s linear infinite;
  
}
 
.itemspc:nth-child(2){
  animation-delay: 5s;
}
 
.itemspc:last-child{
  animation-delay: 10s;
}

.mainvisualsp {
  position: relative;
  width: 100%;
  height: 70%;
  top: 10%;
  overflow: hidden;
  z-index: 1;
  display: none;
}
 
@keyframes slideshow {
0%{
  opacity: 0;
}
10%{
  opacity: 1;
}
28%{
  opacity: 1
}
38%{
  opacity: 0;
}
100%{
  opacity: 0;
}
}

.mainvisualsp img {
  width: 100%;
	height: 100%;
  display: none;
}

.mainvisualsp h1{
  text-align: center;
  position: absolute;
  color: rgb(223, 222, 222);
  -webkit-text-stroke: 1px #989797;
  top: 70%;
  left: 50%;
  z-index: 2;
  -webkit-transform: translate(-70%,-70%);
  transform: translate(-50%,-50%);
  margin:0;
  padding:0;
  display: none;
  font-size: clamp(1.75rem, 3vw + 1.75rem, 3.25rem);
  font-family:'Times New Roman', Times, serif
}

.itemssp {
  position: absolute; 
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 100%;
  opacity: 0;
  animation :slideshow 15s linear infinite;
  
}
 
.itemssp:nth-child(2){
  animation-delay: 5s;
}
 
.itemssp:last-child{
  animation-delay: 10s;
}

.typing-animation {
  margin: 0 auto;
	width: 38ch;	
	border-right: 3px solid #000;	
	overflow: hidden;	
	white-space: nowrap;
	color:#000;
	font-size:2.0rem;
	line-height:1.4;
	font-weight:500;
	animation: typing 5s steps(18), blink .4s step-end infinite alternate;	
  font-family:'Times New Roman', Times, serif
}
@keyframes typing {
	from {
		width: 0;
	}
}
@keyframes blink {
	50% {
		border-color: transparent;		/*点滅風に見せる*/
	}
}


/* ここからニュース */

.news_list_item a {
  text-decoration: none;
  color: #000;
}

.news_list ul {
  list-style: none;
  padding: 0;
  margin: 0;
}


.inner {
width: 80%;
background-color: #fff;
margin: 0 auto;
padding: 5rem
}


.sub_ttl {
font-size: 30px;
text-align: center;
margin-bottom: 50px;
}

/* ここからがニュース記事のCSS */

.news_list {
margin: 0 5%;
}

.news_list_item {
padding: 25px 0;
border-bottom: 1px solid #E6E6E6;
}

.news_list_item:first-child {
border-top: 1px solid #E6E6E6;
}

.news_list_item a {
position: relative;
display: flex;
padding-right: 30px;
}

.news_list_date {
font-size: 15px;
color: #fff;
display: flex;
margin-right: 5%;
align-items: center;
}

.news_item {
background: #cc0000;
border-radius: 0px;
width: 8em;
/* 親要素の文字サイズを基準 */
text-align: center;
margin-left: 20px;
}

.arrow {
width: 25px;
height: 1px;
background: #707070;
position: absolute;
top: 50%;
right: 0;
}

.arrow::after {
content: "";
display: block;
width: 6px;
height: 1px;
background: #707070;
transform: rotate(35deg);
position: absolute;
right: 0px;
bottom: 2px;
display: block;
transition: all .3s;
}

.arrow:hover::after {
  right:-20%;
}

.twitter-timeline{
  padding: 2%;
  margin-left: auto;
	margin-right: 20px;
}

.footer {
  background: #fff;
}

.footer .info img{
  align-items: center;
}

.footer .cont-wrap {
  padding: 40px 10%;
}
 
.footer .info .address {
  margin: 20px 0;
  padding-left: 20px;
  border-left: 1px solid #000;
  color: #000;
}
 
.footer .cont .nav a {
  color: #000;
}
 
.footer .cont-wrap .map {
  width: 100%;
  height: 300px;
}
 
.footer .cont-wrap .map iframe {
  margin-top: 5%;
  width: 100%;
  height: 270px;
}

@media screen and (max-width: 768px){
  .headerlogo img {
    width: 90%;
   height: 70%;
}
}

@media screen and (min-width: 768px){
  .menubar-sumafo {
    display: none;
    position: absolute;
    width: 100%;
    background-color: #cc0000E6;
    z-index: 1;
    text-align: center;
  }
}

@media screen and (max-width: 768px){
  .menubar-pc{
    display: none;
  }
}

@media screen and (max-width: 768px){
 .sumafosubmenu-1,
 .sumafosubmenu-2,
 .sumafosubmenu-3,
 .sumafosubmenu-4 {
    left: 30%;
    margin-top: -18%;
    padding: 0;
    padding-top: 2%;
}
}
@media screen and (max-width: 700px){
  .sumafosubmenu-1,
  .sumafosubmenu-2,
  .sumafosubmenu-3,
  .sumafosubmenu-4 {
     left: 32%;
     margin-top: -19%;
     padding: 0;
     padding-top: 2%;
 }
 }

 @media screen and (max-width: 600px){
  .sumafosubmenu-1,
  .sumafosubmenu-2,
  .sumafosubmenu-3,
  .sumafosubmenu-4 {
     left: 35%;
     margin-top: -22%;
     padding: 0;
     padding-top: 2%;
 }
 }

 @media screen and (max-width: 500px){
  .sumafosubmenu-1,
  .sumafosubmenu-2,
  .sumafosubmenu-3,
  .sumafosubmenu-4 {
     left: 35%;
     margin-top: -26%;
     padding: 0;
     padding-top: 2%;
 }
 }

 @media screen and (max-width: 430px){
  .sumafosubmenu-1,
  .sumafosubmenu-2,
  .sumafosubmenu-3,
  .sumafosubmenu-4 {
     left: 40%;
     margin-top: -34%;
     padding: 0;
     padding-top: 2%;
 }
 }


@media screen and (max-width: 599px){
  .mainvisualpc{
    display: none;
  }
  .mainvisualpc h1{
    display: none;
  }
  .mainvisualpc img{
    display: none;
  }
  .itemspc{
    display: none;
  }  
}

@media screen and (max-width: 599px){
  .mainvisualsp {
   display: block;
   height: 65%;
  }
}
@media screen and (max-width: 480px){
  .mainvisualsp {
   display: block;
   height: 60%;
  }
}

  @media screen and (max-width: 599px){
  .mainvisualsp img{
   display: block;
  }
}

@media screen and (max-width: 640px){
  .mainvisualpc h1{
    font-size: 2.75rem;
    display: block;
  }
  }


@media screen and (max-width: 599px){
  .mainvisualsp h1{
    font-size: 2.5rem;
    display: block;
  }
  }

@media screen and (max-width: 520px){
  .mainvisualsp h1{
    font-size: 2.25rem;
  }
  }

  @media screen and (max-width: 442px){
    .mainvisualsp h1{
      font-size: 2rem;
    }
    }

  
  @media screen and (max-width: 392px){
    .mainvisualsp h1{
      font-size: 1.9rem;
    }
    }


@media screen and (max-width: 768px){
  .typing-animation{
   font-size: 1.75rem;
  }
}
@media screen and (max-width: 480px){
  .typing-animation{
   font-size: 1.25rem;
  }
}

@media screen and (max-width: 480px){
.news_item {
  width: 15em;
  text-align: center;
  margin-left: 20px;
  }
.news_list_date {
  font-size: 12px;
}
}

@media screen and (max-width: 1024px) {
  .news_list_item a {
      display: block;
  }
}

@media screen and (max-width: 768px) {
  .news_list_item a  {
      font-size: 14px;
  }

}
@media screen and (max-width: 480px) {
  .arrow {
      display: none;
  }
  .news_list_item a {
      padding-right: 0;
  }
}

@media screen and (max-width: 768px){
  .news-list .item a{
    flex-wrap: wrap;
  }
  }

  @media  screen and (min-width: 768px) {
    .footer .cont-wrap {
      display: -webkit-box;
      display: -webkit-flex;
      display: -ms-flexbox;
      display: flex;
      -webkit-box-pack: justify;
      -webkit-justify-content: space-between;
      -ms-flex-pack: justify;
      justify-content: space-between;
    }
  }
  
  @media  screen and (max-width: 768px) {
    .footer .cont-wrap {
      padding: 30px 0;
    }
    .footer .cont .logo img {
      width: 200px;
    }
    .footer .nav {
      width: calc(100% + auto);
      margin-left: -20px;
    }
    .footer .nav li {
      border-top: 1px solid #555;
    }
    
    .footer .nav li:last-child {
      border-bottom: 1px solid #555555;
    }
    .footer .nav li a {
      display: block;
      padding: 12px 20px;
      background-size: 6px auto;
    }
    .footer .cont-wrap .map {
      margin-top: 20px;
      width: 100%;
      height: 200px;
    }
  }
  
  @media screen and (max-width: 599px){
    .footer .nav img {
      width:5%; 
      height:5%;
  }
}
  