@charset "utf-8";
/* CSS Document */

/* ど真ん中配置 */
.hd-title{
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 5;
  text-align: center;
  color: #fff;
  white-space: nowrap;
}

/* 日本語メイン */
.hd-main{
  display: block;
  font-size: 36px;
  font-weight: 700;
  letter-spacing: 0.08em;
  margin-bottom: 0px;
}

/* 英語サブ */
.hd-sub{
  position: relative;
  display: inline-block;   /* ← 英語の文字幅基準 */
  font-size: 14px;
  font-weight: 400;
  letter-spacing: 0.15em;
  padding-bottom: 10px;
  opacity: 0.85;
}

/* 英語の下のアンダーライン */
.hd-sub::after{
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translateX(-50%);
  width: 80%;              /* ← 英語より少し短く */
  height: 1px;
  background-color: #FFFFFF;
}


.hd011{
  height: 500px;
  margin-top: 0px;
  margin-bottom: 0px;
  overflow: hidden;
  width: 100%;
  position: relative; /* h1の基準にする */	
}

/* 横並び */
.hd-wrap{
	display: flex;
	height: 100%;
}

.hd-left{
	width: 400px;
	background-color: hsla(202,100%,23%,0.82);
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
}
.hd-left.recruit-bg{
	background-color: hsla(190,22%,45%,0.61); /* 好きな色 */
}
.hd-left.ikkan-bg{
	background-color: hsla(228,35%,32%,0.53); /* 好きな色 */
}
/* 英語（背景デザイン・下に密着） */
.hd-en{
	position: absolute;
	left: 50%;
	bottom: -10px;          /* ← はみ出させる */
	transform: translateX(-50%);
	font-size: 64px;
	font-weight: 700;
	letter-spacing: 0.02em;
	color: #202125;
	white-space: nowrap;
	line-height: 1;
	font-family: "Arial Black", Gadget, sans-serif;
}

.tight {
  letter-spacing: -0.07em;   /* 標準に戻す */
}
/* 日本語（主役） */
.hd-sub{
  position: relative;
  z-index: 2;
  font-size: 16px;
  letter-spacing: 0.3em;
  color: #fff;
  white-space: nowrap;
}
/* 右：写真背景 */
.hd-right{
  flex: 1;
  background: url("images/header.jpg") center / cover no-repeat;
  display: flex;
  align-items: center;
  padding: 0 40px;
  position: relative;
}

/* 文字用の暗幕 */
.hd-right::before{
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    to right,
    rgba(0,0,0,0.55) 0%,
    rgba(0,0,0,0.35) 40%,
    rgba(0,0,0,0.0) 100%
  );
  z-index: 0;
}

/* h1を前面に */
.hd-right h1{
  position: relative;
  z-index: 1;
}

/* 右のタイトル */
.hd-right h1{
  color: #fff;
  font-size: 32px;
  line-height: 1.35;
  font-weight: 700;
  letter-spacing: 0.08em;
  position: relative;
}

/* アクセントライン */
.hd-right h1::after{
	content: "";
	display: block;
	width: 60px;
	height: 2px;
	background-color: #0092A6;
	margin-top: 12px;
}
/* ==========================
   スマホ・タブレット以下
========================== */
@media screen and (max-width: 1024px){

.tight {
  letter-spacing: 0em;   /* 標準に戻す */
}
  .hd011{
	height: auto;
	 margin-top: 0px;   /* 固定ヘッダー分だけ下げる */
  }

  /* 横並び → 縦並び */
  .hd-wrap{
    flex-direction: column;
  }

  /* 左エリアを上に */
  .hd-left{
	height: auto;              /* 固定高さをやめる */
	padding: 20px 0 12px;      /* 上下余白で高さを作る */
	width: 100%;
  }

  .hd-en{
    font-size: 1.8em;
    bottom: 15px;
	  	color: hsla(176,100%,84%,0.31);
  }

  .hd-sub{
    font-size: 14px;
    letter-spacing: 0.2em;
  }

  /* 右エリア（画像） */
  .hd-right{
    min-height: 150px;
    padding: 20px;
  }

  .hd-right h1{
    font-size: 22px;
  }

  .hd-title{
	font-size: 22px;
	padding-top: 40px;
  }
}
@media screen and (max-width: 768px) {
  .sp-break {
    display: block;
  }

  .hd011{
	height: auto;
	 margin-top: 3px;   /* 固定ヘッダー分だけ下げる */
  }	
}
/* ==========================
   小型スマホ対応
========================== */
@media screen and (max-width: 480px){
  /* 左エリアを上に */
  .hd-left{
	height: auto;              /* 固定高さをやめる */
	padding-top: 10px;
	padding-right: 0px;
	padding-left: 0px;
	padding-bottom: 10px;      /* 上下余白で高さを作る */
	width: 100%;
  }
  .hd-en{
	font-size: 1.5em;
	bottom: 10px;
	color: hsla(176,100%,84%,0.31);
  }

  .hd-right h1{
    font-size: 20px;
    line-height: 1.3;
  }

  .hd-title{
    font-size: 20px;
  }
}

