
/*====================
スマホを基本設計にする
 - 〜479px：スマートフォン縦
 - 480px〜599px：スマートフォン横
 - 600px〜959px：タブレット
 - 960px〜1279px：小型PC
 - 1280px〜：大型PC
====================*/

/* ====================================================================================*/

body {
  margin: 0;
  font-family: 'Montserrat', sans-serif;
  background-color: #0f0f0f;
  background-color: #2A3132;
  background-color: #F1F1F2;
  color: #fff;
}

header {
  background-color: #121212;
  background-color: #336B87;
  background-color: #1995AD;
  background-color: #626D71;
  background-color: #4897D8;
  background-color: #2F496E;
  background-color: #04202C;
  background-color: #F3EBDD;
  background-color: #FFFFFF;
  <!--
  padding: 20px 40px;
  -->
  padding-top:20px;
  padding-bottom:20px;

  display: flex;
  
  
  justify-content: space-between;

  align-items: center;
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

header h1 {
  color: #00e5ff;
  color: #6C5F5B;
  color: #20232A;
  color: #262F34;
  color: #1A405F;
  color: #061283;
  color: #344D90;
  color: #3A5199;
  color: #008DCB;
  color: #4897D8;
  color: #00293C;
  color: #004898;
  color: #0086CC;
  color: #6495ED;
  font-size: 1.8em;
  font-size: 2.0em;
}

.header_company {
  padding-left:40px;
}

.header_nav {
  margin-right:40px;
}

nav a {
  position: relative;
  color: #fff;
  color: #00293C;
  color: #004898;
  color: #6495ED;
  margin-left: 25px;
  text-decoration: none;
  font-weight: bold;
  transition: color 0.3s;

}

nav a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 100%;
  height: 2px;
  background-color: #00e5ff;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

nav a:hover::after {
  transform: scaleX(1);
}

.hero2 {
  height: 100vh;
  background: linear-gradient(to bottom right, rgba(0,0,0,0.6), rgba(0,0,0,0.8)), url('https://source.unsplash.com/1600x900/?technology,data,network') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
}

.hero {
  height: 100vh;
  background: linear-gradient(to bottom right, rgba(10,0,10,0.6), rgba(0,0,255,0.8)), url('https://source.unsplash.com/1600x900/?innovation,future') no-repeat center center/cover;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 0 20px;
  animation: fadeIn 2s ease-in-out;
}


.hero h2 {
  font-size: 3.5em;
  color: #00e5ff;
  margin-bottom: 20px;
  text-shadow: 2px 2px 5px rgba(0,0,0,0.7);
}

.hero p {
  font-size: 1.3em;
  max-width: 700px;
  text-shadow: 1px 1px 3px rgba(0,0,0,0.6);
}

.btn {
  margin-top: 30px;
  padding: 15px 35px;
  background-color: #00e5ff;
  border: none;
  border-radius: 30px;
  color: #000;
  font-size: 1em;
  font-weight: bold;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn:hover {
  background-color: #00bcd4;
}

.gallery-section {
  padding: 80px 40px;
  background-color: #f5f5f5;
  color: #333;
  text-align: center;
}

.gallery-section h2 {
  font-size: 2em;
  margin-bottom: 40px;
  color: #004898;
}

.gallery {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.image-box {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 1s ease;
}


.image-box.visible {
  opacity: 1;
  transform: translateX(0);
}

.image-box img {
  width: 100%;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

/*****************************************************/

.site-footer {
  background-color: #00293C;
  color: #fff;
  padding: 40px 20px 20px;
  font-size: 0.95em;
}

.footer-content {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  max-width: 1200px;
  margin: 0 auto;
  padding-bottom: 20px;
  border-bottom: 1px solid rgba(255,255,255,0.2);
}

.footer-left h3 {
  margin-bottom: 10px;
  color: #00e5ff;
  color: #6495ED;
}

.footer-left p {
  line-height: 1.6;
}

.footer-right {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-right a {
  color: #fff;
  text-decoration: none;
  transition: color 0.3s;
}

.footer-right a:hover {
  color: #00e5ff;
}

.footer-bottom {
  text-align: center;
  margin-top: 20px;
  font-size: 0.85em;
  color: #ccc;
}

/*****************************************************/

.image-wrapper {
  position: relative;
  overflow: hidden;
  border-radius: 10px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
}

.image-wrapper img {
  width: 100%;
  transition: transform 0.5s ease;
}

.image-wrapper:hover img {
  transform: scale(1.1);
}

.overlay-menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.6);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay-menu a {
  color: #fff;
  background-color: #00e5ff;
  padding: 10px 20px;
  margin: 5px;
  border-radius: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: background-color 0.3s;
}

.overlay-menu a:hover {
  background-color: #00bcd4;
}

.image-wrapper:hover .overlay-menu {
  opacity: 1;
}

/*****************************************************/

.corner-images_bk20260422 {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  gap: 10px;
  z-index: 10;
}

.corner-images_bk20260422 img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
  transition: transform 0.3s ease;
  cursor: pointer;
}

.corner-images_bk20260422 img:hover {
  transform: scale(1.1);
}

.corner-images {
  position: static;
  margin-top: 20px;
  margin-right:20px;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
}

.corner-images_ {
  position: absolute;
  bottom: 20px;
  right: 20px;
  display: flex;
  flex-direction: column;   /* 全体は縦 */
  align-items: flex-end;
  gap: 8px;
  z-index: 10;
}

/* ここで画像だけ横並びにする */
.corner-logos {
  display: flex;
  gap: 10px;
}

.corner-images img {
  width: 80px;
  height: 80px;
  object-fit: cover;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

.corner-text {
  text-align: right;
  font-size: 0.75rem;
  font-size: 1rem;
  color: #fff;
  color: #000;
}

.corner-images img:hover {
  transform: scale(1.1);
}


/**/

.menu-toggle {
  display: none;
  font-size: 2em;
  cursor: pointer;
  color: #004898;
}

/*****************************************************/
.hero-accordion {
  display: flex;
  height: 50vh;
  overflow: hidden;
}

.accordion-item {
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: flex 0.5s ease;
  position: relative;
  cursor: pointer;
}

.accordion-item:hover {
  flex: 3;
}

.accordion-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 1.5em;
  background-color: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 10px;
}

/*****************************************************/
.img-accordion {
  display: flex;
  height: 50vh;
  overflow: hidden;
}

.img-accordion-item {
  flex: 1;
  background-size: cover;
  background-position: center;
  transition: flex 0.5s ease;
  position: relative;
  cursor: pointer;
}

.img-accordion-item:hover {
  flex: 3;
}

.img-accordion-label {
  position: absolute;
  bottom: 20px;
  left: 20px;
  color: #fff;
  font-size: 2.5em;
  background-color: rgba(0,0,0,0.5);
  padding: 10px 20px;
  border-radius: 10px;
  /*
  width:300px;
  */
}

/* ギャラリー内の画像ボックスのサイズを統一する */
.gallery2 .image-box2 img {
  width: 100%;          /* 横幅を親要素（image-wrapper）に合わせる */
  height: 300px;        /* ★ここをRECRUITの画像と同じ高さに指定します */
  object-fit: cover;    /* 縦横比を維持したまま、指定したサイズにトリミングする */
}


.gallery .image-box img {
  width: 100%;
  height: 340px;
}


/*****************************************************/
@keyframes fadeIn {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/*****************************************************/
.bscom_content {
	min-height:1000px;
}
.bscom_contents {
	padding-left:200px;
}

/*****************************************************/
/* */
/*****************************************************/
.image-row {
  display: flex;
  justify-content: center;
  gap: 20px; /* 画像の間隔 */
  margin-top: 40px;
}

.image-row img {
  width: 35%; /* 画像サイズ調整（必要に応じて変更） */
  height: auto;
  border: 1px solid #ccc;
  border-radius: 8px;
}

.image-with-text {
  position: relative;
  display: inline-block;
  width: 25%;
  margin: 10px;
}

.image-with-text img {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 8px;
}

.overlay-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央に配置 */
  color: white;
  background-color: rgba(0, 0, 0, 0.6); /* 半透明の背景 */
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1.5em;
  text-align: center;
}

.overlay-text2 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* 中央に配置 */
  color: white;
  background-color: rgba(0, 255, 0, 0.6); /* 半透明の背景 */
  padding: 12px 20px;
  border-radius: 6px;
  font-size: 1.5em;
  text-align: center;
  width:120px;
}


/*****************************************************/
/*****************************************************/
/*****************************************************/

/* ====================================================================================*/
/* ====================================================================================*/
@media (max-width: 768px) {
  /* コンテンツ全体の余白調整 */
  .bscom_contents {
    padding-left: 10px;
    padding-right: 20px;
  }

  header h1 {
    color: #6495ED;
    font-size: 1.4em;
  }


  .hero h2 {
    font-size: 2.5em;
  }

  .hero p {
    font-size: 1em;
  }

  header2 {
    flex-direction: column;
    align-items: flex-start;
  }

  header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.5);
    z-index: 1000;
    padding-bottom:0px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    /*
    padding: 20px 40px;
    */
    padding: 0px 40px;
  }

  /*
  nav {
    margin-top: 10px;
  }
  */
  
  .gallery {
    grid-template-columns: 1fr;
  }

  .footer-content {
    flex-direction: column;
    align-items: flex-start;
    gap: 20px;
  }

  .footer-right {
    flex-direction: row;
    flex-wrap: wrap;
    gap: 15px;
  }

  /**/
  .menu-toggle {
    display: block;
  }

  nav2 {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }
  nav {
    display: none;
    flex-direction: column;
    background-color: #fff;
    position: absolute;
    top: 70px;
    left: 0;
    width: 100%;
    padding: 20px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
  }

  nav a {
    margin: 10px 0;
    color: #004898;
  }

  nav.active {
    display: flex;
  }

  /*****************************************************/
  /* */
  /*****************************************************/
  .image-row {
    flex-direction: column; /* 縦並びに変更 */
    align-items: center;    /* 中央揃え */
    gap: 30px;              /* 縦方向の間隔 */
  }

  .image-with-text {
    width: 90%;             /* 画面幅に合わせて広げる */
    margin: 0 auto;         /* 中央配置 */
  }

  .overlay-text {
    font-size: 1.2em;       /* テキストサイズを少し小さく */
    padding: 10px 16px;     /* パディング調整 */
  }


  .corner-images {
    align-items: center;
    margin-right: 0;
  }

  .corner-logos {
    gap: 6px;
  }

  .corner-logos img {
    width: 80px !important;
    height: auto !important;
  }

  .corner-text {
    text-align: center;
    font-size: 0.8rem;
  }


}

/* ====================================================================================*/
/* 〜479px：縦
/* ====================================================================================*/
@media screen and (max-width:479px) { 

}
 
/* ====================================================================================*/
/* 480px〜599px：横 */
/* ====================================================================================*/
@media screen and (min-width:480px) and (max-width:599px) {

}

/* ====================================================================================*/
/* 600px〜959px：タブレット */
/* ====================================================================================*/
@media screen and (min-width:600px) and (max-width:959px) {

}

/* ====================================================================================*/
/* 960px〜1279px：小型PC */
/* ====================================================================================*/
@media screen and (min-width:960px) and (max-width:1279px) {

}

/* ====================================================================================*/
/* 1280px〜：大型PC */
/* ====================================================================================*/
@media screen and (min-width:1280px) {

}

/* ====================================================================================*/
/* */
/* ====================================================================================*/

