@charset "UTF-8";
@import url(icomoon.css);
@import url(pushy.css);

section h2 {
  text-align: center;
  margin: 0 0 50px;
}
@media only screen and (min-width: 320px) and (max-width: 1170px) {
  /* line 25, about.scss */
  section h2 {
    margin: 0 0 30px;
  }
}

/* line 34, about.scss */
.txt_main_en {
  font-family: 'Questrial', sans-serif;
  font-size: 45px;
  font-weight: 700;
  color: #111;
  letter-spacing: 0.02em;
  margin: 0 0 20px;
}
@media only screen and (min-width: 320px) and (max-width: 1170px) {
  /* line 34, about.scss */
  .txt_main_en {
    font-size: 32px;
    text-align: center;
    margin: 0 0 10px;
  }
}
@media only screen and (min-width: 1170px) and (max-width: 1367px) {
  /* line 34, about.scss */
  .txt_main_en {
    margin: 0 0 10px;
    font-size: 45px;
  }
}

/* line 51, about.scss */
.txt_main_ja {
  font: 20px/1 'Noto Sans Japanese', serif;
  letter-spacing: 0.075em;
  font-weight: bold;
}
@media only screen and (min-width: 320px) and (max-width: 1170px) {
  /* line 51, about.scss */
  .txt_main_ja {
    text-align: center;
    font-size: 17px;
    margin: 0 0 20px;
  }
}
@media only screen and (min-width: 1170px) and (max-width: 1367px) {
  /* line 51, about.scss */
  .txt_main_ja {
    margin: 0 0 20px;
  }
}

/* line 17, about.scss */
#recruit, #education, #detail, #step, #contact, #entry {
  width: 750px;
  margin: 0 auto;
  padding: 70px 0 0;
  overflow: hidden;
    font-size: 1.2em;
}
#recruit{
    margin-top: 140px;
}
@media only screen and (min-width: 320px) and (max-width: 1170px) {
  /* line 17, about.scss */
    #recruit, #education, #detail, #step, #contact, #entry {
        width: 100%;
        padding: 140px 16px 0;
        box-sizing: border-box;
  }
}

section p{
    line-height: 1.75;
    margin-bottom: 20px;
    font-size: 1.2em;
}


.table_box dl {
  display: flex;
  flex-wrap: wrap;
  width: 100%;
    font-size: 1.2em;
}

.table_box dt, .table_box dd {
  margin: 0;
  padding: 15px 0;
  border-bottom: 1px solid #ddd;
  line-height: 1.6;
  box-sizing: border-box;
}

.table_box dt {
  width: 20%;
  font-weight: bold;
  text-align: center;
  padding-right: 10px;
}

.table_box dd {
  width: 80%;
  text-align: left;
}

/* モバイル対応 */
@media (max-width: 768px) {
  .table_box dl {
    display: block;
      margin: auto;
  }

  .table_box dt,
  .table_box dd {
    width: 100%;
    padding: 10px;
  }

  .table_box dt {
    background-color: #f5f5f5;
  }
}


:root {
  --c-main: #23aac0;
  --c-text: #23aac0;
  --c-white: #fff;
  --radius: 8px;
  --gap: 10px;
}

body {
  font-family: system-ui, -apple-system, "Yu Gothic", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
  margin: 16px;
  color: #111;
}

/* 共通：ボックス/ラベル/本文 */
.step-group {
    width: 100%;
  border: 2px solid var(--c-main);
    box-sizing: border-box;
  border-radius: var(--radius);
  overflow: hidden;
  text-align: center;
  display: flex;
  flex-direction: column;
}
.label {
  background: var(--c-main);
  color: var(--c-white);
  font-weight: 700;
  padding: 0.8em;
  font-size: 1.1rem;
    box-sizing: border-box;
}
.step-body {
  background: var(--c-white);
  color: var(--c-text);
  padding: 1em;
  font-size: 1.1rem;
  line-height: 1.6;
    box-sizing: border-box;
}
.arrow {
  font-size: 1.6rem;
  text-align: center;
  color: var(--c-main);
}


/* =========================
   EDUCATION
   ========================= */
#education .step-flow {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: stretch;
  gap: 0.5%;
  flex-wrap: nowrap;
}
#education .step-group {
  width: 30%;
}
#education .step-body{
    text-align: left;
}

/* =========================
   STEP
   ========================= */
#step .step-flow {
  display: flex;
  flex-direction: column;
  gap: var(--gap);
}

#step .step-row {
  border: 2px solid var(--c-main);
  border-radius: var(--radius);
  overflow: hidden;
  display: flex;
  align-items: stretch;
    width: 80%;
    margin: auto;
}

#step .step-row .label {
  flex: 0 0 30%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
}

#step .step-row .step-body {
  flex: 1 1 70%;
  text-align: center;
}

#step .arrow {
    width: 56%;
    margin-left: 34%;
  line-height: 1;
    text-align: center;
}

/* アクセシビリティ配慮 */
.step-row:focus-within {
  outline: 3px solid #0d7180;
}

/* レスポンシブ対応（幅が狭い場合は縦積み） */
@media (max-width: 768px) {
  #step .step-row {
    flex-direction: column;
  }
  #step .step-row .label,
  #step .step-row .step-body {
    flex: none;
    width: 100%;
  }
    #step .arrow {
    width: 100%;
    margin-left: 0%;
}
}


@media (max-width: 768px) {
    #education .step-flow {
        flex-direction: column;
        align-items: center;
        gap: 20px;
    }
    #education .step-group {
        width: 80%;
    }
    #education .arrow{
        transform: rotate(90deg);
    }
}

.banner{
    width: 50%;
    margin: auto;
}
.banner a{
    display: block;
}
.banner img{
    width: 100%;
}


/*入力フォーム*/
form{
    width: 100%;
    vertical-align: middle;
}
form label{
    display: flex;
    width: 100%;
    margin: 40px 0;
    overflow: hidden;
}
form span{
    width: 180px;
    padding: 0.25em 20px 0 0;
    text-align: right;
}
input, select, textarea{
    flex: 1;
    vertical-align: middle;
}

/*エラーメッセージ表示*/
#error-popup {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  max-width: 90%;
  background-color: #f8d7da;
  color: #721c24;
  border: 2px solid #f5c6cb;
  padding: 15px;
  border-radius: 6px;
  font-size: 14px;
  z-index: 9999;
  box-shadow: 0 2px 10px rgba(0,0,0,0.2);
}
input.error, textarea.error, select.error {
  border: 2px solid red !important;
}
.submit{
    display: block;
    width: 50%;
    margin: auto;
    background-color: white;
    border: 2px solid #23aac0;
    color: #23aac0;
    font-size: 1.4em;
    line-height: 3em;
}
.submit:hover{
    background-color: #23aac0;
    color: white;
}


.contact-group {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  width: 100%;
}

.contact-box {
  flex: 1 1 0; 
  border: 2px solid #23aac0;
  border-radius: 8px;
  background-color: #f9f9f9;
  text-align: center;
  transition: background-color 0.3s;
}

.contact-box a {
    display: block;
  padding: 20px;
  text-decoration: none;
  color: inherit;
}

.contact-box:hover {
  background-color: #eef;
}

.contact-box p {
  font-size: 1.1em;
  font-weight: bold;
    line-height: 1.5em;
    padding-top: 20px;
}

/* スマホ対応 */
@media (max-width: 768px) {
  .contact-group {
      display: block;
  }

  .contact-box {
    width: 100%;
      margin-bottom: 20px;
  }
}
