@charset "UTF-8";

/* 全体レイアウト */
@media screen and (min-width:501px) {
  .l-wrap {
    width: 100%;
    margin: 0 auto;
  }
}
body {
  min-width: 300px !important;
}
.mainvisual{
  position: relative;
}
html {
  scroll-behavior: smooth;
}
.sp{
  display: none;
  max-width: 800px;
  margin: 0 auto;
}
.mainimg{
  height: 840px;
  object-fit: cover;
  object-position: right;
}
.maintext1{
  position: absolute;
  top: 440px;
  left: 32%;
  width: 540px;
  transform: translate(-50%, -50%);
}
.maintext2{
  position: absolute;
  top: 78px;
  right: 603px;
  width: 250px;
}
@media screen and (max-width:1215px) {
  .menu-div {
    display: none !important;
  }
  .pc{
    display: none;
  }
  .sp{
    display: block;
  }
}
@media screen and (max-width: 1560px) {
  .pointimg2 {
    display: none;
  }
}
/* ==========================================================================
   # ハンバーガーメニュー
   ========================================================================== */
   .menu-btn.open span:nth-child(1) {
    transform: translateY(10px) rotate(45deg);
  }
  
  .menu-btn.open span:nth-child(2) {
    opacity: 0;
  }
  
  .menu-btn.open span:nth-child(3) {
    transform: translateY(-10px) rotate(-45deg);
  }
  
  @media screen and (max-width:1215px) {
    .menu-btn {
      display: flex !important; 
    }
    .header-logo{
      margin-left: 50px;
    }
  }
/* ヘッダー部分 */
.header-inner{
  position: relative;
}
.menu-div{
    vertical-align: middle;
    display: table-cell;
    margin-left: auto;
}
.header-ul{
    display: flex;
    justify-content: flex-end; /* リスト項目を右寄せ */
}
.header-li{
    padding: 0px 11px;
    font-size: 16px;
}
.header-li>a{
    text-decoration: none;
    color: #000000;
}
/* ハンバーガーメニューのボタン */
.menu-btn {
  display: none;
  flex-direction: column;
  justify-content: space-between;
  width: 40px;
  height: 26px;
  border: none;
  background: none;
  cursor: pointer;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
}

.menu-btn span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #333;
  transition: all 0.3s ease;
}

/* メニュー */
.menu {
  display: none; /* 初期状態で非表示 */
  position: fixed; /* 絶対位置で配置 */
  top: 90px; /* メニューを上部から少し下げる */
  left: 0;
  background-color: #333;
  width: 300px;
  color: white;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3); /* メニューに影をつける */
  z-index: 1000; /* メニューを他の要素より前面に表示 */
}
/* メニュー表示時 */
.menu.active {
  display: block; /* メニューを表示 */
}
.menu ul {
  list-style-type: none;
  padding: 0;
}

.menu ul li {
  padding: 15px 0;
  text-align: center;
  border-bottom: 1px solid #555;
}

.menu ul li a {
  text-decoration: none;
  color: white;
  font-size: 18px;
}

.header-inner {
  display: flex;
  width: 100%;
  align-items: center;
  justify-content: space-between;
}

/* ==========================================================================
# 追従メニュー
========================================================================== */
.bnr {
  position: fixed; /* 画面に固定 */
  top: 40%; /* 縦方向で中央寄せ */
  right: 0; /* 画面右端に固定 */
  transform: translateY(-50%); /* 縦方向の中央に調整 */
  display: flex;
  flex-direction: column; /* 縦並び */
  align-items: flex-end; /* 右揃え */
  z-index: 100;
}
.bnr > a {
  display: block;
  margin-bottom: 10px; /* 各バナーの間隔 */
  text-align: right; /* 内容を右寄せ */
}
.bnr > a img {
  max-width: 190px; /* 画像の最大幅を制限（調整可能） */
  height: auto; /* 縦横比を維持 */
  border-radius: 8px;
}
.bnr-btn {
  display: inline-block;
  margin: 0 10px;
}
.sns-btn {
  display: inline-block;
  width: 40px;
  margin: 0 5px;
}
@media screen and (max-width:1215px) {
  .bnr{
    display: none !important;
  }
}

/* ファーミリーとは */
.contents-about{
  background-color: #ecfbff;
}
.about-container{
  display: flex;
  padding: 35px 25px;
  align-items: center;
  gap: 50px;
  max-width: 800px;
  margin: 0 auto;
}
.contents-about h3{
  font-size: 18px;
  margin-bottom: 20px;
}
.contents-about p{
  font-size: 16px;
}
.about-container .left{
  flex: 3;
}
.about-container .right{
  flex: 7;
}
@media screen and (max-width:650px) {
  .about-container {
    display: block;
  }
  .about-container .left{
    max-width: 380px;
    margin: 0 auto;
    margin-bottom: 40px;
  }
}


/* 転職者の声 */
.voice-message{
  text-align: center;
  padding-bottom: 24px;
}
.voice-box {
  cursor: pointer; /* クリックできることを示す */
}
.voice-box-img , .voice-txt-wrap {
  overflow: hidden; /* はみ出した部分を隠す */
  max-height: 0; /* 初期状態では閉じる */
  opacity: 0;
  transition: max-height 0.5s ease-out, opacity 0.3s ease-out;
}
.voice-box.open .voice-box-img , .voice-box.open .voice-txt-wrap {
  max-height: 500px; /* 内容に合わせて適宜調整 */
  opacity: 1;
}
section.voice-box:not(.open):hover {
    background-color: antiquewhite;
    transition: background-color 0.3s ease-in-out;
}
.voice-box{
  position: relative;
}
.accordion-icon {
position: absolute;
  width: 30px;
  height: 30px;
  display: inline-block;
  top: 50%;
  right: 25px;
  transform: translateY(-50%);
}
.voice-box.open .accordion-icon{
display: none;
}
.accordion-icon::before,
.accordion-icon::after {
content: "";
  position: absolute;
  background: #777777a3;
  transition: transform 0.3sease;
}

.accordion-icon::before {
width: 30px;
  height: 2px;
  top: 50%;
}
.accordion-icon::after {
width: 2px;
  height: 30px;
  left: 50%;
  transform: translateX(-50%);
}
/* よくある質問 */
.faq-box {
  cursor: pointer; /* クリックできることを示す */
}
.faq-box-txt {
  display: none;
}
.faq-box.open .faq-box-txt {
  display: block;
}
.faq-box.open .faq-box-ttl {
  margin-bottom: 1rem;
}
section.faq-box:not(.open):hover {
    background-color: antiquewhite;
    transition: background-color 0.3s ease-in-out;
}
.faq-box{
  position: relative;
}
.faq-box.open .accordion-icon{
  display: none;
}

/* トップのキャッチコピー */
.catchphrase{
  display: flex;
  position: absolute;
  bottom: 32px;
  left: 32%;
  transform: translateX(-50%);
  gap: 20px;
  justify-content: space-around;
  align-items: center;
}
.catchphrase div{
  width: 235px;
  padding: 15px 5px;
  border: 2px solid #00007f;
  background-color: #ffffff;
  border-radius: 13px;
  text-align: center;
  color: #00007f;
  font-size: 20px;
}

@media screen and (max-width:1215px) {
  .catchphrase{
    left: 50%;
    width: 100%;
    padding: 0 10px;
    justify-content: center;
    gap: 5px;
  }
  .catchphrase div{
    font-size: clamp(10px, 3vw, 24px);
  }
}


/* ==========================================================================
   # 問い合わせ
   ========================================================================== */

.ss_field:nth-of-type(-n+3){
  border: none !important;
  background-color: #ffffff00 !important;
  padding: 60px 25px !important;
}
.ss_field:nth-of-type(4) {
  border: solid 1px #d4d4d4 !important;
}
.ss_field:nth-of-type(n+4) , .ss_enquete_field{
  max-width: 475px;
  margin-left: auto !important;
}

.ss_rightComment::before {
  content: "\A"; /* \A は改行 (newline) */
  white-space: pre; /* 改行を有効にする */
}

.custom-select {
  display: flex;
  gap: 10px;
  justify-content: flex-end;
  flex-wrap: wrap;
}
.ss_input{
  text-align: right;
}

.ss_grid {
  justify-content: flex-end;
  font-size: 18px;
}
.ss_field:nth-of-type(-n+3) .ss_form_title , .form-cust-title {
  position: relative;
  display: inline-block;
  background: #ecfbff;
  border-radius: 10px;
  padding: 22px;
  margin-left: 85px; /* アイコンのスペースを確保 */
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

/* 吹き出しの矢印 */
.ss_field:nth-of-type(-n+3) .ss_form_title::before , .form-cust-title::before{
  content: '';
  position: absolute;
  top: 15px; /* 矢印の位置 */
  left: -20px;
  border-width: 10px;
  border-style: solid;
  border-color: transparent #ecfbff transparent transparent;
}

/* アバター画像を追加 */
.ss_field:nth-of-type(-n+3) .ss_form_title::after , .form-cust-title::after{
  content: '';
  position: absolute;
  top: 50%; /* 吹き出しに対して中央寄せ */
  left: -100px; /* アイコンの位置 */
  transform: translateY(-50%);
  width: 80px;
  height: 80px;
  background-image: url('../images/ca/about/thumb02.png');
  background-size: cover;
  background-position: center;
  border-radius: 50%;
  border: 2px solid #4617d3;
}

/* 初期表示時の非表示設定 */
.ss_field:nth-of-type(n+2) , .ss_enquete_field , .form-cust{
  /* display: none; */
}
.ss_btnArea{
  /* display: none; */
}

/* JSで操作する */
.custom-option {
  padding: 10px 30px;
  background-color: #ffffff;
  border: 1px solid #00007f;
  border-radius: 5px;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
  color: #00007f;
  font-size: 16px;
  box-shadow: 0px 2px #dadada;
}

.custom-option.selected {
  background: #00007f !important;
  background-color: #00007f;
  color: #fff;
}

.custom-option:hover {
  background: #e0e0e0;
}

.form-cust{
  padding: 60px 25px 25px 25px;
  margin-bottom: 10px;
  font-size: 16px;
  font-weight: 500;
  line-height: 1.2;
}






/* ==========================================================================
   # CA紹介
   ========================================================================== */
.ca-list .inner{
    max-width: 1150px;
    margin: 30px auto;
    padding: 0 20px;
}
.ca-list .interview-group {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 24px;
}
.ca-list .interview-group a{
	text-decoration: none;
	color: #333333;
}
.ca-list .content{
  padding: 24px 0;
}
.ca-list .heading{
  line-height: 1.6;
  margin: 0 0 12px;
}
.ca-list .detail{
    color: #76767b;
    font-size: .875em;
    line-height: 1.6;
}
  .about-ttl {
    padding: 80px 0;
    text-align: center;
    background-color: #e5f6fd;
  }
  .about-ttl img {
    width: 503px;
  }
  
  .about-list-wrap {
    padding-bottom: 40px;
    background-color: #0000ff;
  }
  
  .about-list {
    margin: 0 auto;
    font-size: 0;
    letter-spacing: 0;
    text-align: center;
  }
  .about-list-item {
    display: inline-block;
    vertical-align: top;
    max-width: 241px;
    margin-top: -40px;
    width: 30%;
  }
  .about-list-item + .about-list-item {
    margin-left: 12px;
  }
  
  .about-list-item a {
    position: relative;
    display: block;
    padding-bottom: 50px;
    color: #111;
    font-weight: 700;
    line-height: 1;
    text-decoration: none;
    text-align: center;
    border-radius: 12px;
    background-color: #fff;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s;
  }
  .about-list-item a:hover {
    background-color: #FFDBF6;
    opacity: 1;
  }
  
  .about-list-item a:before {
    content: "";
    position: absolute;
    bottom: 20px;
    left: 50%;
    width: 25px;
    height: 12px;
    background: url("../images/ca/about/ico_arrow.png") no-repeat;
    background-size: contain;
    transform: translateX(-50%);
  }
  
  .about-list-item-img {
    width: 160px;
    margin: 0 auto 20px;
  }
  .about-list-item-img img {
    margin-top: -40px;
  }
  
  .about-list-item-name {
    margin-bottom: 10px;
    font-size: 28px;
  }
  
  .about-list-item-en {
    margin-bottom: 10px;
    color: #0000ff;
    font-size: 16px;
  }
  
  .about-list-item-work {
    font-size: 18px;
  }

/* type01 */
.about-box01 {
	overflow: hidden;
	padding: 60px 0;
	background-color: #fff;
}
/* type02 */
.about-box02 {
	overflow: hidden;
	padding: 60px 0;
	background-color: #e5f6fd;
}

.about-box-inner {
	position: relative;
	width: 1000px;
	margin: 0 auto;
	padding-top: 80px;
}

.about-box-img {
	width: 640px;
	height: 530px;
}
/* type01 */
.about-box01 .about-box-img {
	position: absolute;
	top: 0;
	right: -140px;
}
/* type02 */
.about-box02 .about-box-img {
	position: absolute;
	top: 0;
	left: -140px;
}

.about-box-ttl {
	overflow: hidden;
	position: relative;
	margin-bottom: 20px;
	font-size: 40px;
	line-height: 1;
}

/* type01 */
.about-box01 .about-box-ttl .marker {
	float: left;
}
/* type02 */
.about-box02 .about-box-ttl .marker {
	float: right;
}

.about-box-ttl .marker {
	display: block;
	padding: 10px 20px;
	background-color: #fff;
}
.about-box-ttl .marker + .marker {
	margin-top: 10px;
}

/* type01 */
.about-box01 .about-box-info {
	float: left;
}
/* type02 */
.about-box02 .about-box-info {
	float: right;
}

.about-box-info {
	position: relative;
	width: 480px;
	min-height: 120px;
	margin-bottom: 50px;
	padding-left: 130px;
}

.about-box-info-img {
	position: absolute;
	top: 0;
	left: 0;
	width: 120px;
}

.about-box-info-name {
	margin-bottom: 10px;
	padding-top: 30px;
	font-size: 24px;
	font-weight: 700;
	line-height: 1;
}
.about-box-info-name .en {
	color: #0000ff;
	font-size: 18px;
}

.about-box-info-work {
	position: relative;
	padding-left: 62px;
}
.about-box-info-work .head {
	position: absolute;
	top: 0;
	left: 0;
	display: block;
	padding: 6px 10px;
	color: #fff;
	font-size: 16px;
	line-height: 1;
	background-color: #0000ff;
	border-radius: 4px;
}
.about-box-info-work .data {
	display: block;
	font-size: 18px;
	line-height: 1.5555555556;
}

.about-box-message {
	position: relative;
	clear: both;
	padding: 51px 60px 60px;
	border-radius: 12px;
	background-color: #fff;
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.1);
}

.about-box-message-txt {
	font-size: 18px;
	line-height: 2;
}

.about-box-message-table {
	width: 100%;
	margin-top: 40px;
	font-size: 20px;
	line-height: 1.4;
	border-top: 1px solid #b4d6e4;
}
.about-box-message-table th {
	width: 160px;
	padding: 16px 20px;
	color: #00f;
	text-align: left;
	vertical-align: middle;
	background-color: #e5f6fd;
	border-bottom: 1px solid #b4d6e4;
}
.about-box-message-table td {
	padding: 16px 20px;
	text-align: left;
	border-bottom: 1px solid #b4d6e4;
}

@media screen and (max-width:500px) {
	
	.about-ttl {
		padding: 80px 20px;
	}
	.about-ttl img {
		width: 100%;
	}
	
	.about-list {
		width: 100%;
		margin-bottom: -80px;
		padding: 0 10px;
	}
	
	.about-list-item {
		float: left;
		width: 49%;
		margin-bottom: 80px;
	}
	.about-list-item:nth-child(even) {
		float: right;
	}
	.about-list-item + .about-list-item {
		margin-left: 0;
	}
	
	.about-list-item-name {
		font-size: 24px;
	}
	.about-list-item-en {
		font-size: 12px;
	}
	.about-list-item-work {
		font-size: 14px;
	}
}
@media screen and (max-width:950px) {
	.about-box01,
	.about-box02 {
		width: 100%;
		padding: 0 10px 40px;
	}
	
	.about-box-inner {
		width: 100%;
		padding: 0;
	}
	
	.about-box-img {
		width: 100vw;
		height: auto;
		margin: 0 -10px 15px;
	}
	.about-box01 .about-box-img {
		position: relative;
		top: auto;
		right: auto;
	}
	.about-box02 .about-box-img {
		position: relative;
		top: auto;
		left: auto;
	}
	
	.about-box-ttl {
		margin-bottom: 10px;
		font-size: 20px;
		line-height: 1.5;
	}
	.about-box-ttl .marker {
		display: inline;
		padding: 0;
		background: transparent;
	}
	.about-box01 .about-box-ttl .marker,
	.about-box02 .about-box-ttl .marker {
		float: none;
	}
	.about-box-ttl .marker + .marker {
		margin-top: 0;
	}
	
	.about-box-info {
		width: 100%;
		min-height: 60px;
		margin-bottom: 20px;
		padding-left: 70px;
	}
	.about-box01 .about-box-info,
	.about-box02 .about-box-info {
		float: none;
	}
	.about-box-info-img {
		width: 60px;
	}
	.about-box-info-name {
		padding-top: 10px;
		font-size: 18px;
	}
	.about-box-info-name .en {
		font-size: 14px;
	}
	.about-box-info-work {
		padding-left: 41px;
	}
	.about-box-info-work .head {
		padding: 4px 6px;
		font-size: 12px;
	}
	.about-box-info-work .data {
		font-size: 16px;
		line-height: 1.25;
	}
	
	.about-box-message {
		padding: 20px 20px 40px;
	}
	.about-box-message-txt {
		font-size: 16px;
	}
	.about-box-message-table {
		margin-top: 20px;
		font-size: 14px;
	}
	.about-box-message-table th {
		width: 20%;
		padding: 11px 15px;
	}
	.about-box-message-table td {
		padding: 11px 15px;
	}
}