@charset "UTF-8";

html {
  font-size: 100%;
  scroll-behavior: smooth;
}

body {
  color: #333;
  font-family: "Roboto", "Noto Sans JP", sans-serif;
  font-weight: 400;
  line-height: 2;
}

img {
  max-width: 100%;
  vertical-align: bottom;
}

li {
  list-style: none;
}

a {
  color: #333;
  text-decoration: none;
}

a:hover {
  filter: brightness(1.15);
}

.wrapper {
  max-width: 1280px;
  padding: 80px 4%;
  margin: 0 auto;
}

/* === header === */
#header {
  width: 100%;
  height: 60px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background-color: #fff;
  padding: 0 4%;
  position: fixed;
  z-index: 30;
}

#header .logo {
  width: 100%;
  max-width: 220px;
  line-height: 0;
}

#header .logo a {
  display: block;
}

#header .navi .contact a {
  display: block;
  border: 1px solid #ff0b01;
  border-radius: 4px;
  color: #ff0b01;
  font-size: 15px;
  font-weight: 700;
  text-align: center;
  line-height: 1;
  padding: 10px 40px;
  cursor: pointer;
}

/* === main === */
main {
  padding-top: 60px;
}

/* === mainvisual === */
.mainvisual img {
  width: 100vw;
}

/* === about === */
.about {
  text-align: center;
}

.about .title {
  color: #004fa2;
  font-size: 32px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 24px;
}

.about .title-text {
  font-size: 24px;
  font-weight: 700;
  line-height: 1.8;
}

.about img {
  padding: 0 80px;
  margin: 40px 0;
}

.about .text {
  font-size: 18px;
  font-weight: 500;
}

/* === section-common === */
.section-title {
  text-align: center;
  margin-bottom: 60px;
}

.section-title .main {
  color: #004fa2;
  font-size: 28px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 40px;
}

.section-title .sub {
  font-size: 18px;
  font-weight: 500;
}

/* === grid-common === */
.grid,
.grid-2 {
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
}

.card {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  background-color: #fff;
  border-radius: 12px;
  padding: 40px 30px;
}

.card.gray {
  background-color: #f5f8fc;
}

.grid .card .title,
.grid-2 .card .title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
}

.grid .card .description,
.grid-w .card .description {
  line-height: 1.8;
}

/* === btn-common === */
.btn-icon {
  width: 100%;
  display: inline-block;
  background-color: #fff;
  border-radius: 4px;
  color: #ff0b01;
  font-size: 20px;
  font-weight: 700;
  text-align: center;
  padding: 12px 0;
  cursor: pointer;
  position: relative;
}

.btn-icon.blue {
  color: #004fa2;
}

.btn-icon.black {
  color: #333;
}

.btn-icon::after {
  content: "";
  position: absolute;
  top: calc(50% - 6px);
  right: 50px;
  width: 10px;
  height: 10px;
  border-top: 3px solid;
  border-right: 3px solid;
  rotate: 45deg;
  transition: 0.5s;
}

.btn-icon:hover::after {
  right: 35px;
}

/* === merit === */
.merit {
  background-color: #f5f8fc;
}

/* === program === */
.wrapper-program {
  max-width: 1280px;
  padding: 80px 4% 0;
  margin: 0 auto;
}

/* tab */
.tabbox {
  max-width: 1280px;
  display: grid;
  gap: 20px;
  grid-template-columns: repeat(3, 1fr);
  padding: 0 4% 80px;
  margin: 0 auto;
}

.tab {
  display: none;
  background-color: #ccc;
  border-radius: 0.75em 0.75em 0px 0px;
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
  width: 32%;
  padding: 0.75em 1em;
}

.tab:hover {
  background-color: #ff0b01;
  color: #fff;
  cursor: pointer;
}

.tab.blue:hover {
  background-color: #004fa2;
}

.tab.black:hover {
  background-color: #333;
}

input:checked + .tab {
  background-color: #ff0b01;
  color: #fff;
}

input:checked + .tab.blue {
  background-color: #004fa2;
}

input:checked + .tab.black {
  background-color: #333;
}

.tabbox input {
  display: none;
}

.tabcontent {
  display: grid;
  gap: 40px;
  grid-template-rows: subgrid;
  grid-row: span 15;
  /* grid-row: span 16; */
  background-color: #ff0b01;
  color: #fff;
  text-align: left;
}

.tabcontent.blue {
  background-color: #004fa2;
}

.tabcontent.black {
  background-color: #333;
}

.tabcontent p {
  font-size: 15px;
  font-weight: 500;
}

/* tab-contents */
.pr-point,
.pr-skill,
.pr-text,
.pr-main,
.pr-btn,
.prg {
  padding: 0 20px;
}

/* tab-contents-point */
.pr-point {
  display: flex;
}

.pr-point p {
  background-color: #fff;
  color: #ff0b01;
  font-size: 14px;
  font-weight: 700;
  padding: 0 5px;
  margin-right: 5px;
}

.pr-point p.blue {
  color: #004fa2;
}

.pr-point p.black {
  color: #333;
}

/* tab-contents-skill */
.pr-skill p {
  font-size: 13px;
}

.pr-skill .skills {
  display: flex;
  flex-wrap: wrap;
  margin-top: 5px;
}

.pr-skill .skills p {
  background-color: #fff;
  color: #333;
  font-size: 12px;
  font-weight: 700;
  padding: 0 5px;
  margin-right: 5px;
  margin-bottom: 5px;
}

.pr-skill .skills p.other {
  background-color: transparent;
  color: #fff;
}

/* tab-contents-main */
.pr-main .main-title,
.main-title.prg hr {
  margin-bottom: 30px;
}

.pr-main .main-title .en,
.main-title.prg .en {
  font-family: "Poppins", selif;
  font-size: 32px;
  line-height: 1.6;
  margin-top: 20px;
}

.pr-main .main-title .jp,
.main-title.prg .jp {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
}

.pr-main .main-title hr,
.main-title.prg hr {
  margin-top: 10px;
}

.pr-main .main-text p {
  margin-bottom: 1em;
}

.pr-main .main-text p:last-child {
  margin-bottom: 0;
}

/* tab-contents-program */
.program-content {
  margin: 0;
}

.program-content .content-title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.6;
  margin-bottom: 10px;
}

/* tab-contents-future */
.future {
  display: inline-block;
  padding-bottom: 1em;
}

/* tab-contents-button */
.pr-btn {
  padding-bottom: 40px;
}

/* === middle-image === */
.middle-image img {
  width: 100vw;
}

/* === reason === */
.reason-item {
  margin: 80px 0;
}

.reason-item:last-child {
  margin-bottom: 0;
}

.reason-ttl {
  display: flex;
  align-items: center;
}

.reason-ttl .number {
  display: inline-block;
  font-family: "Poppins", selif;
  font-size: 64px;
  font-weight: 600;
  line-height: 1;
  margin-right: 40px;
}

.reason-ttl .title {
  display: inline-block;
  font-size: 24px;
  font-weight: 700;
  line-height: 1.6;
}

.reason-item .text .description {
  font-weight: 500;
  margin: 20px 0 40px;
}

/* scroll */
.scroll {
  display: none;
  align-items: center;
  font-size: 13px;
  font-weight: 500;
  width: 15%;
  padding-top: 15px;
  margin: 0 0 0 auto;
}

.scroll::after {
  content: "";
  border-top: 1px solid #333;
  width: 50px;
  margin-left: 1em;
  animation: scroll 2s infinite;
}

@keyframes scroll {
  0% {
    width: 0%;
  }
  100% {
    width: 100%;
  }
}

/* === voice === */
.voice {
  background-color: #f5f8fc;
}

.voice-item {
  display: grid;
  gap: 40px;
  grid-template-columns: 1fr 2fr;
  margin-bottom: 60px;
}

.voice-item.reverse {
  grid-template-columns: 2fr 1fr;
}

.voice-item:last-child {
  margin-bottom: 0;
}

.voice-item .text .name {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 10px;
}

.voice-item .text .description {
  margin-bottom: 1em;
}

/* === flow === */
.flow {
  display: flex;
  gap: 45px;
  justify-content: space-between;
}

.flow > li {
  flex: 1;
  display: flex;
}

.flow > li dl {
  flex: 1;
  margin: 0;
  border: 1px solid #004fa2;
  position: relative;
}

.flow > li:not(:last-child) dl::before {
  content: "";
  display: inline-block;
  width: 14px;
  height: 14px;
  margin-right: 10px;
  border-top: 4px solid #004fa2;
  border-right: 4px solid #004fa2;
  position: absolute;
  top: calc(50% - 7px);
  left: 105%;
  transform: rotate(45deg);
}

.flow > li dl dt {
  background-color: #004fa2;
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  text-align: center;
  padding: 5px 0;
}

.flow > li dl dd {
  line-height: 1.8;
  padding: 15px;
}

/* === job description === */
.job {
  background-color: #f5f8fc;
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin: 0 auto;
}

.table th,
.table td {
  border: solid 1px #ccc;
  padding: 20px;
}

.table th {
  width: 20%;
  background-color: #f7f7f7;
  font-weight: 700;
  text-align: left;
}

.table td {
  background-color: #fff;
  line-height: 1.8;
}

/* === company === */
.company-info {
  display: flex;
  justify-content: space-between;
}

.company-info .text {
  width: 60%;
}

.company-info .text img {
  max-width: 360px;
  margin-bottom: 20px;
}

.company-info dt {
  float: left;
}

.company-info dt::after {
  content: "：";
}

.company-info .img {
  width: 35%;
}

/* === fixed-apply-button === */
.apply {
  background-color: #eee;
  position: sticky;
  bottom: 0;
  left: 0;
  opacity: 0;
  z-index: -1;
}

.wrapper-apply {
  max-width: 1280px;
  display: flex;
  justify-content: center;
  gap: 20px;
  padding: 40px 4%;
  margin: 0 auto;
}

.apply .btn-icon.red,
.apply .btn-icon.blue2,
.apply .btn-icon.black2 {
  width: 33%;
  background-color: #ff0b01;
  color: #fff;
  font-size: 14px;
  padding: 12px 0;
}

.apply .btn-icon.blue2 {
  background-color: #004fa2;
  color: #fff;
}

.apply .btn-icon.black2 {
  background-color: #333;
  color: #fff;
}

/* === footer === */
#footer {
  text-align: center;
  padding: 40px 4%;
}

#footer .logo {
  max-width: 300px;
  margin: 0 auto 10px;
}

#footer .copyright {
  font-size: 12px;
}

/* === floating-button === */
a.backToTop {
  display: inline-block;
  background-color: #999;
  width: 55px;
  height: 55px;
  position: fixed;
  right: 2%;
  bottom: 2%;
  opacity: 0;
  z-index: 999;
  border-radius: 9999px;
  transition: opacity 0.8s;
  pointer-events: none;
}

a.backToTop:before {
  display: inline-block;
  width: 0.8rem;
  height: 0.8em;
  border: 0.2em solid currentColor;
  border-left: 0;
  border-bottom: 0;
  box-sizing: border-box;
  color: #fff;
  line-height: 1;
  content: "";
  z-index: 1000;
  opacity: 1;
  left: 50%;
  top: 55%;
  position: absolute;
  transform: translate(-50%, -50%) rotate(-45deg);
}

/* === pc-sp === */
.sp {
  display: none;
}

/* ------------------------------
        Break_1180px
  ------------------------------ */
@media screen and (max-width: 1180px) {
  /* === btn-common === */
  .btn-icon::after {
    display: none;
  }
}

/* ------------------------------
        Tablet
  ------------------------------ */
@media screen and (max-width: 960px) {
  /* === about === */
  .about .title {
    font-size: 24px;
  }

  .about .title-text {
    font-size: 18px;
  }

  .about .text {
    font-size: 16px;
  }

  /* === section-common === */
  .section-title .main {
    font-size: 22px;
  }

  .section-title .sub {
    font-size: 16px;
  }

  /* === grid-common === */
  .grid,
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
  }

  /* === progranm === */
  /* tab */
  .tabbox {
    width: 100%;
    display: block;
    padding: 0 0 40px;
    text-align: center;
  }

  #tabcheck1:checked ~ #tabcontent1 {
    display: block;
  }
  #tabcheck2:checked ~ #tabcontent2 {
    display: block;
  }
  #tabcheck3:checked ~ #tabcontent3 {
    display: block;
  }

  .tab {
    display: inline-block;
    font-size: 14px;
  }

  .tabcontent {
    display: none;
    border-top: 3px solid #fff;
  }

  /* tab-contents */
  .pr-img {
    width: 100%;
  }

  .pr-point,
  .pr-skill,
  .pr-text,
  .pr-main,
  .pr-btn,
  .prg {
    padding: 0 4%;
  }

  .pr-img,
  .pr-point,
  .pr-skill {
    margin-bottom: 40px;
  }

  /* tab-contents-main */
  .pr-main {
    margin: 40px 0;
  }

  .main-title.prg .desc,
  .program-content.prg,
  p.prg {
    margin-bottom: 40px;
  }

  /* tab-contents-button */
  .pr-btn {
    padding-bottom: 40px;
    margin-bottom: 60px;
  }

  /* === reason === */
  .reason-ttl .number {
    font-size: 56px;
  }

  .reason-ttl .title {
    font-size: 20px;
  }

  /* === voice === */
  .voice-item .text .name {
    font-size: 18px;
  }

  /* === fixed-apply-button === */
  .apply .btn-icon.red,
  .apply .btn-icon.blue2,
  .apply .btn-icon.black2 {
    font-size: 13px;
  }
}

/* ------------------------------
        Smartphone
  ------------------------------ */
@media screen and (max-width: 767px) {
  .wrapper {
    padding: 40px 4%;
  }

  /* === header === */
  #header .logo {
    max-width: 150px;
  }

  #header .logo a {
    display: block;
  }

  #header .navi .contact a {
    font-size: 12px;
    padding: 10px 16px;
    top: 3%;
  }

  /* === about === */
  .about {
    text-align: left;
  }

  .about .title {
    font-size: 22px;
    margin-bottom: 16px;
  }

  .about .title-text {
    font-size: 16px;
  }

  .about img {
    padding: 0;
    margin: 24px 0;
  }

  /* === section-common === */
  .section-title {
    text-align: left;
    margin-bottom: 20px;
  }

  .section-title .main {
    font-size: 20px;
  }

  /* === grid-common === */
  .grid {
    grid-template-columns: 1fr;
  }

  /* === grid-scroll === */
  .grid-2 {
    grid-template-columns: repeat(3, 100%);
    grid-auto-flow: column;
    overflow: auto;
  }

  .grid-2.two {
    grid-template-columns: repeat(2, 100%);
  }

  /* ===btn-common === */
  .btn-icon {
    font-size: 18px;
    padding: 10px 0;
  }

  /* === program === */
  .wrapper-program {
    padding: 40px 4% 0;
  }

  /* tab-contents-button */
  .pr-btn {
    margin-bottom: 0;
  }

  /* === reason === */
  .reason-item {
    margin: 40px 0;
  }

  .reason-ttl {
    flex-direction: column;
    align-items: flex-start;
  }

  .reason-ttl .number {
    font-size: 48px;
    margin-right: 0;
    margin-bottom: 10px;
  }

  .reason-ttl .title {
    font-size: 18px;
  }

  .reason-item .text .description {
    margin: 20px 0;
  }

  /* scroll */
  .scroll {
    display: flex;
    width: 20%;
  }

  /* === voice === */
  .voice-item,
  .voice-item.reverse {
    gap: 40px;
    grid-template-columns: 1fr;
  }

  .voice-item .text {
    order: 1;
  }

  .voice-item .img {
    order: 2;
  }

  .voice-item .img img {
    width: 100%;
  }

  /* === flow === */
  .flow {
    flex-direction: column;
  }

  .flow > li:not(:last-child) dl::before {
    left: calc(50% - 7px);
    top: 112%;
    transform: rotate(135deg);
  }

  /* === job description === */
  .table th,
  .table td {
    display: block;
    border-bottom: none;
    font-size: 15px;
    padding: 12px;
  }

  .table th {
    width: 100%;
  }

  .table td {
    border-top: none;
  }

  .table tr:last-child {
    border-bottom: solid 1px #ccc;
  }

  /* === company === */
  .company-info {
    flex-direction: column;
  }

  .company-info .text,
  .company-info .text img,
  .company-info .img {
    width: 100%;
  }

  .company-info .text {
    margin-bottom: 20px;
  }

  /* === fixed-apply-button === */
  .wrapper-apply {
    flex-direction: column;
    gap: 10px;
    padding: 20px 4%;
  }

  .apply .btn-icon.red,
  .apply .btn-icon.blue2,
  .apply .btn-icon.black2 {
    width: 100%;
    padding: 5px 0;
  }

  /* === footer === */
  #footer {
    padding: 20px 4%;
  }

  #footer .logo {
    max-width: 220px;
  }

  /* === floating-button === */
  a.backToTop {
    width: 30px;
    height: 30px;
  }

  a.backToTop:before {
    width: 0.6rem;
    height: 0.6em;
  }

  /* === pc-sp === */
  .pc {
    display: none;
  }

  .sp {
    display: block;
  }
}

@media screen and (max-width: 427px) {
  /* === reason-scroll === */
  .scroll {
    width: 35%;
  }
}
