@charset "UTF-8";

html {
  font-size: 100%;
}
body {
  background-color: #000000;
  color: #ffffff;
  font-size: 1rem;
}

/* body {
  font-family: 'Roboto', sans-serif;
} */

a {
  color: #ffffff;
  font-size: 1rem;
  text-decoration: none;
}
img {
  max-width: 100%;
  vertical-align: bottom;
}
li {
  list-style: none;
}

section {
  scroll-margin-top: 80px; /* ←ヘッダーの高さに合わせて調整 */
}

.logo {
  width: 80px;
  line-height: 1px;
  margin-right: 60px;
}
.logo a {
  display: block;
}
.section-title {
  font-weight: normal;
  line-height: 1;
  margin-bottom: 50px;
}
/*
疑似要素を使って下線を引く
*/
.section-title::after {
  content: "";
  width: 100%;
  height: 1px;
  background-color: #3e7c85;
  display: block;
}
/*
「display: inline-block;」を設定してブロック化することで、
改行されてmargin-bottomが使用できるようになる
*/
.subsection-title {
  font-weight: normal;
  line-height: 1;
  margin-bottom: 0px;
}
/*
疑似要素を使って下線を引く
*/
.subsection-title::after {
  content: "";
  width: 200px;
  height: 1px;
  background-color: #3e7c85;
  display: block;
}
.section-title .en {
  display: block;
  font-size: 1rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.section-title .ja {
  display: block;
  font-size: 2.25rem;
  margin-bottom: 10px;
}
.subsection-title .en {
  display: block;
  font-size: 0.8rem;
  letter-spacing: 0.3em;
  margin-bottom: 10px;
}
.subsection-title .ja {
  display: block;
  font-size: 1.8rem;
  margin-bottom: 10px;
}
/*
横幅を設定するための共通クラス
*/
.wrapper {
  width: 100%;
  max-width: 1032px;
  padding: 0 16px;
  margin: 0 auto;
}

/*-------------------------------------------
ヘッダー
-------------------------------------------*/
#header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;
  background-color: #000000; /* ヘッダーの背景色が透明でないように */
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

body {
  background-color: #000000;
  color: #ffffff;
  font-size: 1rem;
  padding-top: 80px; /* ヘッダーの高さと同じ分だけ空ける */
}

/* #header {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
} */

#header .inner li a {
  position: relative;
  display: inline-block;
}

#header .inner li a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -4px;
  width: 100%;
  height: 1px;
  background-color: #3e7c85;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#header .inner li a:hover::after {
  transform: scaleX(1);
}


#header .inner {
  display: flex;
  align-items: center;
}
#header .inner ul {
  display: flex;
  align-items: center;
}
#header .inner li {
  margin-right: 30px;
}
#header .inner li:last-child {
  margin-right: 0;
}
#header .contact {
  width: 200px;
  height: 80px;
  line-height: 80px;
  background-color: #000;
  color: #fff;
  font-size: 0.75rem;
  display: inline-block;
  text-align: center;
}
#header .contact:hover {
  background-color: #333;
}

/*-------------------------------------------
Mainvisual
-------------------------------------------*/
#mainvisual {
  margin-bottom: 120px;
}
/*
メインビジュアルを画面の高さに合わせる
headerの高さが80pxあるので、100vhから80px分だけマイナスする
*/
#mainvisual img {
  width: 100%;
  height: calc(100vh - 350px);
  object-fit: cover;
}

#mainvisual .container{
    width:600px;
    height: 400px;
    position: relative;
}
#mainvisual .container img{
    width:100%;
    height: 400px;
    object-fit: cover;
}
w{
    position: absolute;
    top:100%;
    left:0%;
    transform: translate(50%,-200%);
    padding:0;
    margin:0;
    font-size:40px;
    color: white;
}

/*-------------------------------------------
News
-------------------------------------------*/
#news {
  margin-bottom: 120px;
}

#news .img {
  width: 100%;
  margin-bottom: 20px; /* タイトルとの余白 */
}
#news .img img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}

#news .container img {
  width: 100%;
  height: 380px;
  object-fit: cover;
}
c{
    position: absolute;
    top:50%;
    left:0%;
    transform: translate(10%,-400%);
    padding:0;
    margin:0;
    font-size:40px;
    color: white;
}


#news .list {
  display: block;
}
#news .list li {
  width: 100%;
  border-right: none;
  border-bottom: 1px solid #444; /* 区切り線にするのもアリ */
  padding: 10px 0;
}
#news .list li:first-child {
  padding-left: 0;
}
#news .list li:last-child {
  border-right: none;
  padding-right: 0;
}
#news .list li .date-area {
  margin-bottom: 16px;
}
#news .list li .date-area span {
  width: 50px;
  height: 20px;
  line-height: 20px;
  background-color: #3e7c85;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  margin-left: 10px;
  text-align: center;
}

/*-------------------------------------------
research
-------------------------------------------*/

#research .img {
  width: 100%;
  margin-bottom: 40px; /* タイトルとの余白 */
}
#research .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#research .text {
  margin-bottom: 40px; /* リストとの余白 */
}
#research .text p {
  line-height: 2.0;
}

/* NEWS風リスト */
#research .list {
  display: block;
}
#research .list li {
  width: 100%;
  border-bottom: 1px solid #444;
  padding: 10px 0;
  margin-bottom: 20px;
}
#research .list li .date-area {
  margin-bottom: 16px;
}
#research .list li .date-area span {
  width: 60px;
  height: 20px;
  line-height: 20px;
  background-color: #3e7c85;
  color: #fff;
  display: inline-block;
  font-size: 0.75rem;
  margin-left: 10px;
  text-align: center;
}


/* #research {
  display: flex;
  margin-bottom: 120px;
}
#research .img {
  width: 55%;
}
#research .img img {
  width: 100%;
  height: 400px;
  object-fit: cover;
}
#research .text {
  width: 45%;
  padding: 180px 5% 0 5%;
}
#research .text p {
  line-height: 2.2;
} */

/*-------------------------------------------
Business
-------------------------------------------*/
#business {
  margin-bottom: 120px;
}
#business .flex {
  display: flex;
  justify-content: space-between;
  padding: 0 10%;
}
#business .flex .left {
  width: 46%;
  margin-top: 100px;
}
#business .flex .right {
  width: 46%;
}
#business .flex .item {
  margin-bottom: 50px;
}
#business .flex .item:last-child {
  margin-bottom: 0;
}
#business .flex .title {
  font-weight: bold;
  margin: 0 0 10px 18px;
  position: relative;
}
/*
疑似要素でタイトルの横線を引く
*/
#business .flex .title::before {
  content: "";
  width: 8px;
  height: 1px;
  background-color: #000;
  position: absolute;
  top: 50%;
  left: -18px;
}

/*-------------------------------------------
member
-------------------------------------------*/
/*
テキストと画像はpositionを使って配置
子要素の「position: absolute;」で高さがなくなるため、
「height: 750px;」を指定して高さを確保
*/
#member {
  height: 750px;
  display: flex;
  align-items: center;
  position: relative;
}
#member .text {
  width: 75%;
  background-color: #232323;
  padding: 100px 8% 100px 6%;
  position: absolute;
  top: 0;
  left: 0;
}
#member .img {
  width: 45%;
  position: absolute;
  top: 50px;
  right: 0;
}
#member .img img {
  width: 100%;
  object-fit: cover;
}
#member .info {
  display: grid;
  grid-template-columns: 30% 70%;
  gap: 5px 10px; /* 行間 */
}

#member .info dt,
#member .info dd {
  margin-top: 0; /* gridなら余白いらない */
}

/*-------------------------------------------
footer
-------------------------------------------*/
#footer {
  background-color: #2b2b2b;
  padding-bottom: 20px;
}
#footer .flex {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 40px 0;
}
#footer .flex .logo {
  margin-right: 0;
}
#footer .copyright {
  font-size: 0.625rem;
}

/*-------------------------------------------
SP
-------------------------------------------*/
@media screen and (max-width: 900px) {
  .logo {
    width: 80px;
    margin: 8px 0;
  }
  .section-title {
    margin-bottom: 34px;
  }
  .section-title .ja {
    margin-bottom: 24px; 
  }
  

  /*-------------------------------------------
  ヘッダー
  -------------------------------------------*/
  #header .inner {
    flex-direction: column;
    align-items: flex-start;
  }
  #header .contact {
    display: none;
  }

  /*-------------------------------------------
  Mainvisual
  -------------------------------------------*/
  #mainvisual {
    margin-bottom: 80px;
  }

  /*-------------------------------------------
  News
  -------------------------------------------*/
  #news {
    margin-bottom: 80px;
  }
  #news .list {
    flex-direction: column;
  }
  #news .list li {
    width: 100%;
    border-right: none;
    padding: 10px 0;
    margin-bottom: 20px;
  }
  #news .list li:last-child {
    margin-bottom: 0;
  }

  /*-------------------------------------------
  achievements
  -------------------------------------------*/
  #achievements {
    flex-direction: column;
    margin-bottom: 80px;
  }
  #achievements .img {
    width: 100%;
    margin-bottom: 30px;
  }
  #achievements .img img {
    height: 300px;
  }
  #achievements .text {
    width: 100%;
    padding: 0 16px;
  }

  /*-------------------------------------------
  Business
  -------------------------------------------*/
  #business {
    margin-bottom: 80px;
  }
  #business .flex {
    flex-direction: column;
    padding: 0;
  }
  #business .flex .left {
    width: 100%;
    margin: 0 0 30px 0;
  }
  #business .flex .right {
    width: 100%;
  }
  #business .flex .item {
    text-align: center;
    margin-bottom: 30px;
  }
  #business .flex .title {
    text-align: left;
  }

  /*-------------------------------------------
  member
  -------------------------------------------*/
  /*
  「position: static;」でrelativeを解除
  */
  #member {
    height: auto;
    flex-direction: column;
    position: static;
  }
  /*
  「position: static;」でabsoluteを解除
  */
  #member .text {
    width: 100%;
    padding: 40px 20px;
    margin-bottom: 20px;
    position: static;
  }
  /*
  「position: static;」でabsoluteを解除
  */
  #member .img {
    width: 100%;
    padding: 0;
    position: static;
  }
  #member .info {
    flex-direction: column;
  }
  #member .info dt {
    width: 100%;
    margin-top: 20px;
  }
  #member .info dd {
    width: 100%;
    margin-top: 5px;
    padding-left: 14px;
  }
  #member .info dd:first-of-type {
    margin-top: 5px;
  }
  #member .info .add {
    margin-left: 0;
  }

  /*-------------------------------------------
  footer
  -------------------------------------------*/
  #footer .flex {
    flex-direction: column;
    align-items: flex-start;
  }
  #footer .flex .logo {
    margin-bottom: 10px;
  }
}

  /*-------------------------------------------
  logo
  -------------------------------------------*/
  #logo-link {
    color: #5fd4ff; /* 好きな色コードに変更OK */
    font-size: 1rem;
  }

/* ハンバーガーメニューのボタン */
.hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 30px;
  height: 30px;
  background: none;
  border: none;
  cursor: pointer;
  z-index: 10000;
}
.hamburger span {
  display: block;
  width: 100%; 
  height: 3px;
  background: white;
  border-radius: 2px;
}

/* メニュー開閉制御（SP表示） */
@media screen and (max-width: 900px) {
  .logo {
    width: 80px;
    margin: 38px 0 8px; /* 上だけちょっと大きくする */
  }

  .hamburger {
    display: flex;
    margin-left: auto;
    position: relative;
    top: -56px;
  }

  #header nav ul {
    display: none;
    flex-direction: column;
    position: absolute;
    top: 80px;
    left: 0;
    width: 100%;
    background-color: #000;
    padding: 10px 20px;
  }

  /* ドロップダウンアニメーション */
#header nav ul {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease, opacity 0.4s ease;
  opacity: 0;
}

#header nav ul.active {
  max-height: 500px; /* 十分に大きくしておく */
  opacity: 1;
}
}

@media screen and (max-width: 900px) {
  #header nav ul {
    align-items: stretch;
    background-color: rgba(0, 0, 0, 0.90);
  }

  #header nav ul li {
    width: 100%;
    border-bottom: 1px solid #444;
  }

  #header nav ul li a {
    display: block;
    width: 100%;
    padding: 14px 16px;
    font-size: 0.9rem;
    box-sizing: border-box;
  }
}

/* 各セクションの上下余白を広げる */
section.wrapper {
  /*{margin-top: 80px;   /* 上の余白 */
  margin-bottom: 80px; /* 下の余白 */
}

  /* #header nav ul.active {
    display: flex;
  }

  #header nav ul li {
    margin: 10px 0;
  }
} */