html {
  scroll-padding: 80px;
  scroll-behavior: smooth;
}
*,
::before,
::after {
  box-sizing: border-box;
}


/* Wordpress header,footer内CSS */
.cv_side, .drawer_open span, 
.drawer_open span:before, .drawer_open span:after {
  display: none;
}
.policy img {
  vertical-align: middle;
}
/* ここまで */


body {
  font-family: 'Noto Sans JP', sans-serif;
  line-height: 1.8;
  background-color: var(--bg-color);
}
main {
  margin: 0 auto;
  padding-top: 55px;
  margin-bottom: -160px;
}

section {
  padding: 80px 0;
  overflow: hidden;
}

:root {
  --main-color: #EB5400;
  --light-orange: #EB8200;
  --light-beige: #FBDDCC;
  --beige: #F5B293;
  --bg-beige: #FDEEE5;
  --black: #000;
  --bg-color: #efefef;
  --white: #FFF;
  --white-rgb: 255, 255, 255;
  --blue: #11168B;
  --brown: #432727;
  --gray: #454343;
  --dark-gray: #3E3232;
  --light-gray: #E6EBEF;
  --shadow-color: #999;
  --bg-color-rgb: 0, 0, 0;
}

/* 共通パーツ */
a {
  transition: color 0.4s;
}
a:hover {
  opacity: 0.7;
}
p {
  text-align: justify;
}
main, section, .max-w-1920 {
  max-width: 1920px;
}
.max-w-1160, .recruit_detail, h2 {
  max-width: 1160px;
}
.department_wrapper, .faq_wrapper dl {
  max-width: 890px;
}
.border-main {
  border: 2px solid var(--main-color);
}
.bg-beige, .process_wrapper dl dt::before, .process_wrapper dt::after {
  background-color: var(--bg-beige);
}
.bg-main, .ideal_item::before, .number_detail::before,  .department_item figure::after {
  background-color: var(--main-color);
}
header, .recruit_item, .no_offer,
.recruit_btn, .office_name {
  box-shadow: 0 4px 8px var(--shadow-color);
}
.ideal_item, .career_tips li,
.recruit_item, .no_offer {
  border-radius: 20px;
}
.ideal_title, .department_item figure::after {
  border-radius: 50%;
}
.px-20 {
  padding: 0 20px;
}
.text_bold, .number_detail::before {
  font-weight: bold;
}
.bg_white, main,
.about .office_name, .recruit .office_name,
.text_wrap::after, .recruit_btn {
  background-color: var(--white);
}
.tx-main-color, h2 span, .jobs_inner,
.no_offer, .office_name::before, 
.about .office_list, .recruit .office_list {
 color: var(--main-color);
}
.tx-white, .number_detail::before, .department_item dt label::after {
 color: var(--white);
}
 .spacing-md {
  font-size: 24px;
}
.text-center,.header_menu li, .recruit_btn {
  text-align: center;
}
.content-center,.number_detail::before,
.center_name, .recruit_btn {
  align-content: center;
}
.margin-auto, section, h2, .recruit_box{
  margin: 0 auto;
}

.orange_border::before, .orange_border::after {
  content: "";
  background-image: url("../img/bg_border.webp");
  background-size: contain;
  background-repeat: no-repeat;
  width: 100%;
  max-width: 250px;
  height: 100%;
  max-height: 250px;
}

/* 共通パーツここまで*/


/* ヘッダー */
header {
  width: 100%;
  height: 60px;
  position:fixed;
  z-index: 120;
}
.header_wrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.header_nav {
  display: flex;
  justify-content: space-between;
}
.header_wrapper .logo, .header_wrapper .logo img {
  width: 100px;
}
.header_wrapper .logo {
  margin: 0 10px;
}
.header_menu {
  display: flex;
  justify-content: space-between;
  margin: 0 26px;
}
.header_menu li {
  font-size: 14px;
  padding: 0 22px;
  font-family: 'ABeeZee', sans-serif;
}
.header_menu li span {
  display: block;
  color: var(--light-orange);
}
.search_btn {
  max-width: 274px;
  width: 100%;
  padding: 16px;
  background-color: var(--blue);
  color: var(--white);
}
.burger_btn {
  display: none;
}


/* --- ハンバーガーボタン --- */
.burger_btn {
  position: relative;
  width: 60px;
  height: 60px;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 100; 
  padding-top: 34px;
  transition: all 0.4s ease; 
}

/* 3本線の共通設定 */
.burger_btn span {
  display: inline-block;
  position: absolute;
  left: 15px;
  width: 30px;
  height: 2px;
  border-radius: 2px;
  transition: all 0.4s ease;
}
/* 1本目、2本目、3本線の配置位置 */
.burger_btn span:nth-child(1) { top: 14px; }
.burger_btn span:nth-child(2) { top: 22px; }
.burger_btn span:nth-child(3) { top: 30px; }

/* 🌟 ボタンがクリックされたとき（.is-activeがついたとき）の「×」の変化 */
.burger_btn.is-active span:nth-child(1) {
  transform: translateY(8px) rotate(45deg);
}
.burger_btn.is-active span:nth-child(2) {
  opacity: 0; /* 真ん中の線は消す */
}
.burger_btn.is-active span:nth-child(3) {
  transform: translateY(-8px) rotate(-45deg);
}
/* ==========================================
   ▲ 【開いたとき（.is-active がついたとき）】
   背景：オレンジ、3本線＆文字：白
   ========================================== */

/* ボタン本体（開いたとき） */
.burger_btn.is-active {
  background-color: var(--main-color); 
  color: var(--white);
}
.burger_btn.is-active span {
  background-color: var(--white);
}


/* TOP */

.first_view {
  width: 100%;
  height: 100%;
  min-height: 594px;
  background-image: url("../img/top_bg.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  padding: 0;
}
  .top_wrapper figure {
  background-image: url("../img/top02.webp");
  background-repeat: no-repeat;
  background-size: 160%;
  background-position: 60% center;
  width: 760px;
  height: 594px;
  position: absolute;
  top: 0;
  right: 10%;
}
  .top_wrapper::after {
  content: "";        
  position: absolute; 
  right: 0;
  bottom: 0;
  background-image: url("../img/top03.webp");
  background-size: contain;   
  background-repeat: no-repeat;
  width: 100%;
  height: 380px;
  background-position: right bottom;
}
.top_wrapper {
  position: relative;
  height: 100%;
  min-height: 594px;
}
.top_inner {
  width: 100%;
  height: 100%;
  min-height: 594px;
  transform: translate(0);
}
h1 {
  font-size: clamp(24px, 8vw, 74px);
  letter-spacing: 0.03em;
  display: inline;
  /* ★重要2：borderではなく、グラデーションの背景を「細い線」として下に配置します */
  background-image: linear-gradient(var(--main-color), var(--main-color)); /* 線の色（例：オレンジ） */
  background-size: 100% 48px; /* 線の太さ（3px） */
  background-position: 0 100%; /* 線を行の底辺に配置 */
  background-repeat: no-repeat;
  line-height: 1.3;
}
h1 span {
  font-size: clamp(56px, 17vw, 120px);
}
.top_inner p {
  max-width: 390px;
  margin-top: 24px;
}

/* noticeセクション */
.notice {
  width: 100%;
  background-image: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)), url("../img/text_bg.webp");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
}
.notice_inner {
  max-width: 1020px;
  padding: 0 40px;
}
.notice h2 {
  margin-bottom: 40px;
}

/* JOBSセクション */
.jobs {
  position: relative;
  padding:  120px 20px 0 20px;
  max-width: inherit;
}
.jobs.orange_border::before {
  position: absolute;
  left: 0;
  top: 60px;
}
.jobs_inner {
  width: 100%;
}
.jobs_inner p {
  margin-bottom: 40px;
  color: var(--black);
}
h2{
  width: 100%;
  margin-bottom: 80px;
}
h2 span {
  border-bottom: var(--main-color) 1px solid;
  padding-bottom: 14px;
}
h2 img {
  width: auto;
  height: 100%;
  max-height: 80px;
  margin-right: 40px;
}
.jobs_image p {
  width: auto;
  margin-left: 40px;
}
.jobs_image {
  position: relative;
  margin-top: 260px;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  z-index: 0;
}
.area_bg01 {
  position: absolute;
  z-index: 105;
  bottom: 0;
  right: calc((100vw - 1920px) / 2 + 5%);
}

.area_bg02 {
  position: absolute;
  z-index: 103;
  bottom: 40px;
  right: calc((100vw - 1920px) / 2);
}
.area_bg01, .area_bg02 {
  width: 20%;
  min-width: 230px;
  max-width: 360px;
}

/* idealセクション */
.ideal {
  position: relative;
  padding-top: 0;
}
.ideal.orange_border::before {
  position: absolute;
  top: 20px;
  left: 0;
  z-index: 110;
}
.ideal.orange_border::after {
  position: absolute;
  right: 0;
  bottom: 80px;
}
.ideal h2 {
  position: absolute;
  z-index: 110;
  top: 120px;
}
.ideal h2 span {
  border-bottom: 1px solid var(--white);
}
.ideal .image_frame {
  background-image: url("../img/ideal_bg02.webp"), url("../img/ideal_bg01.webp");
  background-position: center bottom,center top;
  background-repeat: no-repeat;
  background-size: 100% 550px, 100% 772px;
  position: relative;
  height: 816px;
}
.ideal_wrapper {
  width: 100%;
  margin-top: -190px;
}
.ideal .image_frame img:not(h2 img) {
  max-width: 860px;
  width: 100%;
  position: absolute;
  bottom: 145px;
  left: 50%;
  transform: translate(-50%);
}
.ideal_content {
  display: flex;
  justify-content: space-around;
  list-style-type: none; /* デフォルトの数字（.付き）を消す */
  counter-reset: my-counter; /* 「my-counter」という名前の連番をリセット（開始） */
  padding-left: 0; /* 左側のデフォルトの余白をリセット */
  margin-bottom: 60px;
  align-items: stretch;
}
.ideal_content li {
  width: 100%;
  max-width: 316px;
  margin-bottom: 10px; /* リストごとの隙間 */
  position: relative;
  padding: 0 10px;
  height: auto;
  display: flex;
  flex-direction: column;
}
.number_detail::before {
  width: 244px;  
  height: 60px;
  font-size: 26px;
  counter-increment: my-counter; 
  content: counter(my-counter); /* クォーテーションで囲わず counter() を使うとドットが消えます */
  position: absolute;
  top: 0;
  left: 50%;
  transform: translate(-50%);
}
.ideal_item img {
  width: 100%;
  max-width: 312px;
  border-radius: 16px 16px 0 0;
}
.ideal_title {
  max-width: 270px;
  width: 100%;
  aspect-ratio: 1 / 1; /* 縦横比を常に 1:1（正方形）に固定する */
  color: var(--light-orange);
  border: 6px solid var(--main-color);
  overflow: hidden;
  position: relative;
  z-index: 110;
}
.ideal_title p {
  margin-top: 36px;
  line-height: 1.3;
}
.ideal_title span {
  font-size: clamp(20px, 3vw, 30px);
  color: var(--blue);
}
.ideal_item {
  margin-top: 150px;
  position: relative;
  z-index: 1;
  flex: 1;
}
.ideal_item::before {
  content: '';
  position: absolute;
  z-index: -1;
  width: 3px;
  height: 180px;
  top: -160px;
  left: 50%;
  transform: translateX(-50%);
}
.ideal_item p {
  height: auto;
  padding: 40px 20px;
}

/* aboutセクション */
.about {
  width: 100%;
  position: relative;
  padding-top: 0;
  margin-top: -40px;
}
.about.orange_border::before {
  position: absolute;
  top:90px;
  left: 0;
}
.about h2 {
  padding-top: 100px;
}
.about h2 img {
  width: auto;
  height: 100%;
  max-height: 160px;
  margin-right: 0;
}
h3, .recruit_wrapper h2, .department_wrapper h2 {
  font-size: 36px;
  margin: 0 auto 80px auto;
  border-bottom: none;
}
.about_wrapper {
  padding-top: 80px;
  background-image: url(../img/about_bg.webp);
  background-size: cover;
  background-repeat: no-repeat;
  overflow: hidden;
}
.about_summary {
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
}
.about_summary_inner {
  position: relative;
}
.about_summary_inner.orange_border::before {
  position: absolute;
  right: 0;
  top: 0;
}
.about_item {
  width: 100%;
  margin-bottom: 80px;
}
.text_wrap {
  padding: 60px 60px 60px 40px;
  position: relative;
  max-width: 1120px;
  width: 100%;
  display: flex;
  -webkit-box-pack: justify;
  justify-content: space-between;
  border-left: none;
} 
.text_wrap::after {
  content: "";
  position: absolute;
  top: 0;
  left: -99%;
  width: 100%;
  height: 100%;
  border-top: var(--main-color) 2px solid;
  border-bottom: var(--main-color) 2px solid;
  box-sizing: border-box;
  top: -2px;
  height: calc(100% + 4px);
}
.about_text {
  width: 100%;
}
/* ---  2番目のアイテムのみ指定 --- */
.about_item:nth-of-type(2) .text_wrap {
  padding: 60px 40px 60px 60px;
  border-right: none;
  border-left: var(--main-color) 2px solid;
} 
.about_item:nth-of-type(2) .text_wrap::after {
  left: inherit;
  right: -99%;
}
/* ---  ここまで --- */
h4 {
  margin-bottom: 40px;
  color: var(--blue);
}
.about_text ul {
  list-style: inherit;
  padding-left: 20px;
}
.about_text li {
  margin-bottom: 26px;
} 
.about_img img {
  max-height: 416px;
  height: auto;
  width: auto;
  margin-top: -194px;
}
.about_img {
  background-repeat: no-repeat;
  background-size: 70% auto;
  background-position: bottom right;
  margin-top: 100px;
  height: auto;
  position: relative;
}
.about_img01 {
  background-image: url(../img/sub_about_bg01.webp);
  text-align: right;
  padding-right: 40px;
}
.about_img02 {
  background-image: url(../img/sub_about_bg02.webp);
  background-position: bottom left;
  text-align: left;
  padding-left: 120px;
}
.about_img03 {
  background-image: url(../img/sub_about_bg03.webp);
  text-align: center;
  padding-left: 50%;
}
.about_img01, .about_img03 {
  margin-left: auto;
  margin-right: 0;
}
.about_img01.orange_border::before {
  position: absolute;
  left: 0px;
  bottom: 0;
}
.about_img02.orange_border::after {
  position: absolute;
  right: 0px;
  bottom: 0;
}

/*  aboutセクション中部・recruitセクション下部　拠点一覧 */
.about .jobs_wrapper, .recruit .jobs_wrapper {
  width: 100%;
  background-color: var(--light-beige);
  padding: 60px 20px;
  position: relative;
} 
.recruit .jobs_wrapper {
  margin-top: 80px;
}
.jobs_wrapper.orange_border::after {
  position: absolute;
  right: 0;
  bottom: 40px;
}

/* career部分 */
.career_wrapper {
  padding-top: 120px;
}
.career_container {
  width: 100%;
  height: 570px;
  background-image: url(../img/carrer_bg01.webp);
  background-size: cover;
  background-repeat: no-repeat;
  position: relative;
  border-bottom: 6px solid var(--main-color);
}
.career_container.orange_border::before {
  position: absolute;
  left: 0;
  top: 20px;
  z-index: 110;
}
.career_container.orange_border::after {
  position: absolute;
  right: 0;
  bottom: 20px;
  z-index: 110;
}
.career_wrapper::before {
  left: 0;
  top: 0;
}
.career_box {
  display: flex;
  justify-content: space-evenly;
  width: 100%;
  max-width: 1160px;
}
.career_box img {
  width: 100%;
  max-width: 600px;
  min-width: 0;
  height: 100%;
  margin-top: -95px;
  display: block;
}
.career_box p {
  width: 100%;
  max-width: 480px;
  line-height: 2;
  min-width: 0;
}
.career_tips {
  width: 100%;
  display: flex;
  justify-content: center;
  margin: -40px auto 60px auto;
}
.career_tips p {
  padding: 40px;
}
.career_tips li {
  width: 100%;
  max-width: 430px;
  margin: 20px;
}
.career_tips h4 {
  padding: 40px 20px;
  border-radius: 16px 16px 0 0;
  margin-bottom: 0;
}

/* education部分 */ 
.education_flex {
  width: 100%;
  max-width: 1290px;
  display: flex;
  justify-content: space-between;
  padding: 60px 60px 0;
  margin-top: 440px;
  position: relative;
  z-index: 1;
}
.education_bg {
  position: absolute;
  top: 20px;
  left: calc(50% - 960px);
  width: 100%;
  min-width: 670px;
  height: 740px;
  background-image: url(../img/carrer_bg02.webp);
  background-repeat: no-repeat;
  background-size: auto 740px;
  z-index: -1;
}
.education_flex .orange_border::before {
  position: absolute;
  top: 0;
  left: 0;
}
.education_inner {
  width: auto;
  max-width: 610px;
  margin: 0 20px;
}
.education_inner h3 {
  text-align: left;
  margin-bottom: 60px;
}
.education_flex > .education_inner:nth-of-type(2) p {
  margin-left: 5%;
  line-height: 2;
  padding: 40px;
}
.education_flex > .education_inner:nth-of-type(2) {
  margin-top: 60px;
}
.education_tips {
  width: 100%;
  max-width: 380px;
  margin-bottom: 40px;
}
.education_tips h4 {
  margin-top: 10px;
  margin-bottom: 18px;
}
.education_tips p {
  width: auto;
  padding: 0;
  border: none;
}
.education_tips img {
  width: 250px;
}

/* processセクション */
.process {
  position: relative;
  padding: 100px 20px 60px 20px;
}
.process.orange_border::before {
  position: absolute;
  top: 0;
  left: 0;
}
.sp_br {
  display: none;
}
.process_wrapper dl {
  display: flex;
  width: 100%;
  justify-content: space-between;
  flex-wrap: wrap;
  padding: 40px 0 80px 0;
}
.process_wrapper dt {
  width: 250px;
  height: 48px;
  border-radius: 50px;
  position: relative;
  z-index: 1;
}
.process_wrapper dt:nth-of-type(5) {
  background-color: var(--gray);
}
.process_wrapper dt::before {
  content: "\f103"; 
  font-family: "Font Awesome 6 Free"; /* Font Awesomeを使うためのフォントファミリーを指定 */
  font-weight: 900; 
  color: var(--beige); 
  font-size: 56px;
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translate(-50%);
  width: 170px;
  height: 428px;
  padding-top: 60px;
  z-index: 0;
 }
.process_wrapper dt:nth-of-type(5)::before {
  display: none;
 }
.process_wrapper dd {
  width: 100%;
  max-width: 710px;
  padding: 30px 20px;
  margin: 40px 0;
  position: relative;
}
.process_wrapper dd:nth-of-type(5) {
  background-color: var(--light-gray); 
}
.process_wrapper dd img {
  width: 205px;
  height: 205px;
  position: absolute;
  top: -60px;
  left: -30px;
}
.process_wrapper dd:nth-of-type(5) img {
  border: 2px solid var(--gray);
}
.process_wrapper dd p {
  padding: 0 20px 0 190px;
}
.process_wrapper dd span {
  color: var(--blue);
}
.process_wrapper dd::before {
  content: "";
  position: absolute;
  transform: translate(-99%);
  left: -12px;
  top: -18px;
  width: 190px;
  border-top: 2px dotted var(--main-color);
}
.process_wrapper dd:nth-of-type(5)::before {
  border-top: 2px dotted var(--gray);
}

/* process 雲背景 */
.process_bg {
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("../img/text_bg.webp");
  background-position: right center;
  width: 100vw;
  margin-left: calc(50% - 50vw);
  margin-right: calc(50% - 50vw);
  height: auto;
  position: relative;
  padding: 80px 40px;
}
.process_bg.orange_border::before {
  position: absolute;
  top: 40px;
  left: 0;
}
.process_bg p { 
  line-height: 2.5;
  margin: 30px 0;
}
.process_bg span {
 font-size: 20px;
}

/* 事業部紹介 */
.department {
  position: relative;
}
.department.orange_border::before {
  position: absolute;
  top: 80px;  
  right: 0;
}
.department_wrapper h2 {
  color: var(--text-color);
}
.department_list {
  width: 100%;
  height: fit-content;
}
.department_item {
  margin-bottom: 130px;
}
.department_item span {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  box-sizing: border-box;
}
.department_item figure {
  position: relative;
}
.department_item figure, .department_item figure img {
  width: 220px;
  height: 220px;
  z-index: 105;
  margin-left: -3px;
}
.department_item figure::after {
  content: ""; 
  position: absolute;
  right: 0;
  bottom: 0;
  background-repeat: no-repeat;
  width: 85px;
  height: 85px;
  background-size: 45px;
  background-position: center;  /*アイコンのサイズを45pxに指定し、中央に配置する */
}
.department_item .icon01::after {
  background-image: url("../img/icon01.webp");
}
.department_item .icon02::after {
  background-image: url("../img/icon02.webp");
}
.department_item .icon03::after {
  background-image: url("../img/icon03.webp");
}
.department_item .icon04::after {
  background-image: url("../img/icon04.webp");
}
.department_item .icon05::after {
  background-image: url("../img/icon05.webp");
}
.department_item .icon06::after {
  background-image: url("../img/icon06.webp");
}
.department_item figure img {
  border: 2px solid var(--brown);
  overflow: hidden;
  border-radius: 50%;
}
.department_item dl {
  width: 100%;
  margin-top: -150px;
}
.department_item dt label  {
  background-color: var(--brown)  ;
  width: 100%;
  padding: 0 20px 0 240px;
  position: relative;
  display: block;
  cursor :pointer;
}
.department_item dt.accordion_trigger { 
  position: relative;
  cursor: pointer;    
}
.department_item dt label::after  {
  content: "▼";
  position: absolute;
  right: 10px;
  top: 50%;            /* 上下中央に配置するためのセット */
  transform: translateY(-50%); /* 上下中央に配置するためのセット */
  transition: transform 0.5s ease; /* くるっと回るアニメーション */
  transform-origin: center center;
}
.department_item dt.accordion_trigger.is-active label::after {
  transform: translateY(-50%) rotate(180deg);
}
.department_item dl dd {
  display: none;
  width: 100%;
  border: 2px solid var(--brown);
  padding: 100px 40px 40px 40px;
  border-top: none; /* 茶色いlabelの直下からきれいに白枠が繋がります */
}


/* FAQセクション */
.faq {
  background-color: var(--light-gray);
  margin-top: 80px;
  padding: 0 0 80px 0;
  position: relative;
}
.faq.orange_border::before {
  position: absolute;
  left: 0;
  top: -20px;
  z-index: 110;
}
.faq h2 {
  position: absolute;
  top: 80px;
}
.faq h2 span {
  color: var(--brown);
  border-bottom: 1px solid var(--brown);
}
.faq_bg_image {
  background-image: url("../img/faq_bg.webp");
  background-position: 20% 60%;
  background-size: cover;
  height: 695px;
  position: relative;
  background-repeat: no-repeat;
}
.faq_bg_image img:not(h2 img) {
  max-width: 1040px;
  width: 100%;
  position: absolute;
  bottom: 0;
  right: 0;
  height: auto;
}
.faq_image img {
  width: 560px;
}
.faq_item {
  margin-bottom: 80px;
}
.faq_item span:not(.faq_item dd span) {
  width: 168px;
  height: 36px;
  border-radius: 20px 20px 0 0;
  position: absolute;
  top: -34px;
  left: 0;
}
.faq_wrapper dl {
  padding-top: 80px;
}
.faq_item dt {
  border-radius: 0 20px 0 0;
  padding: 16px 30px;
  position: relative;
}
.faq_item dd {
  padding: 20px 30px;
  border-radius: 0 0 20px 20px;
}
.faq_item dd span {
  display: block;
  margin-bottom: 8px;
}

/* 求人セクション */
.recruit {
  background-color: var(--dark-gray);
  padding-bottom: 0;
  top: 0;
  left: 0;
  position: relative;
}
.recruit.orange_border::before {
  position: absolute;
  top: 20px;
  left: 0;
}
/* リクルートhtml */
.recruit_detail {
  width: 100%;
  padding: 40px;
  margin: 0 auto 60px auto;
  position: relative;
}
.triangle {
  position: absolute;
  top: 0;
  left: 0;
  width: 0;
  height: 0;
  border-top: 150px solid var(--main-color);
  border-right: 150px solid transparent;
}
.office_info {
  width: 100%;
  display: flex;
  justify-content: space-around;
  margin-bottom: 40px;
}
.center_name {
  width: 100%;
  max-width: 320px;
}
.center_name h3 {
  font-size: 24px;
  text-align: justify;
  margin-bottom: 24px;
  color: var(--main-color);
}
.map, iframe {
  width: 100%;
  max-width: 446px;
  height: 280px;
}
.recruit_flex {
  display: flex;
  justify-content: space-between;
}
.recruit_flex ul li {
  background-color: var(--light-beige);
}
.recruit_flex > ul > li {
  background-color: var(--light-beige);
  position: relative;
  padding-left: 26px;
}
.recruit_flex > ul > li > .fa-yen-sign {
  position: absolute;
  left: 0;
  top: 2px;
}
.recruit_item {
  background-color: var(--light-beige);
  padding: 28px 28px 20px 28px;
  margin-bottom: 56px;
  position: relative;
}
.recruit_item h4 {
  font-size: 20px;
  margin-bottom: 20px;
  color: var(--main-color);
  line-height: 1.6;
}
.recruit_item ul {
  width: 100%;
  margin-right: 16px;
  line-height: 1.6;
  margin-bottom: 20px;
  min-width: 0;
}
.requirements {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
}
.requirements li {
  position: relative;
  width: 100%;
  margin: 6px 0;
  padding-left: 26px;
}
.fa-regular.fa-square-check, .fa-solid.fa-yen-sign {
  font-size: 20px;
  margin-right: 8px;
  vertical-align: baseline;
}
.requirements li > .fa-regular.fa-square-check,
.requirements li > .fa-solid.fa-yen-sign {
  position: absolute;
  left: 0;
  top: 0;
}
.fa-solid.fa-yen-sign {
  color: var(--white);
  background-color: var(--black);
  border-radius: 50%;
  font-size: 14px;
  align-content: center;
  text-align: center;
  padding: 2px 5px;
}
.recruit_btn {
  width: 196px;
  height: 50px;
  border-radius: 50px;
  border: 2px solid var(--brown);
  color: var(--main-color);
  position: relative;
  width: 192px;
  flex-shrink: 0
}
.recruit_btn::after {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900;
  color: var(--brown);
  position: absolute;
  right: 22px;
  top: 3px;
  font-size: 22px;
}
.recruit_item::after {
  content: "※Engageサイトへジャンプします";
  position: absolute;
  bottom: -30px;
  right: 0;
  font-size: 14px;
  color: var(--gray);
}
.recruit_item a {
  display: inline-block;
  align-content: end;
  color: var(--main-color);
}
.no_offer {
  font-size: 18px;
  font-weight: bold;
  margin: 20px 0;
  padding: 40px 28px;
  background-color: var(--light-beige);
}
/* リクルートphpここまで */

/* area.php */
.office_name {
  width: 100%;
  min-width: 320px;
  background-color: var(--light-beige);
  border-radius: 50px;
  padding: 4px 10px;
  margin: 10px 0;
  color: var(--black);
  line-height: 1.4;
}
.office_list ul {
  display: flex;
  gap: 0 25px;
  flex-wrap: wrap;
}
.office_list {
  position: relative;
  z-index: 1;
}
.office_list a {                                  
  display: inline-block;
}
.office_list li:not(.office_name) {
  width: 100%;
  margin-bottom: 20px;
}
 .office_name span {
  font-size: 14px;
  margin-left: 6px;
}
 .office_name::before {
  content: "\f0da";
  font-family: "Font Awesome 6 Free";
  font-weight: 900; 
  font-size: 26px;
  margin-right: 8px;
}
.recruit.jobs_wrapper::after {
  bottom: 40px;
  right: 0;
}
/* area.phpここまで */


/* header,footer用CSS */
header {
  padding-bottom: 0;
  font-weight: normal;
}
footer {
  background-color: #FFF;
}
.footer_logo img {
  vertical-align: middle;
}
.policy img {
  vertical-align: middle;
}
/* ここまで */

/* レスポンシブ */
@media screen and (max-width: 1920px) {
  .area_bg01 {
    right: 5%;
  }
  .area_bg02 {
    right: 0;
  }

  .education_bg {
    left: calc(50% - 50vw);
  }
}
@media screen and (max-width:1499px) {
  .orange_border::before, .orange_border::after{
    max-width: 220px;
    max-height: 220px;
  }
  .jobs.orange_border::before {
    left: -120px;
    top: 40px;
  }
  .ideal.orange_border::before {
    top: 0px;
    left: -120px;
  }
  .ideal.orange_border::after {
    right: -120px;
    bottom: 20px;
  }
  .about.orange_border::before {
    left: -120px;
  }
  .jobs_wrapper.orange_border::after {
    right: -120px;
    bottom: 20px;
  }
  .about_summary_inner.orange_border::before {
    display: none;
  }
  .about_img01.orange_border::before {
    left: -120px;
    bottom: -80px;
  }
  .about_img02.orange_border::after {
    right: -120px;
  }
  .career_container.orange_border::before {
    top: 20px;
    left: -120px;
  }
  .career_container.orange_border::after {
    right: -120px;
    bottom: 80px;
  }
  .education_flex .orange_border::before {
    left: -100px
  }
  .process.orange_border::before {
    top: -20px;
    left: -100px;
  }
  .process_bg.orange_border::before {
    top: 0;
    left: -120px;
  }
  .department.orange_border::before {
    top: -60px;
    right: -120px;
  }
  .faq.orange_border::before {
    left: -120px;
  }
  .recruit.orange_border::before {
    top: 20px;
    left: -120px;
  }
}
@media screen and (max-width:1299px) {
  .top_wrapper figure {
    width: 580px;
    right: 0;
    background-size: 187%;
    background-position: 50% center;
  }
  .top_wrapper::after {
    height: 280px;
  }

  .jobs_inner {
    max-width: 890px;
  }
}
  @media screen and (max-width:1199px) {
  .header_menu {
    margin: 0;
  }
  .header_menu li {
    padding: 0 14px;
  }

  .first_view::after {
    width: 60%;
    height: 60%;
  }

  .ideal .image_frame {
    background-size: 100% 461px, 100% 996px;
  }
  .ideal .image_frame img:not(h2 img) {
    bottom: 122px;
  }
  .ideal_item p {
    padding: 20px;
  }

  .text_wrap {
    width: auto;
    margin: 0 20px 0 auto;
    padding: 60px;
  }
  .about_item:nth-of-type(2) .text_wrap {
    margin: 0 auto 0 20px ;
  }

  .career_box {
    max-width: 980px;
  }
  .career_box p {
    padding: 0 28px;
  }
  .career_box img {
    max-width: 412px;
    margin-top: 60px;
  }

  .education_bg {
    width: 540px;
  }
  .education_flex > .education_inner:nth-of-type(2) {
    width: auto;
    max-width: 500px;
  }
  .process_wrapper dl {
    max-width: 890px;
    margin: 0 auto;
  }
  .process_wrapper dt::before {
    height: 630px;
  }
  .process_wrapper dd {
    max-width: 440px;
  }
  .process_wrapper dd img {
    width: 195px;
    height: 195px;
    top: -30px;
    left: -30px;
  }
  .process_wrapper dd::before {
    width: 200px;
  }
  .process_wrapper dd p {
    padding: 0px 20px 0 172px;
  }
  .education_flex {
    flex-direction: column;
    padding: 60px 20px 0;
  }
  .education_bg {
    width: 100%;
    height: 600px;
    background-size: 670px 600px;
  }
  .education_flex > .education_inner:nth-of-type(2) {
    width: 100%;
    max-width: 780px;
    margin: 60px auto 120px;  
  }
  .education_flex > .education_inner:nth-of-type(2) p {
    padding: 60px 40px;
  }
  .education_flex > .education_inner:nth-of-type(3) {
    display: flex;
    max-width: inherit;
    margin: 40px auto 0;
  }
  .education_tips {
    margin-bottom: 0;
    padding: 0 20px;
  }
  .education_tips img {
    width: 100%;
  }
  .education_tips h4 {
    font-size: 20px;
  }
/* footer.css追記部分 */
  .sp_nav_box li::before, .acd-label li::before {
    font-family: "Font Awesome 5 free";
    content: "\f0da";
    font-weight: 600;
    color: #ec8200;
    margin-right: 12px;
  }
  .acd-label {
    display: block;
    margin-bottom: 1px;
  }
  .acd-label li {
    position: relative;
  }
  .acd-label li:after {
    content: "＋";
    height: 52px;
    padding: 20px;
    position: absolute;
    right: 0;
    top: -2px;
    font-size: 18px;
    color: #ec8200;
  }
  .acd-check:checked + .acd-label li:after {
    content: "ー";
  }
  .acd-content {
    display: block;
    height: 0;
    opacity: 0;
    padding: 0 10px;
    transition: .5s;
    visibility: hidden;
  }
  .child_menu {
    display: block;
    opacity: 1;
    position: unset;
    visibility: unset;
    padding-top: 0;
    transition: 0.1s;
    transition-delay: 0.3s;
  }
  .child_menu li {
    padding: 10px 0 8px 40px;
    font-size: 14px;
  }
  .acd-check:checked + .acd-label + .acd-content {
    height: auto;
    opacity: 1;
    padding: 10px;
    visibility: visible;
  }
/* ここまで */
}

@media screen and (max-width:999px) {
  .jobs_inner {
    max-width: 670px;
  }
}

@media screen and (max-width:949px) {
  
/* SPヘッダー */
  .burger_btn {
    display: block;
  }
  .sp_nav.is-active {
    transform: translateY(0); /* 画面内にスライドイン */
    top: 60px;
  }
/* メニュー内のレイアウト（中央揃え） */
  .sp_nav ul {
    display: grid;
    gap: 30px;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    grid-template-columns: repeat(2, 1fr);
  }
  .sp_nav a.nav_item {
    display: flex;
    justify-content: space-between; /* これで左右の両端に振り分けられます */
    align-items: center;           /* 上下の高さを中央で揃える */
    width: 100%;                   /* liの幅いっぱいに広げる */
    font-size: 18px;
    font-weight: bold;
    color: var(--main-color);
    text-decoration: none;
  }
  .sp_nav {
    position: fixed;
    top: -60px;
    left: 0;
    width: 100%;
    height: auto;
    background-color: rgba(255, 255, 255, 0.9); 
    z-index: 90;
    display: block;
    padding: 80px 40px 20px 40px;  
    transform: translateY(-100%); 
    transition: transform 0.4s ease;
  }
  .header_menu li {
    border-bottom: 1px solid var(--gray);
    display: flex;
    justify-content: space-between;
    width: 100%;
    font-weight: 400;
    font-size: 16px;
  } 
  .header_menu li span {
    display: inline-block;
    color: var(--gray);
    font-weight: normal;
    font-size: 14px;
  }
  .search_btn {
    margin: 40px auto 20px auto;
    font-size: 16px;
  }
  /* SPヘッダーここまで */

  .top_inner p {
    max-width: 350px;
  }

  .career_box {
    padding-top: 20px;
  }

  .faq_bg_image {
    height: 600px;
  }
  .faq .image_frame img:not(h2 img) {
    max-width: 810px;
  }
}

/* header内CSS */
@media screen and (max-width:929px) {
  .policy_under {
    margin: 0 !important;
  }
}
/* header内CSSここまで */

@media screen and (max-width:799px) {
  .career_wrapper {
    padding-top: 80px;
  }
  .career_container {
    border-bottom: none;
    height: 100%;
    background-size: auto 65%;
  }
  .career_box {
    display: block;
    padding-top: 0;
  }
  .career_box img {
    margin: -42px auto 0 auto;
    max-width: 348px;
  }
  .career_box p {
    margin: 0 auto;
    max-width: 600px;
    padding: 100px 20px 0;
  }
  .career_tips {
    margin: -60px auto 60px auto;
}
  .career_tips p {
    padding: 40px 20px;
  } 
   .education_flex {
    margin-top: 40px;
  }
  .career_container.orange_border::after {
    bottom: inherit;
    top: 370px;
  }

  .process_wrapper dt {
    width: 220px;
  }
}

@media screen and (max-width:749px) {
  .first_view {
    width: 100%;
    height: auto;
    color: var(--white);
  }
  .top_wrapper::after {
    background-image: none;
  }
  .first_view::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    max-width: 380px;
    width: 100%;
    height: 100%;
    max-height: 400px;
    min-height: 260px;
    background-color: var(--main-color);
  }
  .top_wrapper {
    padding-top: 20px;
  }
  .top_wrapper figure {
    background-size: cover;
    width: 100%;
    max-width: 62%;
    max-height: 64%;
    top: 74px;
    right: 0;
  }
  .top_inner {
    align-content: inherit;
  }
  h1 {
    background-image: linear-gradient(var(--blue), var(--blue));
    background-size: 100% 56%;
  }
  .top_inner p {
    position: absolute;
    bottom: 14px;
    left: -20px;
    max-width: 580px;
    height: auto;
    max-height: 188px;
    padding: 20px;
    background-color: rgb(0 0 0 / 80%);
    align-content: center;
    margin: 0 30px 0 0;
  }

  .notice {
    background-position: right top;
  }

  .jobs {
    overflow: hidden;
  }
  .jobs_inner {
    max-width: 460px;
  }
  .office_list a {                                  
    display: block;
  }
  .office_list ul {
    flex-direction: column;
  }
  .area_bg01, .area_bg02 {
    min-width: 160px;
    width: 25%;
  }
  .office_list {
    margin: 0 auto;
  }
  
  h2, .about h2, .faq h2 {
    padding-bottom: 0;
  }
  h2 img, .about h2 img, .faq h2 img {
    padding-bottom: 8px;
  }
  h2 img {
    width: auto;
    height: 100%;
    max-height: 68px;
    margin-right: 10px;
  }
  .about h2 img {
    height: 140px;
    max-height: inherit;
  }

  .ideal_wrapper {
    margin-top: -130px;
  }
  .ideal .image_frame {
    background-position: 0 bottom, center top;
    background-size: auto 406px, 100% 772px;
    height: 680px;
  }
  .ideal .image_frame img:not(h2 img) {
    max-width: 680px;
    bottom: 107px;
  }
  .ideal_content li {
    margin: 0 auto 10px auto;
    padding: 0;
  }
  .ideal_item {
    margin-top: 122px;
  }
  .ideal_title span {
    font-size: 26px;
  }
  .ideal_content {
    display: block;
  }
  .ideal_content li:not(:first-child) {
    position: relative;
    margin-top: 60px;
  }
  .ideal_content li:not(:first-child)::before {
    content: '';
    width: 100vw;
    height: 120px;
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    background-position: center bottom;
    background-size: 100% auto;
    background-image:  linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                      url(../img/ideal_item01.webp); 
  }
  h3, .recruit_wrapper h2, .department_wrapper h2 {
    font-size: 20px;
    margin-top: 20px;
  }
  .about_summary {
    padding: 0 20px;
  }
  .text_wrap {
    width: 100%;
    margin-right: 0;
    padding: 40px 20px;
    margin-bottom: 20px;
  }
  .about_item:nth-of-type(2) .text_wrap {
    padding: 40px 20px;
    margin-left: 0;
  }
  .about_img img {
    height: 290px;
    margin-top: -64px;
  }
  .about_img {
    width: 100vw;
    margin-left: calc(50% - 50vw);
    margin-right: calc(50% - 50vw);
    background-size: 86% auto;
    margin-top: 20px;
  }
  .career_tips {
    flex-wrap: wrap;
  }
  .career_tips li {
    max-width: 500px;
  }
  .career_tips h4 {
    padding: 20px;
  }

  .education_flex {
    background-size: 440px 700px;
  }
  .education_bg {
    width: 90%;
    height: 640px;
    background-size: 510px 640px;
  }
  .education_flex > .education_inner:nth-of-type(2) {
    width: 100%;
    max-width: 560px;
    margin: 40px auto 100px;
  }
  .education_inner h3 {
    margin-bottom: 40px;
  }
  .education_flex > .education_inner:nth-of-type(2) p {
    max-width: 460px;
    height: 100%;
    margin: 0 auto;
  }
  .education_flex > .education_inner:nth-of-type(3) {
    display: block;
    margin: 60px auto 0 auto;
  }
  .education_tips {
    padding: 20px 0;
    margin-bottom: 0;
  }
  .career_container.orange_border::after {
    top: 450px;
  }

  .process_wrapper dl {
    display: block;
    padding: 0 0 40px 0;
  }
  .process_wrapper dt {
    width: 180px;
  }
  .process_wrapper dt::before {
    width: 80px;
    height: 86px;
    font-size: 48px;
    top: -86px;
    left: 40px;
    padding-top: 0;
  }
  .process_wrapper dt::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 80px;
    height: 136px;
    z-index: -1;
    mix-blend-mode: multiply;
  }
  .process_wrapper dt:nth-of-type(1)::after {
    top: 22px;
    height: 110px;
  }
  .process_wrapper dt:nth-of-type(1)::before {
    display: none;
  }
  .process_wrapper dt:nth-of-type(5)::before {
    display: block;
  }
  .process_wrapper dd {
    display: block;
    padding: 60px 20px 40px 20px;
    margin: 80px 0 60px 0;
    z-index: 1;
    max-width: inherit;
  }
  .process_wrapper dd img {
    width: 100px;
    height: 100px;
    top: -60px;
    left: 30px;
  }
  .process_wrapper dd p {
    padding: 0;
  }
  .process_wrapper dd:nth-of-type(5) {
    background-color: var(--bg-beige);
  }
  .process_wrapper dd::before, .process_wrapper dd:nth-of-type(5)::before {
    border-top: none;
  }

  .department_item {
    margin-bottom: 60px;
  }
  .department_item dt label {
    padding: 6px 32px 6px 10px;
  }
  .department_item dl dd {
    padding: 40px 20px 20px 20px;
  }
  .department_item dl {
    margin-top: -106px;
  }
  .department_item dl dt span {
    min-height: 100px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    margin-left: auto;
    width: clamp(158px, calc(100vw - 162px), 300px);
  }
  .department_item figure, .department_item figure img {
    width: 150px;
    height: 150px;
    margin-left: 0;
  } 
  .department_item figure::after {
    right: -13px;
    width: 60px;
    height: 60px;
    background-size: 38px;
  }

  .faq {
    margin-top: 0;
  }
  .faq .image_frame img:not(h2 img) {
    max-width: 640px;
  }
  .faq .image_frame img:not(h2 img) {
    bottom: 0px;
  }
  .faq_bg_image {
    height: 460px;
    background-position: 30% 100%;
    background-size: 100%
  }

  .requirements li {
    min-width: inherit;
    margin: 10px 0;
  }

  .recruit_flex {
    display: block;
  }
  .recruit_detail {
    padding: 60px 20px 40px 20px;
  }
  .triangle {
    border-top: 80px solid var(--main-color);
    border-right: 80px solid transparent;
  }
  .office_info {
    display: block;
  }
  .center_name {
    max-width: inherit;
    margin: 20px 0;
  }
  .map, iframe {
    max-width: inherit;
  }
  .recruit_item ul {
    margin-right: 0;
  }
  .recruit_item {
    padding: 20px;
  }
  .requirements {
    display: block;
    margin-top: 0;
  }
  .recruit_btn {
    width: 100%;
    max-width: 280px;
    font-size: 14px;
    margin: 0 auto;
  }
  .recruit_btn::after {
    padding-left: 0;
  }
  .recruit_item a {
    display: block;
  }
}

  /* footer用CSS */
  @media screen and (max-width:739px) { 
  input {
    display: none;
  }
  .f_sp_nav_box li {
    border-top: 0;
    border-bottom: 0;
  }
  .f_nav_content {
    display: block;
  }
   /* ここまで */
}
 
@media screen and (max-width:599px) { 
  .sp_nav ul {
    display: block;
  }
  .sp_nav a.nav_item {
    max-width: 299px;
    margin: 0 auto;
    padding-top: 10px;
  }
  .sp_nav {
    padding: 40px 20px 20px 20px;
  }
  .header_menu li {
    font-size: 14px;
    margin-top: 14px;
    padding: 6px 0;
  }
}

@media screen and (max-width:499px) { 
  .first_view::before {
    content: '';
    position: absolute;
    top: 60px;
    left: 0;
    width: 30%;
    max-width: 200px;
    min-width: 100px;
    height: 30%;
    background-color: var(--main-color);
  }
  .top_wrapper figure {
    background-size: auto 114%;
    background-position: 57% center;
    min-width: 200px;
    min-height: 200px;
    max-width: inherit;
    width: 70%;
    height: 50%;
    top: 100px;
  }
  .top_inner p {
    max-height: inherit;
    width: 100vw;
    max-width: inherit;
    bottom: 0;
  }
  
  section {
    padding: 60px 0;
  }
  .notice_inner {
   padding: 0 20px;
  }

  h2 {
    margin-bottom: 60px;
    padding: 0;
  }
  h2 span {
    padding-bottom: 8px;
  }
  h2 img {
    height: 46px;
  }
  .ideal h2, .faq h2 {
    padding: 0;
  }
  .about h2 img {
    height: 96px;
    margin-right: -24px;
  }

  .area_bg01, .area_bg02 {
    min-width: 120px;
    max-width: 136px;
  }

  .education_bg {
    height: 600px;
    background-size: 440px 600px;
  }
  .education_flex > .education_inner:nth-of-type(2) p {
    max-width: 360px;
    padding: 40px 20px;
  }
  .education_flex > .education_inner:nth-of-type(2) {
    margin: 0 auto 100px;
  }

  .process h2 {
    border-bottom: var(--main-color) 1px solid;
  }
  .process h2 img {
    padding-bottom: 8px;
    width: auto;
  }
  .process h2 span {
    border-bottom: none;
  }

  .jobs_image {
    margin-top: 190px;
  }
  .jobs_image::before {
    max-width: 260px;
    padding: 20px;
  }

  h3 {
    margin-bottom: 20px;
  }

 .ideal .image_frame {
    height: 450px;
    background-size: 100% 230px, 100% 480px;
  }
  .ideal .image_frame img:not(h2 img) {
    max-width: 460px;
    bottom: 60px;
  }
  .ideal h2 {
    top: 80px;
  }
  .ideal_wrapper {
    margin-top: -60px;
  }

  .career_tips {
    margin: -40px auto 60px auto;
  }
  .education_inner:first-of-type {
    margin-top: 0;
  }
  .education_inner h3 {
    margin-bottom: 26px;
  }

  .department_item figure::after {
    right: -20px;
    width: 56px;
    height: 56px;
    background-size: 30px;
  }
  .department_item dt label {
    padding: 14px 32px 6px 10px;
    font-size: 20px;
  }
  .department_item dl dt span {
    font-size: 14px;
  }
  .department_item figure, .department_item figure img {
    width: 100px;
    height: 100px;
  }

  .faq_item dt {
    padding: 16px 20px;
  }
  .faq_item dd {
    padding: 20px;
  }
  .faq_bg_image {
    height: 360px;
    background-position: bottom;
    background-size: 100%;
  }
  .faq_bg_image img:not(h2 img) {
    max-width: 460px;
    bottom: 0;
  }

  .sp_br {
    display: block;
  }
  .process_bg {
    padding: 60px 20px;
  }
  .process_bg p { 
    line-height: 2;
  }

  .recruit_item {
    padding: 20px 16px;
  }
  .recruit_flex ul li {
    font-size: 16px;
  }
  .requirements {
    margin-top: 20px;
  }
  .map, iframe {
    height: 270px;
  }
  .center_name p {
    font-size: 14px;
  }
  .recruit_item h4 {
    font-size: 18px;
  }
  
  .about_summary {
    width: 100%;
    margin: 0 auto;
    padding: 0;
  }
  .about_img {
    margin-top: -76px;
    height: auto;
    background-size: 96% auto;
  }
  .text_wrap, .about_item:nth-of-type(2) .text_wrap {
    width: 100%;
    padding: 20px 20px 40px 20px;
    border-left: var(--main-color) 2px solid;
  }
  .about_item:nth-of-type(2) .text_wrap {
    margin: 0 auto;
    border-right: var(--main-color) 2px solid;
  }
  .text_wrap::after, .about_item:nth-of-type(2) .text_wrap::after {
    display: none;
  }
  .about_img img {
    height: 240px;
    margin-top: 0;
  }
  .about_img01, .about_img02, .about_img03 {
    text-align: center;
    padding-right: 0;
    padding-left: 0;
  }
  .about_img01.orange_border::before {
    bottom: -100px;
  }
  .about_img02.orange_border::after {
    top: 28px;
  }
  .about .jobs_wrapper {
    margin-top: 0;
  }
  h4 {
    font-size: 20px;
  }

  .education_flex > .education_inner:nth-of-type(3) {
    margin: 30px auto 0 auto;
  }

  .process_wrapper dt:nth-of-type(5)::after, .process_wrapper dt:nth-of-type(5)::before {
    display: block;
  }
  
  .faq_wrapper span:not(.faq_wrapper dd span ) {
    width: 132px;
  }
  
  .center_name h3 {
    font-size: 20px;
    margin: 10px 0;
  }
  .recruit_item {
    margin-bottom: 60px;
  }
  .recruit_item::after {
    font-size: 14px;
  }
  .recruit_detail {
    padding: 60px 16px 20px 16px;
  }
  .orange_border::before, .orange_border::after {
    max-width: 200px;
    max-height: 200px;
  }
}
@media screen and (max-width: 399px) {
  .top_wrapper figure {
    top: 64px;
  }
  
  .ideal_title {
    max-width: 250px;
  }

  .career_box p {
    padding: 100px 0 0;
  }
  .education_bg {
    height: 660px;
    background-size: 510px 660px;
  }
  .education_inner:first-of-type p {
    padding: 40px 20px;
  }
  .education_inner:first-of-type {
    padding: 20px 0;
  }

  .office_list {
    max-width: 340px;
  }
  .office_list li {
    font-weight: bold;
    font-size: 18px;
  }
  .office_name {
    min-width: 280px;
    padding: 6px;
  }
  .office_list li:not(.office_name) {
    font-size: 20px;
    margin-bottom: 14px;
  }
  .office_name span {
    font-weight: normal;
  }
  .office_name::before {
    font-size: 22px;
    margin-right: 3px;
  }
}