@charset "UTF-8";

/*****************************
    topスライド
*****************************/
.topsec-firstview{
  padding-top: 0px;
  overflow: hidden;
  position: relative;
}
.topslider {
  height: 80vh;
  position: relative;
  width: 100%;
}
.topslider .slideitem {
  height: 80vh;
  width: 100%;
}

@media screen and (max-width: 767px) {
.topslider {
  height: 60vh;
  position: relative;
  width: 100%;
}
.topslider .slideitem {
  height: 60vh;
  width: 100%;
}
}


.topslider::after{
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  position: absolute;
  content: "";
  background: rgb(0,0,0,0);
}




/*****************************
  top キャッチコピー
*****************************/
.catchcopy{
position: absolute;
display: block;
max-width: 100%;
top: 56%;
left: 45%;
text-align: left;
transform: translateY(-50%) translateX(-0%);
margin: 0;
padding: 0;
z-index: 1;
margin-right: 20px;
}

@media screen and (max-width: 767px) {
  .catchcopy{
top: 75%;
left: 20px;
margin-right: 20px;
width: calc(100% - 40px);
  }
}

.catchcopy h2{
font-size: 35px;
color: #181818;
background: #fff;
border-radius: 20px;
padding: 10px 30px;
line-height: 1;
box-shadow: 2px 2px 1px #FF8000;
margin-bottom: 10px;
display: block;
}

.catchcopy p{
  font-size: 24px;
  color: #181818;
  background: #fff;
  border-radius: 15px;
  padding: 13px 30px;
  line-height: 1;
  box-shadow: 2px 2px 1px #FF8000;
  display: inline-block;
}
@media screen and (max-width: 1024px) {
.catchcopy h2{
  font-size: 30px;
  border-radius: 13px;
}
.catchcopy p{
  font-size: 20px;
  line-height: 1.4;
}
}

@media screen and (max-width: 767px) {
.catchcopy h2{
  font-size: 24px;
  padding: 10px 30px;
}
.catchcopy p{
font-size: 16px;
line-height: 1.4;
padding: 10px 30px;
}
}



/*****************************
  topsec-news
*****************************/
.topsec-news{
  margin: 0;
  padding: 30px 0;
}
.topsec-news input[type="radio"] {
  display: none;
}
.topsec-news .tab_area{
  margin-bottom: 3rem;
}
.topsec-news .tab_area .ftab{
background: #ccc;
border-radius: 5px;
position: relative;
text-align: center;
width: 140px;
margin-bottom: 15px;
color: #fff;
}
.topsec-news .tab_area .ftab.tnewsftab1{
  background: #0099FF;
  opacity: 0.3;
}
.topsec-news .tab_area .ftab.tnewsftab2{
  background: #FF8000;
  opacity: 0.3;
}
.topsec-news .tab_area .ftab.tnewsftab3{
  background: #129A02;
  opacity: 0.3;
}
.topsec-news .tab_area .ftab.tnewsftab4{
  background: #02209A;
  opacity: 0.3;
}



.topsec-news .tab_area .ftab label{
  cursor: pointer;
  display: block;
  font-weight: bold;
  padding: .3rem 0;
  position: relative;
  width: 100%;
  z-index: 1;
}


.topsec-news .tab_panel{
  display: none;
}
.topsec-news .tab_area .ftab:hover,
.topsec-news #tnewstab1:checked ~ .tab_area .tnewsftab1{
  background: #0099FF;
  color: #fff;
   opacity: 1;
}
.topsec-news .tab_area .tnewsftab2:hover,
.topsec-news #tnewstab2:checked ~ .tab_area .tnewsftab2{
  background: #FF8000;
  color: #fff;
   opacity: 1;
}
.topsec-news .tab_area .tnewsftab3:hover,
.topsec-news #tnewstab3:checked ~ .tab_area .tnewsftab3{
  background: #129A02;
  color: #fff;
   opacity: 1;
}
.topsec-news .tab_area .tnewsftab4:hover,
.topsec-news #tnewstab4:checked ~ .tab_area .tnewsftab4{
  background: #02209A;
  color: #fff;
   opacity: 1;
}

.topsec-news #tnewstab1:checked ~ .panel_area #tnewspanel1,
.topsec-news #tnewstab2:checked ~ .panel_area #tnewspanel2,
.topsec-news #tnewstab3:checked ~ .panel_area #tnewspanel3,
.topsec-news #tnewstab4:checked ~ .panel_area #tnewspanel4{
  display:block;
}

@media only screen and (max-width: 1024px) {
  .topsec-news .tab_area {
    margin-bottom: 4rem;
  }
}
@media only screen and (max-width: 820px) {
  .topsec-news .tab_area .ftab{
    margin: 1rem 1rem 0 0;
  }
}
@media only screen and (max-width: 767px) {
  .topsec-news .t-newsttlbox,
  .topsec-news .tab_area .ftab label{
    font-size: 1.4rem;
  }
}

/*****************************
  お知らせ一覧
*****************************/
.newslist{
  margin-bottom: 60px;
}
.newslinktab{
  margin-bottom: 5rem;
}
.newslinktab li{
  width: calc(15% - 10px);
}
.newslinktab  a.label{
  background: #ccc;
  border-radius: 5px;
  display: block;
  font-weight: bold;
  margin-right: 10px;
  opacity: 1 ;
  padding: .3rem 0;
  position: relative;
  text-align: center;
}
.newslinktab  a.label.label1{
background: #0099FF;
color: #fff;
opacity: 0.3;
}
.newslinktab  a.label.label2{
background: #FF8000;
color: #fff;
opacity: 0.3;
}
.newslinktab  a.label.label3{
background: #129A02;
color: #fff;
opacity: 0.3;
}
.newslinktab  a.label.label4{
background: #02209A;
color: #fff;
opacity: 0.3;
}



.newslinktab  a.label:hover,
.newslinktab  a.label.label_cr{
  background: #0099FF;
  color: #fff;
  opacity: 1;
}
.newslinktab  a.label.label_cr{
  pointer-events: none;
}
.newslinktab  a.label2:hover,
.newslinktab a.label2.label_cr{
  background: #FF8000;
  opacity: 1;
}
.newslinktab  a.label3:hover,
.newslinktab a.label3.label_cr{
  background: #129A02;
  opacity: 1;
}
.newslinktab  a.label4:hover,
.newslinktab a.label4.label_cr{
  background: #02209A;
  opacity: 1;
}

.newslist li{
  margin-top: 1rem;
}
.newslist a{
  opacity: 1 !important;
  position: relative;
}
.newslist a::before,
.newslist a::after{
  content: "";
  background: #e7e7e7;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 2px;
  width: 100%;
}
.newslist a::after{
  background: #7fccff;
  transition: 0.3s;
  width: 7%;
  z-index: 1;
}
.newslist a:hover::after{
  width: 100%;
}
.newslist a .cat,
.singlehead .cat{
  border-radius: 5px;
  color: #fff;
  margin-right: 1rem;
  text-align: center;
  width: 70px;
  font-size: 13px;
  line-height: 1;
  display: inline-flex;
  justify-content: center;
  align-items: center;
}
.newslist a .cat-cat01,
.singlehead .cat-cat01{
  background: #FF8000;
}
.newslist a .cat-cat02,
.singlehead .cat-cat02{
  background: #129A02;
}
.newslist a .cat-cat03,
.singlehead .cat-cat03{
  background: #02209A;
}


.newslist a .ttl{
  padding: 1rem 0;
}
@media only screen and (max-width: 820px) {
  .newslinktab li{
    margin: 1rem 1rem 0 0;
    width: calc(30% - 10px);
  }
}
@media only screen and (max-width: 767px) {
  .newslinktab li{
    width: calc(50% - 10px);
  }
  .newslist a .cat{
    font-size: 1.2rem;
    line-height: 2;
    width: 110px;
  }
  .newslist a .date{
    font-size: 1.4rem;
  }
  .singlehead .ttl{
    font-size: 2rem;
  }
}
.newsflex{
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: center;
}
.newsimg{
  width: 20%;
  margin-right: 20px;
}
.newscont{
  width: 100%;
}
.newsimg img{
  width: 100%;
  height: 120px;
  object-fit: cover;
  padding: 5px;
  aspect-ratio: 4/3;
}
@media only screen and (max-width: 767px) {
  .newsimg{
    margin-right: 10px;
  }
  .newsimg img{
    padding: 0;
    height: auto;
  }
}


/*****************************
ボタン
*****************************/
.top_btn {
  margin: 20px 0;
}
.top_btn a {
display: flex;
justify-content: center;
align-items: center;
position: relative;
width: 230px;
margin: 0 auto;
padding: 5px 30px 5px 2px;
border: 1px solid #0099FF;
color: #fff;
font-size: 1em;
transition: .6s;
background: #0099FF;
border-radius: 7px;
}

.top_btn.left_style a{
  margin: 0 0 0 auto;
}


.top_btn a:hover {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid #0326D8;
  color: #fff;
  background: #0326D8;
  opacity: 1;
  transition: .6s;
}
.top_btn a::after {
  position: absolute;
  right: 2em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: .5em;
  background-color: #fff;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
  transition: .6s;
}
.top_btn a:hover::after {
  /* transform: translateY(-50%) scaleX(1.4); */
  border: 1px solid #0099FF;
}
.top_btn a:hover::after {
  position: absolute;
  right: -1.5em;
  transform: translateY(-50%);
  transform-origin: left;
  width: 2em;
  height: .5em;
  background-color: #0099FF;
  clip-path: polygon(0 100%, 100% 100%, 70% 40%, 70% 90%, 0% 90%);
  content: '';
}

.bnner_area{
  margin: 10px 0;
  width: 250px;
}

.bnner_area .fb_style{
  margin-bottom: 20px;
}
.bnner_area .fb_style img{
      border: 1px solid #ebebeb;
}

/*****************************
    gmap 
*****************************/
.top_gmap {
height: 0;
overflow: hidden;
padding-bottom: 60%;
position: relative;
}
@media screen and (max-width: 1024px) {
.top_gmap {
padding-bottom: 50%;
  }
}
@media screen and (max-width: 600px) {
.top_gmap {
padding-bottom: 80%;
  }
}
.top_gmap iframe {
position: absolute;
left: 0;
top: 0;
height: 100%;
width: 100%;
}
/*****************************
    Access
*****************************/
.access_address_area h3{
  font-size: 18px;
  margin-top: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  letter-spacing: 1px;
}
.access_address_area address{
  font-size: 16px;
}
.access_address_area p{
  font-size: 16px;
    letter-spacing: 1px;
}
@media screen and (max-width: 600px) {
.access_address_area h3{
  font-size: 16px;
  letter-spacing: 1px;
}
.access_address_area address{
  font-size: 14px;
}
.access_address_area p{
  font-size: 16px;
    letter-spacing: 1px;
}
}

/*****************************
  TOPニュースフレックス
*****************************/

.t-newsbox{
    display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-content: flex-start;
  justify-content: flex-start;
  align-items: flex-start;
  
}
.t-newsbox .tab_area{
    width: 200px;
   padding: 10px;
   margin-left: 200px;
   position: relative;
}
.t-newsbox .panel_area{
  width: calc(100% - 400px);
  padding: 10px;
}
@media screen and (max-width: 1024px) {
.t-newsbox .tab_area{
    width: 200px;
   padding: 10px;
   margin-left: 0px;
   position: relative;
}
.t-newsbox .panel_area{
  width: calc(100% - 200px);
}
}
@media screen and (max-width: 820px) {
.t-newsbox .tab_area{
    width: 100%;
    justify-content: flex-start;
}
.t-newsbox .panel_area{
  width: calc(100% - 150px);
  margin-left: 150px;

}
}
@media screen and (max-width: 767px) {
.t-newsbox .panel_area{
  width: calc(100% - 0px);
  margin-left: 0px;
}
}


.t-newsbox .tab_area::before{
position: absolute;
content: "";
background-image: url(../images/common/topnews_item.webp);
background-repeat: no-repeat;
display: inline-block;
background-size: cover;
width: 250px;
aspect-ratio: 1 / 1;
left: -250px;
top: 0px;
}
@media screen and (max-width: 1300px) {
.t-newsbox .tab_area::before{
width: 200px;
left: -200px;
top: 0px;
}
}
@media screen and (max-width: 1024px) {
.t-newsbox .tab_area::before{
width: 150px;
left: 0px;
top: 200px;
}
}
@media screen and (max-width: 767px) {
.t-newsbox .tab_area::before{
display: none;
}
}
/*****************************
NEWボタン
*****************************/
.new-label {
    font-size: 12px;
    vertical-align: inherit;
    background: #B6003D;
    color: #fff;
    font-weight: bold;
    margin-right: 5px;
    text-align: center;
    display: inline-block;
    width: 45px;
    align-content: center;
}
.date {
    display: inline-block;
    vertical-align: middle;
}
.date time {
    font-size: 16px;
    letter-spacing: 1px;
    color: #333;
}

.top_address_flex{
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  align-items: center;
  margin-bottom: 20px;
}
.top_address_flex .left_area{
  width: 200px;
  margin-right: 10px;
}
.top_address_flex .right_area{
   width: calc(100% - 210px);
}
@media screen and (max-width: 1400px) {
.top_address_flex .left_area{
  width: min(350px, 100%);
  margin-right: 0px;
}
.top_address_flex .right_area{
   width: 100%;
}
}
.top_address_flex img{
  width: 100%;
  aspect-ratio: 4/3;
  object-fit: cover;
}
