﻿@charset "utf-8";

/* 基幹部分 */
*{
	margin:0;
	padding:0;
 	color:#000;
	line-height: 1.3em;
	letter-spacing: 0.12em;
}

body{
	width:100%;
	font-family:'ヒラギノ角ゴ Pro W3','Hiragino Kaku Gothic Pro','メイリオ',Meiryo,'ＭＳ Ｐゴシック',sans-serif;
}

img {
  border-style:none;
  vertical-align:middle;
}

/* リンク設定 */
a:link {
	font-weight:bold;
  color: #007bbb;
	text-decoration: none;
}
a:visited {
	font-weight:bold;
  color: #1e50a2;
	text-decoration: none;
}
a:hover {
	font-weight:bold;
  color: #6496b0;
	text-decoration: none;
}
a:active {
	font-weight:bold;
  color: #1e50a2;
	text-decoration: underline;
}

span {
  display: block;
  color: #202020;
}

.shadow {
  box-shadow: 3px 3px 6px rgba(0, 0, 0, 0.2);
}

/* 各ページ基本設定 */

/*コンテンツ幅*/
.wrap{
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 2em;
}


/*下余白*/
.mb {
  margin-bottom: 5em;
}

/*インデント*/
.indent-1 {
  text-indent: 1em;
}

.p-list span {
  margin-bottom: 0.3em;
}

/*ヘッダー*/
header {
  height: 30%;
  margin: 2em 0;
}

.hp-flex {
  display: flex;
  justify-content: space-between;
  align-items: center;
}


.hc-flex {
  display: flex;
  align-items: center;
  gap: 1em;
}

.hc-flex p {
  color: #202020;
}


/*メイン*/
/*製品紹介*/

/*修正*************************************************************/
.prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2.8em;
}

.biz-prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border: 4px solid #ee7948;
  border-radius: 8px;
  padding: 2em 2.5em 2.5em;
  width: 100%;
  box-sizing: border-box;
}

.office-prod {
  display: flex;
  flex-direction: column;
  align-items: center;
  background-color: #fff;
  border: 4px solid #2ca9e1;
  border-radius: 8px;
  padding: 2em 2.5em 2.5em;
  width: 100%;
  box-sizing: border-box;
}

.prod-flex {
  display: flex;
  gap: 1.8em;
  margin-bottom: 2em;
  width: 100%;
}

.img-title {
  width: 60%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 1em;
}

.p-cont {
  display: flex;
  flex-direction: column;
  gap: 1em;
  width: 100%;
}

.fs-120 {
  font-size: 125%;
}

.biz-c-title span {
  font-weight: 600;
  color: #e7703c;
  text-align: center;
}

.office-c-title span {
  font-weight: 600;
  color: #2497ca;
  text-align: center;
}

/*製品ページへのバナー*/
.product-promo {
  margin: 2em 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 3em;
}

/*Bizコンテンツ*/
.biz-banner-p {
  border: 1px solid #1e50a2;
  padding: 0.3em;
  border-radius: 8px;
  width: 100%;
}

.biz-banner {
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  /*background-color: #fcf3ee;*/
  background-image: url("../img/common/top_bg_biz.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}


.biz-banner a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}


/* スライドしてくる帯 */
.biz-banner::before {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 0;
  width: 100%;
  height: 20%;
  background: #1e50a2;
  transition: bottom 0.3s ease;
  
  background: linear-gradient(
    to bottom,
    rgba(45, 75, 160, 0.6),
    rgba(45, 75, 160, 0.6)
  );
}


/* hover時 */
.biz-banner:hover::before {
  bottom: 0;
}

.biz-banner:hover .banner-text {
  bottom: 8%;
}


/*Officeコンテンツ*/
.office-banner-p {
  border: 1px solid #2ca9e1;
  padding: 0.3em;
  border-radius: 8px;
  width: 100%;
}

.office-banner {
  height: 420px;
  position: relative;
  overflow: hidden;
  border-radius: 8px;
  /*background-color: #eaf3fd;*/
  background-image: url("../img/common/top_bg_office.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

.office-banner a {
  display: block;
  width: 100%;
  height: 100%;
  position: relative;
}

/* スライドしてくる帯 */
.office-banner::before {
  content: "";
  position: absolute;
  bottom: -40%;
  left: 0;
  width: 100%;
  height: 20%;
  background: #2ca9e1;
  transition: bottom 0.3s ease;
  
  background: linear-gradient(
    to bottom,
    rgba(44, 169, 225, 0.6),
    rgba(44, 169, 225, 0.6)
  );
}


/* hover時 */
.office-banner:hover::before {
  bottom: 0;
}

.office-banner:hover .banner-text {
  bottom: 8%;
}


/*帯の文字*/
.banner-overlay {
  position: absolute;
  bottom: -80px;        /* 初期位置 */
  left: 0;
  width: 100%;
  height: 20%;

  display: flex;
  align-items: center;
  justify-content: center;

  transition: bottom 0.3s ease;
}

.biz-banner:hover .banner-overlay {
  bottom: 0;
}

.office-banner:hover .banner-overlay {
  bottom: 0;
}

.banner-text {
  position: static;
  font-size: 1.3rem;
  font-weight: bold;
  color: #fff;
}

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

/*フッター前コンテンツ*/
/*用語説明*/
.footer-pre {
  background-color: #dde6f0;
  padding: 2.4em 0;
}

.glossary {
  display: flex;
  flex-direction: column;
  gap: 1.2em;
}

.gloss-title {
  font-size: 150%;
  font-weight: 600;
  color: #274a78;
  border-bottom: 2px dashed #274a78;
  padding-left: 0.5em;
  margin-bottom: 0.6em;
}

.gloss-cont {
  background-color: #fff;
  padding: 1.5em;
  border-radius: 8px;
}

.g-term {
  font-size: 120%;
  margin-bottom: 0.8em;
}


/*フッター*/
footer {
  background-color: #e5e4e6;
  padding: 2.4em 0;
}

.f-cont {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.f-cont div {
  margin-bottom: 1em;
}

.f-cont div p {
  margin-top: 1em;
}

nav {
  display: flex;
  gap: 3em;
}


li {
  list-style: none;
  padding-left: 0.3em;
  text-align: left;
}

ul {
  width: 14em;
}

.link-top {
  font-size: 160%;
  border-bottom: 3px solid #007bbb;
  margin-bottom: 0.4em;
}

/*コピーライト*/
small {
  display: block;
  margin-top: 3.5em;
}


/*レスポンシブ*******************************************************************/

/*ヘッダー各コンテンツを縦並び*/
@media (max-width: 1400px) {
  .hc-flex {
    display: block;
  }
  
  .hc-flex p {
    margin-top: 0.5em;
  }
  
  /*右揃え*/
  .hp-flex div a {
    display: block;
    text-align: right;
  }
}


/*ヘッダーコンテンツを全て縦並び*/
@media (max-width: 700px) {
  .hp-flex {
    isplay: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 1em;
  }
  
  .hc-flex p,
  .hp-flex div a {
    text-align: center !important;
  }
}


/*コンテンツ幅変更*/
/*商品紹介コンテンツ縦並び*/
@media (max-width: 1400px) {
  .wrap {
    max-width: none;
    width: 76%;
    padding: 0;
  }
}


@media (max-width: 1410px) {
  .prod-flex {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1em;
  }
  
  .img-title {
    width: 100%;
  }
}


/*文字サイズ、余白調整、画像の縮小*/
@media (max-width: 670px) {
  .img-title img {
    max-width: 100%;
    height: auto;
    aspect-ratio: 330 / 94;
  }
  
  
  .biz-prod,
  .office-prod {
    padding: 1.6em;
  }
  
  .biz-c-title,
  .office-c-title {
    font-size: 90%;
  }
  
  .biz-c-title span,
  .office-c-title span 
  {
   white-space: nowrap;
  }
  
  .sp-fs {
    font-size: 80%;
  }
  
  .mb {
    margin-bottom: 3em;
  }
}

/*画面幅に合わせて要素を縮小*/
@media (max-width: 1400px) {
  .biz-banner,
  .office-banner {
    max-width: 100%;
    height: auto;
    aspect-ratio: 1065 / 420;
  }
}

@media (max-width: 800px) {
  .banner-text {
    font-size: 1rem;
  }
}

@media (max-width: 600px) {
  .biz-banner::before,
  .office-banner::before {
    height: 26%;
  }
  
  .banner-overlay {
    height: 26%;
  }
  
  .banner-text {
    font-size: 1rem;
  }
}

/*SP版サイトマップ縦並び*/
@media (max-width: 600px) {
  nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }
}

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