/* リセットとボックス設定 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Noto Sans JP', sans-serif;
  display: flex;
}

/* 左固定サイドナビ */
.side-nav {
	width: 60px;
	height: 100vh;
	background: white;
	display: flex;
	flex-direction: column;
	justify-content: space-between;
	align-items: center;
	padding: 20px 0;
	position: fixed;
	top: 0;
	left: 0;
	border-right: 1px solid #ddd;
	z-index: 1000;
}

.hamburger {
  font-size: 1.5rem;
  background: none;
  border: none;
  cursor: pointer;
}

.side-bottom {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}

.contact-btn-en {
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  text-orientation: mixed;
  font-size: 0.8rem;
  color: #003366;
  font-weight: bold;
  text-decoration: none;
}

.side-icon img {
  width: 24px;
  height: 24px;
}

/* メインコンテンツ全体 */
.main-content {
  margin-left: 60px;
  width: calc(100% - 60px);
}

/* Hero セクション */
.hero {
  position: relative;
  aspect-ratio: 1360 / 707;
  width: 100%;
  height: auto;
  background-image: url('../img-new/hero.png');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}

.hero-logo {
  position: absolute;
  top: 20px;
  left: 20px;
}

.hero-logo img {
  height: 40px;
  width: auto;
}

.top-inner {
	width:96%;
	max-width:1024px;
	margin:0 auto;
}
.top-h1 {
	font-weight:700;
	font-size:64px;
}
.top-h2 {
	font-weight:700;
	font-size:24px;
}
.top-intro {
	font-weight:normal;
	font-size:16px;
	padding:1em;
	line-height:1.4;
}
@media screen and (max-width: 768px) {
	#about {
		padding:50px 10px;
	}
	.top-h1 {
		font-size:40px;
	}
	.top-h2 {
		font-size:20px;
	}
}


/* 各セクション共通スタイル */
.section {
  padding: 80px 20px;
  border-bottom: 1px solid #eee;
}

.section h2 {
  font-size: 2rem;
  text-align: center;
  margin-bottom: 30px;
}

/* 2列ボックスレイアウト */
.two-box {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.box {
  background: #fff;
  padding: 20px;
  width: 250px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  text-align: center;
}

/* News リストスタイル */
.news-list {
  list-style: none;
  text-align: center;
  font-size: 1rem;
  line-height: 2;
}

/* Gallery */
.gallery {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
}

.gallery img {
  width: 200px;
  border-radius: 8px;
}

/* Company フル幅イメージ */
.full-img {
  display: block;
  margin: 20px auto;
  max-width: 100%;
  border-radius: 8px;
}

/* History リスト */
.history-list {
  list-style: none;
  text-align: center;
  line-height: 2;
}

.history-list li {
  list-style: none;
}

/* メンバー紹介カード */
.member-cards {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.card {
  text-align: center;
}

.card img {
  width: 100px;
  height: 100px;
  border-radius: 50%;
}

/* メガメニュー基礎 */
.mega-menu {
  display: none;
  position: fixed;
  inset: 0;
  background-color: #07254f;
  color: white;
  z-index: 900;
/*
  z-index: 2000;
*/
  padding: 30px 30px 30px 90px;
}

.mega-menu.active {
  display: block;
}

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

.mega-logo {
  display: flex;
  align-items: center;
  gap: 15px;
}

.mega-logo img {
  height: 50px;
}

.mega-buttons {
	display:flex;
	justify-content: center;
}

.mega-buttons .btn {
	width:10em;
	display:flex;
	justify-content: center;
	align-content: center;
  padding: 10px 20px;
  margin-left: 10px;
  font-weight: bold;
  border-radius: 20px;
  text-decoration: none;
  color: black;
}

.btn.yellow {
  background: #ffeb3b;
}

.btn.green {
  background: #a4f44f;
}

.close {
  font-size: 2rem;
  background: none;
  border: none;
  color: white;
  cursor: pointer;
}

/* メガメニュー整列（CSSグリッド） */
.mega-content {
  width:100%;
  max-width:1440px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 40px 60px;
  margin: 20px auto 0;
  border-top:#fff 1px solid;
	padding-top:40px;
}

.mega-content ul {
  list-style: none;
  padding: 0;
}

.mega-content li {
  margin-bottom: 20px;
}

.mega-content a {
  display: block;
  color: white;
  font-size: 1.1rem;
  text-decoration: none;
  letter-spacing: 0.25em;
}

.mega-content small {
  display: block;
  font-size: 0.8rem;
  opacity: 0.7;
  margin-top: 5px;
  letter-spacing: 0;
}

/* レスポンシブ対応 */
@media screen and (max-width: 768px) {
	
	.hero {
	  position: relative;
	  aspect-ratio: 375 / 607;
	  width: 100%;
	  height: auto;
	  background-image: url('../img-new/hero-sp.png');
	  background-size: 100% auto;
	  background-position: center top;
	  background-repeat: no-repeat;
	}
	
  /* サイドナビを横並びに */
  .side-nav {
    width: 100%;
    height: 60px;
    position: fixed;
    flex-direction: row;
    justify-content:flex-end;
	margin:0;
    padding: 10px 20px;
    border-bottom: 1px solid #ddd;
/*
	  display: none;
*/
  }

  .contact-btn-en {
    writing-mode: horizontal-tb;
    transform: none;
    font-size: 0.9rem;
  }

  .main-content {
    margin:60px 0 0;
    width: 100%;
	  overflow: hidden;
  }

  .section {
    padding: 40px 15px;
  }

  .two-box,
  .gallery,
  .member-cards {
    flex-direction: column;
    align-items: center;
  }

  .box,
  .gallery img,
  .full-img,
  .card img {
    width: 90%;
    max-width: 100%;
  }

  .card img {
    width: 80px;
    height: 80px;
  }

  .mega-menu {
    padding: 20px;
    overflow-y: auto;
  }

  .mega-content {
    display: block;
  }

  .mega-buttons {
		order:3;
		display: flex;
		justify-content: center;
		gap: 10px;
  }

  .mega-logo {
		order:2;
  }

  .mega-header {
    flex-direction: column;
    justify-content: center;
    gap: 10px;
  }
	
  .mega-header .close-area{
		order:1;
		width:100%;
	  	text-align: right;
  }
	
  .mega-header #menu-close{
  }

  .side-contact {
    display: none;
  }

  /* Hero も縦長表示に切替 */
  .hero {
    background-size: contain;
    background-position: center top;
  }
	
	.side-bottom {
	  display: none;
	}
	
}

.image {
	display:none;
}

.image img {
	margin:0;
	padding:0;
	width:100%;
	height:auto;
	font-size:0;
	line-height:0;
	vertical-align: bottom;
}

/* 内部ページ */

header.page {
	margin:0 auto;
	background:#0C2D4C;
}
header.page .logo{
	display: block;
	padding:25px;
}
header.page .logo img{
	width:100%;
	height:auto;
	max-width:394px;
}
header.page .logo:hover{ 
	filter: drop-shadow(0 0 0.75rem #fff);
	transition:0.3s;
}

h1.page-title {
    position: relative;
    height: 293px;
    overflow: hidden;
    background-color: #0C2D4C;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    text-align: left !important;
    vertical-align: middle;
    background-image: url(../css/img/bg-title.png);
}

h1.page-title p{
	margin-left:75px;
}
h1.page-title .en{
	font-size:40px;
	text-shadow: 2px 2px 2px black;
}
h1.page-title .jp{
	font-size:20px;
	text-shadow: 2px 2px 2px black;
}

#skill h1.page-title,
#awards-p h1.page-title {
    color: #000;
}
#skill h1.page-title .en,
#awards-p h1.page-title .en{
	font-size:40px;
	text-shadow: 2px 2px 2px #fff;
}
#skill h1.page-title .jp,
#awards-p h1.page-title .jp{
	font-size:20px;
	text-shadow: 2px 2px 2px #fff;
}


@media screen and (max-width: 768px) {
	h1.page-title p{
		margin-left:30px;
	}
	h1.page-title .en{
		font-size:32px;
		text-shadow: 2px 2px 2px black;
	}
	h1.page-title .jp{
		font-size:18px;
		text-shadow: 2px 2px 2px black;
	}
	#skill h1.page-title .en,
	#awards-p h1.page-title .en{
		font-size:32px;
		text-shadow: 2px 2px 2px #fff;
	}
	#skill h1.page-title .jp,
	#awards-p h1.page-title .jp{
		font-size:18px;
		text-shadow: 2px 2px 2px #fff;
	}
}

#contact h1.page-title{
	background: url("../contact/img/bg-title.png")no-repeat;
}
#entry h1.page-title{
	background:url("../entry/img/bg-title.png") no-repeat;
}
#recruit-p h1.page-title{
	background:url("../recruit/img/bg-title.png") no-repeat;
}
#results h1.page-title{
	background:url("../results/img/bg-title.png") no-repeat;
}
#skill h1.page-title{
	background:url("../skill/img/bg-title.png") no-repeat;
}
#awards-p h1.page-title{
	background:url("../awards/img/bg-title.png") no-repeat;
}
#company-p h1.page-title{
	background:url("../company/img/bg-title.png") no-repeat;
}

.breadcrumb {
	display: flex;
	flex-wrap: wrap;
	list-style: none;
	width:100%;
	margin:0 auto;
	padding:0.5em 75px;
	font-size:16px;
}
@media screen and (max-width: 768px) {
	.breadcrumb {
		padding:0.5em;
	}
}

.breadcrumb li:not(:last-of-type)::after {
	content: "›";
	margin: 0 .6em; /* 記号の左右の余白 */
	color: #777; /* 記号の色 */
}



.form-area {
	padding:50px 25px;
	background: #2B67A2;
	color:#fff;
}
@media screen and (min-width:768px){
	.form-area {
		padding:100px;
	}
}

.form-area a{
	color:#fff;
}

.form-inner {
	width:96%;
	max-width:800px;
	margin:0 auto;
}

.form-intro dt{
	font-size:18px;
	font-weight:bold;
	margin:0 0 1em 0;
}

.form-intro dd{
	font-size:16px;
	line-height:1.6;
}

.form-intro dd p{
	text-indent: -1em;
	padding-left: 1em;
	margin-bottom:0.25em;
}
.form-intro dd p:last-child{
	margin-bottom:0;
}

.contact-divider{ /*区切り*/
	display: block;
	width: 100%;
	border-bottom: dashed 1px #C6C6C6 !important;
	margin-bottom: 20px;
}
.req-tag{ /*必須*/
	padding: 2px 8px;
	background: #fff !important;
	font-size:14px;
	font-weight:bold;
	color:#012A93;
	display: inline-block;
	text-align: center;
	margin: 0 5px;
	border-radius: 3px;
}

.normal-tag{ /*任意*/
	padding: 5px 15px;
	background: #3999AC !important;
	display: inline-block;
	text-align: center;
	margin: 0 5px;
	border-radius: 3px;
}

.mail-container{ /*入力フォーム*/
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-direction: row;
	align-items: center;
	flex-wrap: wrap;
	width: 100%;
	height: auto;
	margin-top:40px;
}

.top-sp{ /*間隔*/
	margin: 20px 0;
}
.btm-sp{
	margin-bottom: 15px;
}
.mail-item{
	margin-bottom: 30px;
}
.mail-item:nth-child(1){ /*Label*/
	width: 20%;
	font-size:16px;
	font-weight:bold;
}
.mail-item:nth-child(2){ /*Tag*/
	width: 10%;
	text-align: center;
}
.mail-item:nth-child(3){ /*Form*/
	width: 70%;
}

.scroll{ /*利用規約*/
	padding: 20px;
	width: 100%;
	height: 300px;
	overflow-y: scroll;
	overflow-x: hidden;
	background: white;
	scrollbar-color: #4084A7 #EFEFEF;
	border: solid 1px #707070;
}

.chk-container{ /*同意-ボタン*/
	display: -webkit-box;
	display: -webkit-flex;
	display: -ms-flexbox;
	display: flex;
	flex-wrap: wrap;
	width: 100%;
	height: auto;
}
.chk-item{
	width: 100%;
	margin-bottom: 10px;
	text-align: center;
}

.entry-input-text {
	font-size:20px;
    margin-bottom: 3px;
    appearance: none;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 2px 0px inset;
    width: 97%;
    background-color: #fff;
    transition: 0.3s;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(224, 224, 224);
    border-image: initial;
    border-radius: 2px;
    padding: 0px 1em;
    outline: none;
	line-height:50px;
}

.entry-textarea {
	font-size:20px;
    appearance: none;
    box-shadow: rgba(0, 0, 0, 0.1) 1px 1px 2px 0px inset;
    width: 94%;
	min-height:7em;
    background-color: #fff;
    resize: vertical;
    transition: 0.3s;
    border-width: 1px;
    border-style: solid;
    border-color: rgb(224, 224, 224);
    border-image: initial;
    border-radius: 2px;
    padding: 5px 15px;
    outline: none;
}

.wpcf7-form-control.wpcf7-text,
.wpcf7-form-control.wpcf7-select,
.wpcf7-form-control.wpcf7-text.wpcf7-email{
	width: 50%;
	border-radius: 5px !important;
	margin-bottom: 0;
	background-color: white;
}

.wpcf7-form-control.wpcf7-textarea{
	width: 100%;
	border-radius: 5px !important;
	margin-bottom: 0;
	background-color: white;
}


.wpcf7-not-valid-tip{ /*Error Messages*/
	color: red !important;
	padding-top: 10px !important;
	font-size: 13px !important;
	display: block;
}
span.wpcf7-not-valid-tip {
	padding: 0;
}

/*エラー表示を非表示*/
.screen-reader-response {
	display: none;
	}

div.wpcf7-validation-errors {
	margin-top: 20px !important;
	font-size: 16px;
	display: inline-block;
	margin: 0 auto;
	background-color: #CF2323;
}


@media screen and (max-width: 640px) { /* 640px以下(Mobile)*/
	
	header.page .logo img{
		max-width:320px;
	}
	
	.mega-header {
		margin-top:60px;
	}

	.wpcf7-form-control.wpcf7-text,
	.wpcf7-form-control.wpcf7-text.wpcf7-email,
	.wpcf7-form-control.wpcf7-select{
	width: 100%;
	}
	.mail-item:nth-child(1){ /*Label*/
	width: 50%;
	margin-bottom: 10px;
	}
	.mail-item:nth-child(2){ /*Tag*/
	width: 50%;
	margin-bottom: 10px;
	text-align: left !important;
	}
	.mail-item:nth-child(3){
	width: 100%;
	}
	.tag {
	width: 60px;
	}
}

.entry-submit {
    width: 95%;
    margin: 30px auto 0px;
    padding: 0px;
    list-style: none;
	display: flex;
	gap:10px;
	justify-content: center;
}

.submit-btn {
    appearance: button;
    cursor: pointer;
    position: relative;
    display: inline-block;
    color: #2B67A2;
    font-size: calc(18px + 0.25vw);
    line-height: 3;
    text-shadow: rgba(0, 0, 0, 0.2) 0px 1px 0px;
    transition: 0.3s;
    padding: 0px 3em;
    text-decoration: none;
    background: #fff;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
}

footer.page {
	margin:0 auto;
	padding:25px;
	background:#0C2D4C;
	color:#fff;
}

footer.page .flex {
	width:100%;
	margin:15px auto 40px;
	display:flex;
	flex-wrap: wrap;
	justify-content: space-between;
	gap:30px;
}
@media screen and (min-width: 640px) {
	footer.page .flex {
		max-width:1024px;
	}
}

footer.page .flex ul{
	list-style:none;
}
footer.page .flex ul li{
	list-style:none;
	margin:0 0 1.25em;
}
footer.page .flex ul li a{
	text-decoration: none;
	font-size:1.1rem;
	letter-spacing: 0.08em;
	color:#fff;
}
footer.page .flex ul li a span{
	display: block;
	font-size: 0.8rem;
	letter-spacing: 0;
	opacity: 0.7;
}






/* privacy */

.privacy-area {
	padding:80px 100px;
}
@media screen and (max-width: 769px) {
	.privacy-area {
		padding:30px 10px;
	}
}

.privacy-inner {
	width:96%;
	max-width:800px;
	margin:0 auto;
}

.privacy-intro dt{
	font-size:16px;
	font-weight:bold;
	margin:0 0 1em 0;
}

.privacy-intro dd{
	font-size:16px;
	line-height:1.6;
}

.privacy-intro dd p{
	text-indent: -1em;
	padding-left: 1em;
	margin-bottom:0.25em;
}
.privacy-intro dd p:last-child{
	margin-bottom:0;
}

.policy {
	margin:40px auto;
}

.policy h2 {
    position: relative;
	margin:0 0 1em 0;
    padding: .3em 0 .2em 1em;
    border-bottom: 3px solid #2589d0;
    color: #333333;
}

.policy h2::before {
    position: absolute;
    top: 0;
    left: .3em;
    transform: rotate(55deg);
    height: 11px;
    width: 12px;
    background: #2589d0;
    content: '';
}

.policy h2::after {
    position: absolute;
    transform: rotate(15deg);
    top: .6em;
    left: 0;
    height: 8px;
    width: 8px;
    background: #2589d0;
    content: '';
}

.policy .contants {
    margin:0.5em 0 1em 1.5em;
}

.policy .contants p{
    margin-bottom:0.75em;
}
.policy .contants p:last-child{
    margin-bottom:0;
}

.policy .contants ol{
    margin:0.5em 0 0.5em 1.5em;
}

input.submit-btn {
	margin:0 5px;
    cursor: pointer;
    position: relative;
    display: inline-block;
    color: #2B67A2;
    font-size: 18px;
    line-height: 2;
    text-shadow: rgba(0, 0, 0, 0.2) 0px 1px 0px;
    transition: 0.3s;
    padding: 0.25em 1.5em;
    text-decoration: none;
    background: #fff;
    border-width: initial;
    border-style: none;
    border-color: initial;
    border-image: initial;
	
}
input.submit-btn[disabled] {
  background-color: #ccc;
  cursor: not-allowed;
}

.mail-item input[type=checkbox] {
  transform: scale(1.5);
	margin-right:10px;
	margin-left:1em;
}

input[type=checkbox]#agree {
  transform: scale(1.5);
}

.agree-layout{
	width:100%;
	text-align: center !important;
}
.agree-layout label{
	display: inline-block;
	text-align: center;
	margin-left:auto;
	margin-right:auto;
}

input[type="radio"] {
  position: relative;
	margin-left:1em;
  margin-right:10px;
  width: 16px;
  height: 16px;
  border: 1px solid #fff;
  border-radius: 50%;
  vertical-align: -2px;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

input[type="radio"]:checked:before {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #fff;
  content: '';
}

.entry-input-text-5em {
	margin-left:2px;
	margin-right:2px;
	margin-bottom:0.5em;
	width: 5em;
}
.entry-input-text-6em {
	margin-left:2px;
	margin-right:2px;
	margin-bottom:0.5em;
    width: 6em;
}
.entry-input-text-8em {
	margin-left:2px;
	margin-right:2px;
	margin-bottom:0.5em;
    width: 8em;
}
.input-70 {
    width: 70%;
	margin-right:15px;
	margin-bottom:0.5em;
}

textarea::placeholder {
	line-height:1.5;
}


/* results */

.results-area {
	padding:30px 12px 80px;
}
@media screen and (min-width: 769px) {
	.results-area {
		padding-left:100px;
		padding-right:100px;
	}
}

.results-inner {
	width:96%;
	max-width:1080px;
	margin:0 auto;
}

.results-btn {
	list-style: none;
	display:flex;
	flex-wrap: wrap;
	justify-content: center;
	gap:20px 60px;
	margin:0 auto 60px;
}
.results-btn li{
	width:100%;
	max-width:360px !important;
	list-style: none;
}
.results-btn li a{
	position: relative;
	text-decoration: none;
	width:100%;
	max-width:360px !important;
	display:block;
	color:#fff;
	font-size:16px;
	font-weight:bold;
	line-height:48px;
	background:#2B67A2;
	padding:0 1em;
}
.results-btn li a:after{
	position:absolute;
	content: "→";
	right:1em;
	top:0;
	bottom:0;
}

.results h2 {
	position: relative;
	font-size:20px;
	font-weight:bold;
	color:#2B67A2;
	margin-bottom:1em;
	letter-spacing: 0.2em;
}
.results h2::after {
  margin-left:1em;
  position: absolute;
  content: "";
  top: 50%;
  width: 120px;
  height: 1px;
  background-color: #2B67A2;
}

.results .list{
	width:100%;
	max-width:1000px;
	list-style: none;
	justify-content: center;
	margin:0 auto 60px;
	column-gap: 20px;
/*
	display: grid;
	grid-template-columns: repeat(auto-fit, 500px);
	grid-gap: 0 20px;

*/
}
	@media screen and (max-width: 640px) { /* 640px以下(Mobile)*/
	.results .list{
		column-count: 1;
		max-width:768px;
	}
}
	
.point {
	width:100%;
	max-width:900px;
	text-align: right;
	color:#00CC00;
	padding:0.25em 1em;
}
.point .kome{
	color:#CC3333;
}

.results .list li{
	position: relative;
	width:98%;
	border:#2B67A2 1px solid;
	font-size:16px;
	line-height:30px;
	padding:0 0.5em;
	margin-top:-1px;
}
.results .list li.head{
	background:#496685;
	color:#fff;
	font-size:18px;
	font-weight:bold;
	text-align: center;
	letter-spacing: 0.25em;
}

@media screen and (min-width: 769px) {
	.results .list li a{
		position:absolute;
		right:3em;
		top:0;
		bottom:0;
	}
}
@media screen and (max-width: 768px) {
	.results .list li a{
		display:block;
	}
}

@media screen and (min-width: 769px) {
	.results .list li{
		padding-left:3em;
		padding-right:3em;
	}
}


.tab-1 {
	width:98%;
    display: flex;
    flex-wrap: wrap;
    max-width: 900px;
	margin:0 auto;
}

.tab-1 > label {
    flex: 1 1;
    order: -1;
    min-width: 70px;
    padding: .7em 1em .5em;
    border-bottom: 1px solid #f0f0f0;
    border-radius: 0;
    background-color: #e9f0f6;
    color: #2B67A2;
    font-size: 20px;
	font-weight:bold;
    text-align: center;
    cursor: pointer;
}
@media screen and (max-width: 768px) {
	.tab-1 > label {
		font-size: 18px;
	}
}

.tab-1 > label:hover {
    opacity: .8;
}

.tab-1 input {
    display: none;
}

.tab-1 > div {
    display: none;
    width: 100%;
    padding: 1.5em 1em;
    background-color: #fff;
}
@media screen and (max-width: 768px) {
	.tab-1 > div {
		display: none;
		width: 100%;
		padding: 1em 0;
		background-color: #fff;
	}
}
.tab-1 label:has(:checked) {
    background-color: #fff;
    border-color: #2B67A2 #f0f0f0 #fff;
    border-style: solid;
    border-width: 4px 1px 1px;
    border-radius: 5px;
    color: #2B67A2;
}

.tab-1 label:has(:checked) + div {
    display: block;
}

.skill-inner {
	width:96%;
	max-width:1024px;
	margin:0 auto 100px;
}

.skill h1 {
	margin:0 0 0.25em;
	color:#2B67A2;
	line-height:1.5;
	border-bottom:#000 1px solid;
}
@media screen and (min-width: 768px) {
	.skill h1 {
		font-size:30px;
	}
}
.skill h2 {
	margin:1.5em 0 0.75em 1em;
	color:#2B67A2;
	line-height:1.5;
	display: flex;
	align-items: center;
}
.skill h2::after {
  background-color: #2B67A2; /* 横線の色 */
  content: "";
  height: 2px;
  width: 6em; /* 横線の長さ */
}
.skill h2::after {
  margin-left: 15px; /* 文字との余白 */
}
@media screen and (min-width: 768px) {
	.skill h2 {
		font-size:20px;
	}
}
.skill .intro{
	margin:0 0 0 16px;
}
@media screen and (max-width: 768px) {
	.skill .intro{
		margin:0 0 0 0;
	}
}
.skill .intro p{
	font-size:16px;
	line-height:1.5em;
	margin:0 0 1em;
}

.gallery {
	list-style: none;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	gap:12px;
	margin-top:45px;
/*
	display: grid;
  	grid-template-columns: repeat(auto-fit, 300px);
  	justify-content: center;
  	grid-gap: 1rem;
*/
}
.gallery li{
	list-style: none;
}
.gallery li.dummy{
	display:none;
}
@media screen and (min-width: 768px) {
	.gallery li.dummy{
		display:block;
		width:240px;
	}
}
.gallery li img{
	width:100%;
	max-width:300px;
	height:auto;
}
.gallery li img.full {
  max-width: 900px;
}

.gallery li figcaption{
	text-align: center;
	margin-bottom:0.5em;
}

.gallery-mini {
	list-style: none;
	display: grid;
  	grid-template-columns: repeat(auto-fit, 200px);
  	justify-content: center;
  	grid-gap: 1.5rem;
}
.gallery-mini li img{
	width:100%;
	max-width:200px;
	height:auto;
}


.skill-btn {
	width:100%;
	max-width:1024px;
	list-style: none;

	display: grid;
  	grid-template-columns: repeat(auto-fit, 17em);
  	justify-content: center;
  	grid-gap: 20px;
	margin:30px auto 50px;
}
.skill-btn li{
	width:100%;
	max-width:17em !important;
	list-style: none;
}
.skill-btn li a{
	position: relative;
	text-decoration: none;
	width:100%;
	max-width:17em !important;
	display:block;
	color:#fff;
	font-size:16px;
	font-weight:bold;
	line-height:48px;
	background:#2B67A2;
	padding:0 1em;
}
.skill-btn li a:after{
	position:absolute;
	content: "→";
	right:1em;
	top:0;
	bottom:0;
}


.recruit_staff_container {
	display:flex;
	flex-wrap: wrap;
	align-items: center;
	gap:10px;
}
.recruit_staff_media {
	display: flex;
	flex-wrap:wrap;
	align-items: center;
	justify-content: center;
	gap:20px;
}
.recruit_staff_text {
}
.recruit_staff_image {
	width: 200px;
	border-radius: 50%;
	overflow: hidden;
}
.recruit_staff_image img {
	width: 100%;
	object-fit: cover;
}
.recruit_staff_flow {
	max-width:540px;
	border: 12px solid #d7f4fa;
	padding-top: 15px;
	margin-top: 20px;
}
.recruit_staff_flow h3 {
	text-align: center;
	background: none !important;
	padding: 0 !important;
	font-size: 16px !important;
}
.recruit_staff_flow h3 span {
	display: inline-block;
	color: #3268cb;
	background: linear-gradient(transparent 60%, #f4fe28 0%) !important;
}
.recruit_staff_flow_image {
	width:100%;
	max-width: 440px;
	transform: translateY(12px);
	margin: 20px auto 0 auto;
}
.recruit_staff_flow_image img {
	width: 100%;
	object-fit: cover;
}

.table1{
	border-collapse: collapse;
	padding:0px;
	margin:10px auto 0px;
	width:96%;
	background:#fff;
}
.table1 th{
	padding:12px 10px;
	margin:0px;
	border:1px solid #999;
	font-weight:normal;
	text-align:left;
	background:#fcfcfc;
}
.table1 th.th-recruit{
	min-width:10em;
}

.table1 td{
	padding:12px 10px;
	margin:0px;
	border:1px solid #999;
}

@media screen and (max-width: 768px) {
	.table1 th,
	.table1 td{
		width:100%;
		display:block;
		padding:10px;
		margin:0px;
		font-weight:normal;
		text-align:left;
	}
	.table1 th{
		border-bottom:none;
	}
	.table1 td{
		padding-left:1em;
		border-bottom:none;
	}
	.table1 tr:last-child td{
		padding-left:1em;
		border-bottom:1px solid #999;
	}
	
}

#about {
	padding:100px 10px;
	position: relative;
	width: 100%;
	background-image: url('../img-new/bg-about.png');
	background-size: 100% auto;
	background-position: center top;
	background-repeat: no-repeat;
}
#about .top-h1,
#about .top-h2 {
	color:#2B67A2;
}
#about .top-intro {
	color:#333;
}
#about ul {
	margin:30px auto 0;
	list-style:none;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	gap:24px;
}
#about ul li{
	list-style:none;
	position: relative;
}
#about ul li img{
	width:100%;
	max-width:492px;
	transition: opacity 0.5s;
	height:auto;
}
#about ul li:hover img:first-of-type {
    opacity: 0;
}
#about ul li img:last-of-type {
    position: absolute;
    top: 0px;
    left: 0px;
    opacity: 0;
}
#about ul li:hover img:last-of-type {
    opacity: 1;
}

#btn-area {
	padding:100px 10px;
	position: relative;
	width: 100%;
}
#btn-area ul {
	margin:30px auto 0;
	list-style:none;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	gap:24px;
}
#btn-area ul li{
	list-style:none;
	position: relative;
}
#btn-area ul li img{
	width:100%;
	max-width:492px;
	transition: opacity 0.5s;
	height:auto;
}


#news {
	padding:100px 10px;
	position: relative;
	width: 100%;
	background:#2B67A2;
}
#news .top-h1,
#news .top-h2 {
	color:#fff;
}
#news .top-intro {
	color:#333;
}
#news .list-news{
	margin-top:30px;
	padding-top:20px;
	list-style:none;
	overflow-y:auto;
	max-height:22em;
	color:#fff;
}
#news .list-news li{
	list-style:none;
	font-size:16px;
	padding:1.25em 0;
	border-bottom:#ddd 1px solid;
}
#news .list-news li .date{
	font-weight:bold;
	padding-right:1.5em;
}
#news .list-news li .ttl{
	line-height:1.4;
	display:block;
	padding:0.5em 1em;
}
#news .list-news a{
	color:#fff;
	font-size:1.1em;
	text-decoration: underline;
}
#works {
	padding:100px 10px;
	position: relative;
	width: 100%;
	background:#fff;
}
#works .top-h1,
#works .top-h2 {
	color:#2B67A2;
}
#works .top-intro {
	color:#333;
}
#works ul {
	margin-top:30px;
	list-style:none;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	gap:24px;
}
#works ul li{
	list-style:none;
}
#works ul li img{
	width:100%;
	max-width:492px;
	height:auto;
}

.btn-more {
	margin:20px auto 0;
	display:flex;
	width:240px;
	height:48px;
	justify-content: center;
	align-content: center;
	background: #2B67A2;
	color:#fff;
	font-weight:bold;
	font-size:16px;
	line-height:48px;
	text-decoration: none;
}
.btn-more:hover {
	background: #0C2D4C;
}

#other {
	padding:100px 10px;
	position: relative;
	width: 100%;
	background:#2B67A2;
}
#other ul {
	margin-top:30px;
	list-style:none;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	gap:24px;
}
#other ul li{
	list-style:none;
}
#other ul li img{
	width:100%;
	height:auto;
}

#recruit {
  position: relative;
  margin:0 auto;
  padding:0;
  width: 100%;
  max-width:1360px;
  height: auto;
  background-color:#2B67A2;
  background-image: url('../img-new/bg-recruit.png');
  background-size: 100% auto;
  background-position: center top;
  background-repeat: no-repeat;
}
#recruit .top-h1,
#recruit .top-h2 {
	width:100%;
	max-width:1024px;
	color:#fff;
	margin-left:auto;
	margin-right:auto;
}
.top-inner-recruit {
	padding:100px 0 0;
	width:100%;
	max-width:1360px;
	aspect-ratio: 1360 / 594;
	margin:0 auto;
}

#recruit .flex {
	padding:24px 0;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	align-items: center;
}

#recruit .top-intro {
	width:100%;
	max-width:640px;
	color:#fff;
}

#recruit .btn-more {
	margin:0 5em;
	display:flex;
	width:240px;
	height:48px;
	justify-content: center;
	align-content: center;
	background: #fff;
	color:#2B67A2;
}
#recruit .btn-more:hover {
	background: #B6D4E3;
}

#company {
	padding:100px 10px;
	position: relative;
	width: 100%;
	background-image: url('../img-new/bg-company.png');
	background-size: 100% auto;
	background-position: center top;
	background-repeat: no-repeat;
}
#company .top-h1,
#company .top-h2 {
	color:#2B67A2;
}
#company .top-intro {
	color:#333;
}

#company .flex {
	padding:24px 0;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	align-items: center;
	gap:24px;
}

#company .flex .txt {
	max-width:520px;
}

#awards {
	padding:100px 10px;
	position: relative;
	width: 100%;
	background:#2B67A2;
}
#awards .top-h1,
#awards .top-h2 {
	color:#fff;
}
#awards .top-intro {
	color:#fff;
}

#awards .flex {
	padding:24px 0;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	align-items: center;
	gap:24px;
}

#awards .flex .txt {
	max-width:680px;
}

#awards .btn-more {
	margin:0 0 0 2em;
	display:flex;
	width:240px;
	height:48px;
	justify-content: center;
	align-content: center;
	background: #fff;
	color:#2B67A2;
}
#awards .btn-more:hover {
	background: #B6D4E3;
}

@media screen and (max-width: 768px) {
	#about {
		padding:50px 10px;
	}
	#news {
		padding:50px 10px;
	}
	#news .list-news{
		max-height:18em;
	}
	#works {
		padding:50px 10px;
	}
	#other {
		padding:50px 10px;
	}
	#recruit {
		padding:50px 0;
  		background-image: url('../img-new/bg-recruit-sp.png');
	}
	.top-inner-recruit {
		padding:50px 0 0;
		width:96%;
		max-width:750px;
		aspect-ratio: 750 / 922;
		margin:0 auto;
	}
	#recruit .flex {
		padding:0;
	}
	#company {
		padding:50px 10px;
	}
	#awards {
		padding:50px 10px;
	}
	#awards .btn-more {
		margin:0 auto;
	}
}


.company-inner {
	width:96%;
	max-width:1024px;
	margin:0 auto 100px;
}

.company h1 {
	margin:0 0 0.25em;
	color:#2B67A2;
	line-height:1.5;
	border-bottom:#000 1px solid;
}
@media screen and (min-width: 768px) {
	.company h1 {
		font-size:30px;
	}
}
.company h2 {
	margin:0.75em 0 0.75em 1em;
	color:#2B67A2;
	line-height:1.5;
	display: flex;
	align-items: center;
}
.company h2::after {
  background-color: #2B67A2;
  content: "";
  height: 2px;
  min-width: 4em;
  max-width: 6em;
}
.company h2::after {
  margin-left: 15px;
}
@media screen and (min-width: 768px) {
	.company h2 {
		font-size:20px;
	}
}
.company .intro{
	margin:0 0 0 16px;
}
.company .intro p{
	font-size:16px;
	line-height:1.5em;
	margin:0 0 1em;
}

.company .flex{
	margin-top:30px;
	display:flex;
	flex-wrap:wrap;
	align-content: flex-start;
	justify-content: center;
	gap:24px;
}
.company .flex .greeting{
	max-width:660px;
}
@media screen and (max-width: 768px) {
	.company .flex img{
		order:1;
	}
	.company .flex .greeting{
		order:2;
	}
}
.outline {
	padding:75px 10px;
	position: relative;
	width: 100%;
	background-color: #2B67A2;
	background-image: url('../company/img/bg-outline.png');
	background-size: 100% auto;
	background-position: center top;
	background-repeat: no-repeat;
}
.outline-inner {
	width:96%;
	max-width:1024px;
	margin:0 auto;
}
.outline h1 {
	margin:0 0 0.25em;
	color:#fff;
	line-height:1.5;
	border-bottom:#fff 1px solid;
}
@media screen and (min-width: 768px) {
	.outline h1 {
		font-size:30px;
	}
	.outline .sp {
		display:none;
	}
}
@media screen and (max-width: 768px) {
	.outline {
		padding:50px 0;
	}
}

.outline .flex{
	margin-top:40px;
	display:flex;
	flex-wrap:wrap;
	justify-content: center;
	align-content: flex-start;
	gap:30px;
}

.tbl-outline {
	border-collapse:  collapse;
}
.tbl-outline th,
.tbl-outline td{
	padding:0.75em 1em;
	font-size:16px;
	line-height:1.4;
	color:#fff;
	border-bottom:#fff 1px solid;
}
@media screen and (max-width: 768px) {
	.tbl-outline th{
		width:8em;
	}
	.tbl-outline td{
		width:auto;
	}
	.outline .flex{
		gap:0;
	}
	.tbl-outline {
		width:100%;
	}
}

.map-area {
	padding:75px 10px;
	position: relative;
	width: 100%;
	background-color: #fff;
	background-image: url('../company/img/bg-map.png');
	background-size: 100% auto;
	background-position: center top;
	background-repeat: no-repeat;
}
.map-inner {
	width:96%;
	max-width:1024px;
	margin:0 auto;
}
.map-area h1 {
	margin:0 0 0.25em;
	color:#2B67A2;
	line-height:1.5;
	border-bottom:#000 1px solid;
}
.map-area h2 {
	margin:0.75em 0 0.75em 1em;
	color:#2B67A2;
	line-height:1.5;
	display: flex;
	align-items: center;
}
.map-area h2::after {
  background-color: #2B67A2;
  content: "";
  height: 2px;
  min-width: 4em;
  max-width: 6em;
}
.map-area h2::after {
  margin-left: 15px; /* 文字との余白 */
}
@media screen and (min-width: 768px) {
	.map-area h2 {
		font-size:20px;
	}
}
@media screen and (min-width: 768px) {
	.map-area h1 {
		font-size:30px;
	}
}
@media screen and (max-width: 768px) {
	.map-area {
		padding:50px 0;
	}
}

.map-flex {
	width:100%;
	margin-top:30px;
	padding:30px;
	display:flex;
	flex-wrap:wrap;
	justify-content: space-between;
	align-items: center;
	background:#B6D4E3;
}
.address dt{
	font-size:20px;
	font-weight:bold;
	line-height:1.8;
}
.address dt small{
	font-size:18px;
	font-weight:normal;
}
.address dd{
	font-size:18px;
	line-height:1.5;
	padding:0.5em;
}

.com-info {
	background: rgba(255,255,255,0.50);
	width:100%;
	margin-top:30px;
	padding:30px;
}

@media screen and (max-width: 768px) {
	.map-area h1,
	.outline h1,
	.company h1,
	.skill h1 {
		font-size:24px;
	}
	.skill h2,
	.map-area h2 {
		font-size:18px;
		margin:0.75em 0;
	}
}

.bn-recruit {
	display: flex;
	justify-content: center;
	align-items: center;
	margin:40px auto;
}


.btn-entry {
	margin:40px auto;
	display:flex;
	width:360px;
	height:55px;
	justify-content: center;
	align-content: center;
	background: #2B67A2;
	color:#fff;
	font-weight:bold;
	font-size:22px;
	line-height:50px;
	text-decoration: none;
	border-radius: 8px;
}
.btn-entry:hover {
	background: #0C2D4C;
}
.btn-entry span{
	font-size:1.1em;
}