@charset "utf-8";
/* CSS Document */
/*********************************共通*/
body {
  background-color: #F3F3F3;
  color: #333333;
}
html {
  font-size: 100%;
}
img {
  max-width: 100%;
}
/*レイアウト*/
#wrapper {
  max-width: 1200px;
  margin: 0 5rem 0 5rem;
}
/*Googleフォント*/
.kaisei-decol-regular {
  font-family: "Kaisei Decol", serif;
  font-weight: 400;
  font-style: normal;
}
main {
  margin: auto;
}
main nav {
  margin: 3rem;
}
/****社長挨拶*/
h2 {
  border-bottom: 1px solid #989898;
  margin-bottom: 1rem;
}
/**クッキーポリシー　プライバシーポリシー*/
h3 {
  margin-bottom: 1rem;
}
/*********************************ヘッダー*/
header {
  max-width: 1600px;
  margin: 0 4rem 0 4rem;
}
.logo {
  width: 200px;
  /* padding-left: 4rem;*/
}
.header-nav {
  display: flex;
  justify-content: space-between;
  padding-top: 1rem;
  border-bottom: 1px solid #989898;
}
header a {
  text-decoration: none;
  list-style: none;
  color: #215f9a;
}
header ul {
  display: flex;
  align-items: flex-end;
  gap: 2.5rem;
  font-size: 1.1rem;
  list-style: none;
  padding: 0 2rem 1rem 2rem;
}
.header-eng {
  color: #3A3A3A;
  font-size: 1.2rem;
}
/*ヘッダー透明ボタン*/
/* header li {
  border-radius: 10px;
  padding: .6rem;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}
*/
/***********************************ヘッダー固定*/
/* 通常のヘッダー（最初は透明） */
/*
.header-nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 80px;
  background-color:transparent; /* 初期の色 透明 */
/*
  transition: background-color 0.4s ease, backdrop-filter 0.4s ease; /* 変化をなめらかに */
/*
  z-index: 1000;
  display: flex;
  align-items: center;
  padding: 0 40px;
}

/* スクロールした時に付与するクラス */
/*
.header-nav.is-scrolled {
  /* 透明グレー（rgbaの最後の数値で透明度を調整） */
/*
  background-color: rgba(50, 50, 50, 0.7) !important; 
  /* 背景をぼかす */
/*
  backdrop-filter: blur(6px); 
}

/* スクロール時の文字色（グレー背景で見えにくい場合） */
/*
.header-nav.is-scrolled ul li a,
.header-nav.is-scrolled .header-eng {
  color: #fff;
}

*/
/*********************************メインビジュアル*/
/*背景画像設定*/
.cover-home {
  background-image: url("..//images/main-visual.jpg");
  background-size: cover;
  background-position: center bottom;
  min-height: 100vh;
}
.catchphrase {
  margin: 5rem 0 0 4rem;
}
.catchphrase1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: .5em;
  font-weight: 500;
}
.catchphrase2 {
  font-size: 2.6rem;
  margin-bottom: 1rem;
}
.catchphrase3 {
  font-size: 1.3rem;
}
.catchphrase4 {
  display: inline-block;
  vertical-align: text-bottom;
  margin-top: 1rem;
}
/*キャッチコピー写真内で動く*/
.catchphrase {
  position: sticky;
  top: 0;
}
/*********************************メイン*/
/*トップページ チームの写真　サービスのご案内*/
.team {
  display: flex;
  justify-content: flex-start;
}
.img-box {
  z-index: 1;
}
.team-text a {
  text-decoration: none;
  color: #5b5b5b;
}
.team-text {
  z-index: 10;
  margin-left: -10rem;
}
.team-text1 {
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 2rem;
  margin-bottom: 1rem;
}
.team-text2 {
  font-size: 1.5rem;
}
.team img {
  width: 600px;
  height: auto;
}
/*トップページ 研究者の写真　サービスのご案内*/
.researcher a {
  text-decoration: none;
  color: #5b5b5b;
}
.researcher {
  background-image: url("..//images/top-researcher.jpg");
  min-height: 100vh;
  margin-bottom: 2rem;
  text-align: end;
}
.researcher-text1 {
  margin-right: 4rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  margin-top: 1rem;
  margin-bottom: 1rem;
  padding-top: 2rem;
}
.researcher-text2 {
  margin-right: 4rem;
  font-size: 1.5rem;
}
/*トップページ 夜明けの写真　サービスのご案内*/
.sunrise a {
  text-decoration: none;
  color: #f3f3f3;
}
.sunrise {
  background-image: url("..//images/top-sunrise.jpg");
  min-height: 100vh;
  margin-bottom: 3rem;
}
.sunrise-text1 {
  color: #fff;
  margin-top: 3rem;
  padding-top: 5rem;
  padding-left: 4rem;
  font-size: 3rem;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 3px 4px 3px rgb(61 70 70);
}
.sunrise-text2 {
  color: #fff;
  font-size: 3rem;
  padding-left: 4rem;
  text-shadow: 3px 4px 3px rgb(61 70 70);
}
.sunrise-text3 {
  color: #fff;
  font-size: 2.3rem;
  padding-left: 4rem;
  text-shadow: 3px 4px 3px rgb(61 70 70);
}
.sunrise-img {
  vertical-align: text-bottom;
  margin-left: 1rem;
}
/*トップページ　事業の詳細*/
.container {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  grid-template-rows: 400px;
  gap: 20px;
}
.container img { /*写真を並行四辺形に*/
  transform: skewX(-10deg);
}
/*********************************事業の詳細(company)*/
.cover-company {
  background-image: url("..//images/company.jpg");
  background-size: cover;
  background-position: center bottom;
  min-height: 100vh;
}
.company-container img {
  width: 40%;
}
.company-item1 {
  display: flex;
  padding-top: 2rem;
  column-gap: 2rem;
}
.company-item2 {
  display: flex;
  padding-top: 2rem;
  column-gap: 2rem;
}
.company-item3 {
  display: flex;
  padding-top: 2rem;
  column-gap: 2rem;
}
.company-item4 {
  padding-top: 2rem;
  column-gap: 2rem;
  display: flex;
}
/*********************************サービスのご案内(services)*/
.cover-company {
  background-image: url("..//images/company.jpg");
  background-size: cover;
  background-position: center bottom;
  min-height: 100vh;
}
.cover-services {
  background-image: url("..//images/girl.jpg");
  background-size: cover;
  background-position: center bottom;
  min-height: 100vh;
}
.catchphrase-services {
  text-align: end;
  color: #fff;
  padding: 4rem 3rem 0 0;
}
.catchphrase-services1 {
  font-size: 4rem;
  line-height: 1.1;
  margin-bottom: .5em;
  font-weight: 400;
}
.catchphrase-services2 {
  font-size: 2rem;
  margin-bottom: 1rem;
}
/*********************************社長挨拶*/
/*#greeting {
  text-align: center;
}
*/ .mesbtn {
  display: flex;
  justify-content: flex-end; /* 右寄せ */
  align-items: flex-end; /* 下揃えにする（ここが整列の肝） */
  gap: 10px;
  margin-bottom: 1.5rem;
}
button {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  padding: 0.6rem 1.2rem;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2); /* 影は少し下向き*/
  background: #fff;
  border: 1px solid #ddd;
  cursor: pointer;
  transition: transform 0.2s;
}
button:hover {
  background: #f9f9f9;
}
#sizeS {
  font-size: 0.9rem;
}
#sizeM {
  font-size: 1.2rem;
}
#sizeL {
  font-size: 1.5rem;
}
/*********************************コンタクト　フォーム*/
.contact-bar1 {
  display: flex;
  justify-content: center;
  margin: 2rem 0;
}
.contact-text {
  text-align: center;
  margin: 2rem 0;
}
.contact-img {
  width: 60%;
  height: auto;
  margin-bottom: 2rem;
}
#contact dl {
  max-width: 600px; /* フォーム全体の幅を600*/
  margin: 0 auto;
}
#contact dt {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 0.5rem;
  font-weight: bold;
}
#contact dd {
  width: 100%;
}
#contact dd input, #contact dd textarea {
  width: 100%;
  border: solid 1px #c8c8c8;
  padding: 10px;
}
#contact dd textarea {
  height: 10rem;
}
#contact .button {
  text-align: center;
  margin: 2rem 0;
}
#contact .button input {
  width: 200px;
  background-color: #001345;
  color: #fff;
  padding: 15px 0;
  border: solid 1px #001345;
}
#contact .button input:hover {
  opacity: 0.6;
}
/***************************チェックボックス*/
/* エリア全体の中央寄せ */
.privacy-area {
  text-align: center;
  margin: 3rem auto;
  max-width: 800px;
  padding: 0 20px;
}
.privacy-area p {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}
.privacy-area .en {
  font-size: 0.9rem;
  color: #666;
  margin-bottom: 1.5rem;
}
/* チェックボックス部分 */
.agree-check {
  margin-top: 1.5rem;
  display: flex;
  justify-content: center; /* 横方向の中央寄せ */
}
.agree-check label {
  display: flex;
  align-items: center;
  gap: 10px; /* チェックボックスと文字の間隔 */
  cursor: pointer;
  font-weight: bold;
  padding: 10px 20px;
  border: 1px solid #ddd;
  border-radius: 5px;
  background: #f9f9f9;
}
.agree-check input[type="checkbox"] {
  width: 20px;
  height: 20px;
  cursor: pointer;
}
/*********************************アクセスMap 企業情報*/
.accessimg {
  max-width: 100%;
}
.h3access {
  text-align: left;
  padding-bottom: 1rem;
}
.h3info {
  text-align: center;
}
.item-add {
  margin: 0 2rem;
}
.access-container {
  display: flex;
  justify-content: center;
  margin: 2rem;
}
.info {
  text-align: left;
  margin: 0 2rem;
}
table {
  border-collapse: collapse;
}
th {
  background-color: #CED0E4;
  border-collapse: collapse;
}
th, td {
  border: solid 1px #9a9a9a;
  padding: 0 1rem;
}
/********************************* NO いいえページ */
.no-img {
  min-height: 100vh;
}
/*********************************フッター*/
footer {
  background-color: #001345;
  margin-top: 4rem;
  padding-bottom: 1rem;
}
footer nav a {
  text-decoration: none;
  list-style: none;
  color: #fff;
}
.footer-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  /*  border-top: solid 2px #9A9A9A;
  border-bottom: solid 2px #9a9a9a;*/
  padding: 2rem 2rem 1rem;
}
nav ul {
  display: flex;
  gap: 2.5rem;
  font-size: .8rem;
  list-style: none;
}
nav li {
  color: #FFFFFF;
  border-right: solid 1px;
  padding-right: 1rem;
}
nav ul li:last-child {
  border-right: none;
}
.copyright {
  text-align: center;
  color: #fff;
  font-size: .7rem;
}
/****************************Cookieポリシー ボトムシート*/
/* ポップアップの基本スタイル */
#bottom-popup {
  position: fixed;
  bottom: -200px; /* 初期位置：画面下（隠れている状態） */
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1600px;
  background-color: #fff;
  color: #303030;
  padding: 20px;
  border-radius: 10px 10px 0 0;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
  transition: all 0.5s ease-in-out; /* ふわっと出すアニメーション */
  z-index: 9999; /*いちばんまえ*/
}
/* 表示された時のクラス */
#bottom-popup.is-show {
  bottom: 0; /* 画面下部に固定 */
}
/* コンテンツスタイル */
.popup-content {
  text-align: center;
}
#close-btn {
  margin: 0 auto;
  background-color: #fff;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}
/***********************************トップページ モーダルウインドウ*/
/* モーダル基本設定 */
.modal-container {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.8); /* 背景はかなり濃いめ */
  z-index: 9999;
  justify-content: center;
  align-items: center;
}
.txt1 {
  color: #215f9a;
  font-size: 1.8rem;
  font-weight: 600;
}
.modal-container.active {
  display: flex;
}
.modal-body {
  background: #fff;
  padding: 40px 20px;
  width: 100%;
  max-width: 700px;
  text-align: center;
  border-radius: 12px;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}
/* ボタンエリアの設定 */
.btn-area-confirm {
  display: flex;
  gap: 15px;
  justify-content: center;
  margin-top: 25px;
}
.btn-yes, .btn-no {
  padding: 15px 25px;
  border: none;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  width: 100%;
}
/* 「はい」のボタン */
.btn-yes {
  background-color: #215f9a;
  color: #fff;
  text-shadow: 1px 1px 3px black;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}
/* 「いいえ」のボタン */
.btn-no {
  background-color: #ccc;
  color: #333;
  box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.4);
}
/*********************************モバイル対応追加（600px以下）*****************/
@media (max-width: 800px) {
  /* --- 全体レイアウト --- */
  #wrapper {
    margin: 0 1.5rem;
  }
  /* --- ヘッダー・ナビゲーション --- */
  .header-nav {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.5rem;
    height: auto;
    position: relative; /* 子要素（menu-icon, ul）の基準 */
    margin: 0;
  }
  /* Englishボタンを最上部へ */
  .header-eng {
    order: 1;
    width: 100%;
    text-align: left;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    display: block;
    margin-left: 0; /* 位置リセット */
  }
  /* ロゴをEnglishの下へ */
  .header-nav h1 {
    order: 2;
    width: auto;
  }
  .logo {
    width: 140px;
  }
  /* ハンバーガーボタンを右側に固定 */
  .menu-icon {
    display: block;
    order: 3;
    width: 30px;
    height: 22px;
    position: relative;
    cursor: pointer;
    z-index: 101;
  }
  /* 三本線のデザインとアニメーション */
  .menu-icon span {
    display: block;
    position: absolute;
    width: 100%;
    height: 2px;
    background-color: #215f9a;
    transition: all 0.3s;
  }
  .menu-icon span:nth-child(1) {
    top: 0;
  }
  .menu-icon span:nth-child(2) {
    top: 10px;
  }
  .menu-icon span:nth-child(3) {
    top: 20px;
  }
  .menu-icon.active span:nth-child(1) {
    transform: translateY(10px) rotate(-45deg);
  }
  .menu-icon.active span:nth-child(2) {
    opacity: 0;
  }
  .menu-icon.active span:nth-child(3) {
    transform: translateY(-10px) rotate(45deg);
  }
  /* ドロップダウンメニュー(ul) */
  .header-nav ul {
    order: 4;
    display: none; /* 最初は非表示（JSでスライド） */
    flex-direction: column;
    position: absolute;
    top: 100%; /* ヘッダーのすぐ下に */
    left: 0;
    width: 100%;
    background: #fff;
    padding: 0;
    margin: 0;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    z-index: 100;
    border-top: 1px solid #eee;
  }
  .header-nav ul li {
    width: 100%;
    padding: 0;
    border-bottom: 1px solid #eee;
  }
  .header-nav ul li a {
    display: block;
    padding: 1rem 1.5rem;
    text-align: center;
    font-size: 1rem;
  }
  /* --- メインコンテンツの調整 --- */
  .catchphrase {
    margin: 3rem 0 0 1.5rem;
    position: relative; /* stickyがスマホで使いにくい場合はrelativeに */
  }
  .catchphrase1 {
    font-size: 2.2rem;
  }
  .catchphrase2 {
    font-size: 1.6rem;
  }
  .catchphrase3 {
    font-size: 1rem;
  }
  .team {
    flex-direction: column;
  }
  .team img {
    width: 100%;
  }
  .team-text {
    margin-left: 0;
    margin-top: -1rem;
    background: rgba(243, 243, 243, 0.95);
    padding: 1.5rem;
    z-index: 10;
  }
  .team-text1 {
    font-size: 1.8rem;
  }
  .researcher, .sunrise {
    background-position: center;
    min-height: 60vh;
    padding: 2rem 1rem;
  }
  .researcher-text1, .sunrise-text1, .sunrise-text2 {
    font-size: 1.8rem;
    margin-right: 0;
    padding-left: 0;
    text-align: center;
  }
  .researcher-text2, .sunrise-text3 {
    font-size: 1rem;
    margin-right: 0;
    padding-left: 0;
    text-align: center;
  }
  /* 事業の詳細を縦一列に */
  .container {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  .container img {
    transform: none;
  }
  /* アクセスの設定  縦並び****************************************/	

	.access-container {
    flex-direction: column; /* 横並びを解除して縦に */
    align-items: center;  
    margin: 1rem;
    gap: 20px; 
  }

  /* Googleマップの幅を画面いっぱいに */
  .access-container iframe {
    width: 100% !important; 
    height: auto;
    aspect-ratio: 4 / 3;    /* 縦横比を維持 */
  }

  /* 住所テキストの間隔調整 */
  .item-add {
    margin: 0;
    text-align: center;   
  }

  /* 企業情報テーブルの幅調整 */
  .info {
    width: 100%;
    margin: 0;
  }
  
  .info th, .info td {
    padding: 0.8rem 0.5rem; /* スマホで押しやすく少し広めに */
    font-size: 0.9rem;
  }

  /* ビルの写真の幅調整 */
  .access-img img {
    width: 100%;
    height: auto;
  }
	
  /* フッターの設定 ****************************************/
  footer {
    background-color: #001345;
    color: #fff;
  }
  .footer-nav li {
    color: #FFFFFF;
  }
  /* フッターのナビゲーションを縦並びにする */
  .footer-nav ul {
    flex-direction: column; /* 縦に並べる */
    align-items: flex-start; 
    gap: 1rem; 
    padding: 0;
  }
  .footer-nav li {
    border-right: none; /* 横並び用の縦棒を消す */
    padding-right: 0; /* 余白をリセット */
    text-align: center;
  }
  .copyright {
    color: #FFFFFF;
  }
}