*{
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

header {
  height:100%;
}

@media screen and (max-width: 480px) {
.header {
  height:0px;
}
}

.image{
  width:15%;
  height:80px;
  display: flex;
}

@media screen and (max-width: 480px) {
.image {
  width: 45%;
  height: 50%;
}
}

.mv{
  width: 100%;
  height: 600px;
}

.item {
  position: absolute;
  top: 50;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  animation: img-change 20s infinite;
}
.item:nth-child(1) {
  animation-delay: 0s;
}
.item:nth-child(2) {
  animation-delay: 5s;
}
.item:nth-child(3) {
  animation-delay: 10s;
}
.item:nth-child(4) {
  animation-delay: 15s;
}

.item img {
  width: 100%;
  height: 88%;
  object-fit: cover;
}

@media screen and (max-width: 480px) {
  .item img{
    object-fit: contain;
    max-width:100%;
    height: 65%;
  }
  .mv{
    width:100%;
    height:200px;
    object-fit: contain;
  }
}



/*ハンバーガーメニューのCSS*/


/* ---------------------------------------------- */
/* ハンバーガーメニュー */
/* ------------------------- */
/* ---------------------------------------------- */
/* ハンバーガーメニュー */
/* ------------------------- */
#header-hamburger {
    /* 見た目のCSS */
    background: blue ;
    cursor: pointer;
    width: 50px;
    aspect-ratio: 1/1;
    margin-left: auto;
    /* ボタンがハンバーガーウィンドウの下に隠れないようにする指定 */
    position: relative;
    z-index: 10;
}

@media screen and (min-width:960px ){
#header-hamburger {
   display:none;
}
}




/* ----------------- */
/* 三本線 */
/* ----------------- */
#header-hamburger span {
    /* 見た目のCSS */
    display: inline-block;
    background: #fff;
    width: 50%;
    height: 2px;
    /* バーガー線の太さ */
    /*アニメーションの設定*/
    transition: all .4s;
    position: absolute;
    left: 50%;
    /* バーガー線の位置 */
    transform: translateX(-50%);
}

/* １本目 */
#header-hamburger span:nth-of-type(1) {
    top: 30%;
}

/* ２本目 */
#header-hamburger span:nth-of-type(2) {
    top: 50%;
}

/* ３本目 */
#header-hamburger span:nth-of-type(3) {
    top: 70%;
}

/* ------------------ */
/* ×印 */
/* ------------------ */
/*activeクラスが付与されると線が回転して×になる*/
#header-hamburger.active span:nth-of-type(1) {
    top: 50%;
    left: 25%;
    transform: rotate(-45deg);
    width: 50%;
}

#header-hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

#header-hamburger.active span:nth-of-type(3) {
    top: 50%;
    left: 25%;
    transform: rotate(45deg);
    width: 50%;
}

/* ----------------------------------------------- */
/* メニューウィンドウ */
/* -------------------------- */
#hamburger-window {
    transition: 0.3s;
    text-align: center;
    /* 初期状態は非表示 */
    visibility: hidden;
    position: fixed;
    top: 50px;
    right: -100vw;
    z-index: 1;
    /* 画面いっぱいに表示されるサイズに設定 */
    width: 100%;
    height: calc(100vh - 60px);
    /* 画面からはみ出したらスクロール可能にする */
    overflow-y: scroll;
    -ms-overflow-style: none;
    scrollbar-width: none;
}


/*スクロールバー非表示（Chrome・Safari）*/
.content::-webkit-scrollbar{
    display:none;
}

#hamburger-window.open {
    visibility: visible;
    right: 0;
}

.hamburger-window__link {
    display: block;
    margin: 0 auto;
    width: 100%;
}

.hamburger-window__link:first-child .acordion-btn {
    border-top: 1px solid #ccc;
    
}


/* ----------------------------------
アコーディオン部分
--------------------- */
.acordion-menu-wrapper {
    background-color: #fff
}    

.acordion-btn {
    display: flex;
    align-items: center;
    border-bottom: 1px solid #ccc;
    padding-left: 5%;
    padding:20px;
}



.acordion-btn:hover {
    background-color: #ccc;
}

.acordion-btn::after {
    /* fontawesomeアイコンを表示 */
    content: '\2b';
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    position: absolute;
    right: 5%;
    width: 10px;
    aspect-ratio: 1/1;
    color: #333;
}    

.acordion-btn.is-open::after {
    /* fontawesomeアイコンを表示 */
    content: '\f068';
}

.hamburger-window__title {
    color: #333;
}    

.acordion>.acordion__item {
    position: relative;
    text-align: left;
    width: 100%;
    background-color: #dfdfdf;
    /* 閉じている状態 */
    border-top: 0 #ccc solid;
    line-height: 0;
    /* 閉じるアニメーション */
    transition:
        border-top .1s ease-out,
}

.acordion.is-open>.acordion__item {
    background-color: #dfdfdf;
    /* 開いている状態 */
    border-top: 1px #ccc solid;
    /* 開くアニメーション */
    transition:
        border-top .1s ease-out,
}

.acordion.is-open>.acordion__item:first-child {
    border-top: none;
}

.acordion.is-open>.acordion__item::after {
    /* fontawesomeアイコンを表示 */
    content: '\f054';
    font-weight: 900;
    font-family: "Font Awesome 6 Free";
    display: inline-block;
    position: absolute;
    top: 50%;
    right: 10%;
    width: 10px;
    aspect-ratio: 1/1;
    color: #333;
}

.acordion>.acordion__item>.acordion__link {
    color: #333;
    display: block;
    padding-left: 7%;
    /* 閉じている状態 */
    padding-top: 0;
    padding-bottom: 0;
    line-height: 0;
    opacity: 0;
    visibility: hidden;
    /* 閉じるアニメーション */
    transition:
        padding-top .3s ease-out,
        padding-bottom .3s ease-out,
        line-height .3s ease-out,
        opacity .1s linear,
        visibility .1s linear;
}

.acordion.is-open>.acordion__item>.acordion__link {
    display: block;
    padding-left: 7%;
    /* 開いている状態 */
    padding-top: 23px;
    padding-bottom: 23px;
    line-height: 1.5;
    opacity: 1;
    visibility: visible;
    /* 開くアニメーション */
    transition:
        padding-top .3s ease-out,
        padding-bottom .3s ease-out,
        line-height .3s ease-out,
        opacity .1s linear,
        visibility .1s linear;
}




.navbar ul li {
  display: inline-block;
  width: 120px;
  margin: 0 35px;
  padding-top: 10px;
  padding-bottom: 10px;
  cursor: pointer;
  transition: all 0.2s;
}

@media screen and (max-width: 480px) {
  .navbar ul li{
    display: none;
  }
}


.navbar ul li a{
  line-height:1.0;


 }

.navbar ul li a{
  line-height:1.0;
}

.submenu-1{

  position:absolute;
  background-color:blue;
  margin-top: 10px;
  padding-top: 10px;
  padding-bottom: 10px;
  display:none;
  z-index:1001;
}



.navbar ul li:hover .submenu-1{
 display:block;
  width:200px;
  border-bottom: 1px dotted white;
  z-index:999p;
}


.navbar ul li:hover .submenu-1 ul li{
  display:block;
  width:140px;
  color:white;
  font-size:15px;
  z-index:998;
}


.navbar ul li .submenu-1 ul li:last-child{
  border:none;
}

.navbar ul li a{
  padding-top:20px;
  padding-bottom:20px;
  padding-left:10px;
  padding-right:10px;
}

   

/*ヘッダー固定部分*/
nav {
    width: 100%;
    text-align: center;
    /* position: fixed;
    top: 0;
    left: 0; */
}

nav ul {
    background: blue;
    width: 100%;
}

nav ul li {
    display: inline-block;
    list-style: none;
    margin: 20px 30px;
}

nav ul li a {
    text-decoration: none;
    color: white;
    font-size:14px;
}

nav.sticky .logo {
    margin: 20px 0;
}

nav.sticky ul {
    background: transparent;
    font-size: 1.3rem;
}




@keyframes img-change {
  0% {
    opacity: 0;
  }
  10% {
    opacity: 1;
  }
  20% {
    opacity: 1;
  }
  30% {
    opacity: 1;
  }
  40% {
    opacity: 0;
  }
  100% {
    opacity: 0;
  }
}

.content {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
  margin-top:150px;
}


a {
    text-decoration: none;
    color: #333;
}

ul {
    list-style: none;
    padding: 0;
    margin: 0;
}


.news {
  padding: 50px 0;
  
  
}

.inner{
  width: 100%;
  background-color: #fff;
  padding: 15px 0 10px;
  text-align: center;

}



@media screen and (max-width: 480px) {
.inner {
  width: 80%;
  background-color: #fff;
  margin: 0 35px;
  padding: 90px 0 15px 0;
}
}

.inner2{
  width: 100%;
  background-color: #fff;
  padding: 15px 0 10px;
  text-align: center;
}

@media screen and (max-width: 480px) {
.inner2 {
  width: 80%;
  background-color: #fff;
  margin: 0 35px;
  padding: 0 0 90px 0;
}
}


.sub_ttl {
  font-size: 30px;
  text-align: center;
  margin-bottom: 50px;
}

.sub_ttl2{
  margin-top:0px;
  padding-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;
 font-size: 20px;
}

.news_list_date {
  font-size: 15px;
  display: flex;
  margin-right: 15px;
  align-items: center;
}

.news_item {
  background: #F6C6A2;
  border-radius: 14px;
  width: 6em;
  /* 親要素の文字サイズを基準 */
  text-align: center;
  margin-left: 20px;
  z-index:14;
}



.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(45deg);
  position: absolute;
  right: 0px;
  bottom: 2px;
}

.btn{
  background-color: blue;
  padding:15px 15px;
  color:white;
  border-radius:10%;
  display: inline-block;
  position:relative;
  top:0;
  left:430px;
  margin-top:30px;
}

@media screen and (max-width: 480px) {
    .btn{
      background-color: blue;
      padding:15px 15px;
      color:white;
      border-radius:10%;
      display: inline-block;
      position:static;
      margin:30px 90px;
}
}


@media screen and (max-width: 1024px) {
    .news_list_item a {
        display: block;
    }
}

@media screen and (max-width: 769px) {
    .news_list_item a  {
        font-size: 14px;
    }


}
@media screen and (max-width: 480px) {
    .arrow {
        display: none;
    }
    .news_list_item a {
        padding-right: 0;
    }
}


/*画像付きレイアウト*/

.Service{

  margin-top:-30px;
  padding:0 auto;

}

@media screen and (max-width: 480px) {
  .Service{
    margin-top:-50px;
    margin-bottom:-30px;
    padding: 0;
}
}

img {
  width:100%;
}

.content {
  max-width: 980px;
  margin-right: auto;
  margin-left: auto;
}

@media screen and (max-width: 480px) {
  .content{
    max-width: 70%;
}
}

.card-wrap {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
}


.card-list {
  max-width: 300px;
  margin-bottom: 50px;
  /* margin-right: 40px; */
}



/* .card-list:nth-child(3n) {
  margin-right: 0;
} */


.card-listTitle {
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

@media screen and (max-width: 480px) {
  .card-listTitle{
    text-align: center;
    margin-top:-50px;

  }

}


.card-listText {
  line-height: 1.5;
  padding-top:20px;

}

@media screen and (max-width: 480px) {
  .card-listText{
    text-align: center;
  }

}

.title1{
  text-align:center;
  margin-bottom:20px;
  
}


/*企業理念のCSS*/


.section1{
  color:black;
  padding:80px 0;
  
}

.container{
  display: flex;
  flex-direction: column;
}

.section1{
  width:90%;
  margin:0 auto;
  max-width:1280px;
}

.section1 .sub_title{
  font-size:40px;
  font-weight:500;
  margin-bottom:50px;
  text-align:center;
  font-family:serif;
}

@media screen and (max-width:480px){
  .section1 .sub_title{
    font-size:40px;
}
}

.section1 h2{
  font-family: serif;
  font-size:48px;
  font-weight:650;
  line-height:1.5;
  text-align:center;
}

@media screen and (max-width:480px){
 .section1 h2{
    font-size:35px;
    text-align:center;
    line-height:2.0;
    padding: 30px 0 30px 0;
}
}

.col p{
  font-size:25px;
  line-height:2.0;
  padding:30px 0 50px 0;
  text-align:center;
  border-bottom:1px solid gray;
  border-bottom-width:100%;
}

.col p span{
  color:red;

}

.col h2{
  margin-top:0px;
  
}


@media screen and (max-width:480px){
 .col p{
    font-size:15px;
    padding-top:30px 0 30px 0;
    text-align:center;
}
}

@media screen and (max-width:480px){
 .section1 .sub_title2{
    font-size:28px;
    text-align:center;
}
}

@media screen and (max-width:480px){
 .col h2{
  font-size:21px;
  text-align: left;
}
}
  

/*事業内容*/

h2{
  text-align:center;
  padding-top:30px;
  margin-top:80px;
  font-family:serif;
  font-size:39px;
}

@media screen and (max-width:480px){
  h2{
    font-size:31px;
    padding-top:100px;
}
}

h4{
  text-align:center;
  margin-bottom:100px;
  font-family:serif;
}


/*Content欄の事業内容*/


.container1 {
  display: flex;
  flex-direction: column;
}

@media screen and (max-width:480px){

.container1{
  display:flex;
}
}


.content1 img {
  width:40%;
  height:50%;
  float:left;
  margin-bottom:20px;
}

@media screen and (max-width:480px){
  .content1 img{
    width: 85%;
    padding-left:45px;
    float:none;
  }
}


.text1 {
  padding-top:10px;
  text-align:center;
  line-height:2.0;
}


.text2 {
  padding-top:40px;
  font-size:20px;
  text-align:center;
}

@media screen and (max-width:480px){
  .text2{
    font-size:13px;
    padding-top:70px;
  }
}



.button a {
  background-color:blue;
  border:1px solid blue;
  padding:15px 35px;
  font-size:15px;
  color:white;
  display: inline-block;
  margin-top:40px;
  margin-bottom:30px;
}


@media screen and (max-width:480px){

  .button a{
    background-color:blue;
    border:1px solid blue;
    padding:15px 35px;
    font-size:15px;
    color:white;
    margin-top:20px;
    margin-bottom:20px;

  }
  }


/*代表挨拶CSS*/

.greeting{
  font-family:serif;
  font-size:40px;
  margin-top:80px;
}



.text3{
  line-height: 2.0;
  border-bottom:1px solid gray;
  text-align:center;
  padding-bottom:100px;
  font-size:20px;
  justify-content: space-around; /* 子要素を均等に配置します */
  align-items: center; /* 子要素を縦方向の中心に揃えます */
}

.text3 img{
  width:400px;
  height:450px;
  padding-right:30px;
}


@media screen and (max-width:480px){
 .text3 {

    font-size:15px;
    margin:0 15px;

  }
}

.text4{
  font-family: serif;
  text-align:right;
  padding-right:50px;
  padding-top:100px;
}

@media screen and (max-width:480px){
 .text4 {
    text-align:center;
    padding-right:0px;

  }
}



/*Action PlanのCSS*/

.container2{
  width:100%;
  height:50%;
  
}

.plan-name h2{
  font-family:serif;
}

.guide{
  position: relative;
  top:0;
  left:15;
   text-align:center;
  font-size:25px;
  transform: translateY(-50%);
}

.plan-list h1{
  background-color:#F6C6A2
}


.plan-list ul{
  width:100%;
  font-size:25px;
  padding-top:50px;
  text-align: center;
  border-bottom:1px solid gray;
  padding-bottom:100px;
}

.plan-list ul li{
  font-size:25px;
  font-weight:bold;
  background-color:skyblue;
  display:inline-block;
  text-align:center;
}

.plan-list ul p{
  line-height:5.0;
}

@media screen and (max-width:480px){
 .plan-list ul p {
    line-height:3.0;
    padding:30px 0 30px 0;
    margin:0px 15px;
    font-size:15px;
  }
}


/*沿革のCSS*/

.container3{
  width:100%;
  display: flex;
  flex-direction: column;
}

.History h1{
  width:100%;
  text-align:center;
  font-family:serif;
  font-size:45px;
  padding-top:30px;
  padding-bottom:80px;
}

.text5{
  width:100%;
  padding:50px 0px;
  font-size:15px;
  float:left;
}

@media screen and (max-width:480px){
.text5 {
    float:none;
  }
}

.text5 p {
  font-size:20px;
  border-bottom:1px solid gray;
  padding:50px 50px;
  float:center;
}

@media screen and (max-width:480px){
.text5 p {
    font-size:15px;
    border-bottom:1px solid gray;
  }
}

.text5 time {
  float:left;
  margin-left:50px;
  font-size:20px;
  font-weight:bold;
}

@media screen and (max-width:480px){
 .text5 time {
    width:70%;
    font-weight:bold;
    text-align:center;
    padding: 0px 30px;
    font-size:15px;
  }
}

/*SDGS*/

.container4{
  display: flex;
  flex-direction: column;
}


.container4 img{
  width:40%;
  height:40%;
  float:left;
  margin:20px;
  padding-top:30px;
  margin-left:450px;
}

@media screen and (max-width:480px){
  .container4 img{
    
    width: 80%;
    margin-top:150px;
    margin-left:20px;
  }
}


/*.text1 {
  padding-top:10px;
  text-align:center;
  margin-top:50px;
}


.text2 {
  padding-top:150px;
  font-size:25px;
  text-align:center;
}

@media screen and (max-width:480px){
  .text2{
    font-size:15px;
    padding-top:70px;
  }
}*/

.text6{
  padding-top:10px;
  text-align:center;
  margin-top:25px;
}

@media screen and (max-width:480px){
  .text6{
    font-size:9px;
    padding-top:30px;
    text-align: left;
    margin-left:25px;
  }
}


.text7{
  padding-top:75px;
  font-size:25px;
  text-align:center;
}

.text7 a{
  color:blue;
  border-bottom:1px solid blue;
}


@media screen and (max-width:480px){
  .text7{
    font-size:20px;
    padding-top:30px;
    text-align: left;
    margin-left:25px;
  }
}


.container5{
  margin-top:210px;
}



/*事業所一覧*/

.text8{
  font-size:25px;
}


@media screen and (max-width:480px){
  .text8{

    font-size:15px;
    text-align:center;


  }
}

/*30周年*/

.text9{
  text-align: justify;
  margin-left:450px;
}


/*フッター部分CSS*/

footer {
    background-color:blue; /* 背景色 */
    color: #fff;           /* 文字色 */
    padding:20px 0;        /* 上下の余白 */
    text-align: center;     /* テキストを中央寄せ */
    
}

.footer-container {
    max-width: 960px; /* フッターの最大幅 */
    margin: 0 auto;   /* 中央寄せ */
    height:100px;
}

.footer-nav {
    list-style: none; /* リストマーカーを削除 */
    display: flex;    /* Flexboxで横並びにする */
    justify-content: center; /* 要素を中央寄せ */
    margin-bottom: 10px; /* リストとコピーライトの間の余白 */
}

.footer-nav li {
    margin: 0 15px; /* リスト要素間の余白 */
}

.footer-nav a {
    color: #fff;       /* リンクの色 */
    text-decoration: none; /* 下線削除 */
}

.footer-nav a:hover {
    text-decoration: underline; /* ホバー時に下線を表示 */
}

.copyright {
    font-size: 0.9em; /* コピーライトの文字サイズ */
}



/* スライダー全体 */
.slider-wrapper {
  display: flex; /* スライドのグループを横並び */
  overflow: hidden; /* はみ出たスライドを隠す */
  margin-top:50px;
  padding-top:10px;
}

@media screen and (max-width:480px){
  .slider-wrapper{
    display: flex; /* スライドのグループを横並び */
    overflow: hidden; /* はみ出たスライドを隠す */
  }
}

/* スライド3枚のグループ */
.slider {
  animation: scroll-left 20s infinite linear .5s both;
  display: flex; /* スライド3枚を横並び */
}
/* スライド */
.slide {
  width: calc(100vw / 3); /* 3はスライドの枚数 */
}
/* スライドの画像 */
.slide img {
  display: block;
  width: 100%;
  height:80%;
}

@media screen and (max-width:480px){
  .slide img{
    width:100%;
    height:150%;
    padding-top:100px;
  }
}
/* CSSアニメーション */
@keyframes scroll-left {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-100%);
  }
}

/*デイジー*/

.container6{
  background-color:#F6C6A2;
  padding-top:80px;
}

@media screen and (max-width:480px){
  .container6{
    padding-top:80px;
}
}


@media screen and (max-width:480px){
  .container6 img{
    margin:0 auto;
    
}
}

.text6{
  margin-left:63px;
}

@media screen and (max-width:480px){
  .text6{
    margin:0 0;
    padding-top:50px;
    text-align:center;
}
}

.text7{
  display:center;
  text-align: justify;
  font-size:20px;
  margin-left:450px;
  line-height:2.0
}


@media screen and (max-width:480px){
  .text7{
    margin:0 auto;
    padding-top:85px;
    font-size:14px;
    text-align:center;
    line-height:2.0
}
}

.oneday{
  text-align:justify;
  margin-left:450px;
  margin-top:45px;
  padding-top:70px;
  font-size:20px;

}

@media screen and (max-width:480px){
  .oneday{
    margin:0 auto;
    font-size:14px;
    text-align:justify;

}
}

.information {
  text-align:justify;
  margin-top:60px;
  margin-left:450px;
  padding-top:70px;
  line-height:2.0;
  font-size:20px;
}

@media screen and (max-width:480px){
.information{
    margin:0 auto;
    font-size:14px;

}
}


/*Company profile*/

.Profile{
  max-width:100%;
  display: flex;
  justify-content: center;
}


.profile2 h1{
  text-align:center;
  padding-bottom:50px;
  font-family: serif;
}


.profile2 h3{
  text-align:center;
  line-height:2.5;
  font-family: serif;
}

.profile2 p{
  border-bottom:dotted 1px gray;
  line-height:2.0;
  text-align:center;
  padding-bottom:15px;
  font-family: serif;
  
}

@media screen and (max-width:480px){
.profile2{
  margin-top:300px;
}
}

.root{
  max-width:100%;
}

.roottext{
  padding-bottom:50px;
}

@media screen and (max-width:480px){
.roottext{
  font-size:23px;
}
}


.rootservice p{
  text-align:justify;
  text-align:center;
  border-bottom:1px solid gray;
  line-height:2.0;
  padding:70px 0px;
  font-size:20px;
}

@media screen and (max-width:480px){
.rootservice p{
  text-align:center;
  padding:30px 30px;
}
}

.Opening{
  text-align:center;
}

@media screen and (max-width:480px){
.Opening{
  margin-top:50px;
}
}

.Open{
  padding-bottom:50px;
}

@media screen and (max-width:480px){
.Open{
  font-size:12px;
}
}

.text10{
  line-height:2.0;
  padding-bottom:50px;
}

@media screen and (max-width:480px){
.text10{
  text-align: justify;
  text-align:center;
  font-size:18px;
}
}