@charset "UTF-8";




/* 全体共通事項 */
/* WEBページ全体の背景色のスタイル */
body {
  background-color: rgb(190, 255, 190);
  margin: 0;
  box-sizing: border-box;
}

/* ナビゲーションバーが止まる位置のスタイル */
html {
  scroll-padding-top: 200px;

  /* スクロールを滑らかにする */
  scroll-behavior: smooth;
}

/* ヘッダー */
/*headerタグのナビゲーションバーのスタイル */
.navibar {
  display: flex;
  justify-content: space-between;
  position: fixed;
  top: 0;
  z-index: 100;

  background-color: rgba(255, 255, 255, 0.8);
  width: 100%;
  height: 5em;
}


/*ナビゲーションバーの企業ロゴ画像のスタイル */
.png {
  /* display: inline-block; */
  height: 100%;
  /* min-height: 100%; */
  /* max-width: 100%; */
  /* max-width: 200px; */
  /* flex: 1; */
  object-fit: contain;
}

/* ハンバーガーボタン */
.hamburger {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 0.4rem;
}

.hamburger span {
  display: block;
  width: 1.5rem;
  height: 0.2rem;
  background-color: darkgreen;
  transition: all 0.3s ease-in-out;
}

.hamburger.active span:nth-child(1) {
  transform: rotate(45deg) translate(0.5rem, 0.5rem);
}

.hamburger.active span:nth-child(2) {
  opacity: 0;
}

.hamburger.active span:nth-child(3) {
  transform: rotate(-45deg) translate(0.5rem, -0.5rem);
}

/* navタグのスタイル */
nav {
  flex: 4;
  display: flex;
  justify-content: flex-end;
  padding: 0 1em;
  font-size: 1.2rem;
}

/*ナビのアイテムの設定*/
.navi li {
  display: inline-block;
  /* background-color: yellow; */
  height: 3rem;
  line-height: 3rem;
  /* flex:1; */
  margin: 0 1rem;
}

/*ナビのアイテムのリンクの設定*/
.navi li a {
  /* background-color: darkgreen; */
  color: darkgreen;
  display: block;
  text-align: center;
  text-decoration: none;
  /* font-size: 1.5rem; */
  /* border-left: solid 1px beige; */
}


/* section共通 */
.sec {
  background-color: rgb(236, 255, 236);
  margin-left: auto;
  margin-right: auto;
  margin-top: 5em;
  margin-bottom: 5em;
  width: 90%;
  /* overflow: hidden; */
  clear: both;
  padding: 1em;
  font-size: 1.5rem;
}

.sec img {
  width: 100%;
}

/* トップ*/
#top {
  /* display:block; */
  position: relative;
  height: 60vh;
  background: url("./sozai/forest2.png") no-repeat center center ;
  background-size: cover;
  margin-top: 5em;
}


.title {
  /* position: relative; */
  display: block;
  /* height: 80%; */
  /* max-height: 80%; */
  /* background-color: red; */
  width: 80%;
  margin: 0 auto;
  /* margin-top: 13em; */
  /* margin: 3em; */
  padding-top: 4rem;
}

/* トップのロゴのスタイル*/
.logo {
  max-width: 100%;
  object-fit: contain;
  /* display: block; */
  /* flex: 1; */
  /* object-fit: contain; */
  /* width:80%; */
  /* width: 80%;
  top: 20%;
  left: 10%; */
}

/* トップのキャッチコピーのスタイル */
.catch {
  max-width: 100%;
  object-fit: contain;
  vertical-align: bottom;
  /* bottom: 10%; */

  /* float:right;
  width: 40%; */
  /* position: absolute; */
  /* bottom: 20%; */
  /* right: 10%; */
}

/* トップの森の画像のスタイル

.forest {
  width: 100%;
  position: absolute;

} */

/* .flex-base{
  display: flex;
} */

.two-columns {
  display: flex;
  /* background-color: red; */
  width: 100%;
}

.content-left,
.content-right {
  flex: 1;
  width: 100%;
  padding: 2rem;
}

#top .content-left {
  flex: 2;
}
#top .two-columns{
  align-items: flex-end;
}

/* 代表挨拶 */

/* 代表挨拶の背景色 */

/*代表挨拶 代表の写真のスタイル　現在は仮の画像 */
#president {
  /* width: auto;
  height: 240px;
  margin-left: 200px;
  position: absolute;
  margin-top: 100px; */
  flex: 1;
  /* width:80%; */
  margin: 0 auto;
  /* padding:2em; */
}

#president-message .content-right {
  flex: 3;
  /* background-color: blue; */
}


/*代表挨拶 中根さんのプロフィールのスタイル*/
.introduction {
  /* position: absolute; */
  /* margin-top: 400px; */
  /* margin-left: 100px; */
  /* flex:3; */
  text-align: center;
}

/*代表挨拶 会社名のスタイル*/
/* #zero {
  margin-left: 100px;
} */

/*代表挨拶 役職のスタイル */
/* #post {
  margin-left: 50px;
} */

/*代表挨拶 名前のスタイル*/

#name {
  /* margin-left: 110px; */
  font-size: 1.6rem;
  /* margin-top: -5px; */
}

/*代表挨拶と利用者の声の本文のスタイル */

/* .text {
  align-items: center;
  /* margin-left: 500px; */
/* font-size: 25px;
  margin-top: 10px; */
/* } */

/* .text p {
  margin-bottom: 10px;
} */

/* 利用者の声 */

.description {
  /* background-color: orange; */
  margin-left: 3rem;
}

/* 各掲載内容の大見出しのスタイル */
.t {
  /* margin-left: 700px;
  padding-top: 30px;
  margin-bottom: 70px; */
  /* color: blue; */
  text-align: center;
  font-size: 3rem;
}

/* 事業内容 */
/* 事業内容　見出しのスタイル */
.tab {
  font-size: 2rem;
  /* margin-left: 100px; */
  /* color: goldenrod; */
  margin-bottom: 1rem;
}

/* 事業内容　本文のスタイル */
.charm {
  /* font-size: 2rem; */
  /* padding-left:5rem; */

  /* margin-left: 300px; */
  /* color:pink */
}

/* .charm p {
  margin-bottom: 50px;
} */

/* 事業内容 小見出しのスタイル  */
.no {
  font-size: 1.5rem;
  font-weight: bold;
  /* color: green; */
  /* margin-bottom: 10px;
  margin-left: 230px; */
}



/* アクセス */

/* アクセス　Googleマップのスタイル*/


/* iframe {
  position: absolute;
  margin-top: 250px; */
/* margin-left: 900px; */
/* } */

iframe {
  aspect-ratio: 1/1;
  width: 100%;
  height: auto;
}

/* アクセス　 本文のスタイル　*/

#info {
  display: block;
  /* width: 50%; */
  /* flex:1; */
  /* font-size: 25px; */
  /* margin-left: -100px; */
}

.talk{
  width: auto;
  height: 20em;
}

footer{
  background-color: rgb(236, 255, 236);
  color:darkgreen;
  text-align: center;
  padding: 1em; 
}

footer .acknowledgements {
  font-size: 0.6rem;
  color: darkgreen;
  margin-top: 0.8em;
}


/* メディアクエリテスト */
@media (max-width:  1024px) {

   #top {
 height: 60vh;

}

  /* ハンバーガーボタンを表示 */
  .hamburger {
    display: flex;
  }

  

  /* ナビゲーションをハンバーガーメニューに */

  
  nav {
    flex: none;
    position: fixed;
    top: 5em;
    right: 0;
    background-color: rgba(255, 255, 255, 0.95);
    display: flex;
    flex-direction: column;
    width: 200px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    padding: 0;
  }

  nav.active {
    max-height: 500px;
  }

  .navi {
    flex-direction: column;
    padding: 0;
  }

  .navi li {
    display: block;
    margin: 0;
    border-bottom: 1px solid #ddd;
    height: auto;
    line-height: normal;
  }

  .navi li a {
    padding: 1rem;
    display: block;
  }


}

@media (max-width: 800px) {
.two-columns {
    flex-direction: column;
  }

  .content-left,
  .content-right {
    flex: 1;
    width: 100%;
    padding: 0;
    /* display:block; */
  }

  .catch {
    display: block;
    margin: 0 auto;
    width: 50%;
  }
}