
/* ===========================
   Common
=========================== */
@media (min-width: 768px) {
}
/* ===========================
   Message
=========================== */
#message{
   margin-bottom: 80px;
}
.com-img {
    width: 100%;
}
.com-text {
    max-width: 100%;
    font-size: 15px;
}
.com-text p{
    margin-bottom: 2rem;
    line-height: 2;
}
.com-text h3{
    margin: 2rem 0;
    color: var(--MS_blue);
    font-size: 26px;
    letter-spacing: 0.1rem;
}
@media (min-width: 768px) {
   .com-img {
      width: 435px;
      max-width: 435px;
   }
   .com-text {
      width: 750px;
      font-size: 18px;
   }
   .com-text h3{
      font-size: 24px;
   }
#message .title-title .sp{
   display: block;
}
}
@media (min-width: 1120px) {
#message .title-title .sp{
   display: none;
}
}
/* ===========================
   company
=========================== */
#company{
   margin-bottom: 80px;
}
.stats {
  display: flex;
  flex-direction: column;
  gap: 15px;
  max-width: 1200px;
  margin: 0 auto;
}
.stat-card {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 12px;
  padding: 5px 20px 8px;
  text-align: center;
  display: flex;
   flex-direction: column;
   justify-content: center;
}
.stat-value {
  font-size: 24px;
  color: var(--MS_blue);
  line-height: 1.3;
}
.stat-value span {
  font-size: 48px;
  font-weight: 500;
  font-weight: 700;
  font-family: 'Roboto', sans-serif;
  color: var(--MS_blue_dark);
}
.stat-label {
  font-size: 16px;
  font-weight: 600;
  color: var(--MS_blue_light);
  margin: 0 0 8px;
  background: var(--blue000);
  padding: 8px;
}
.stat-note {
  font-size: 13px;
  color: var(--gray600);
  margin-top: 5px;
}
.btn-link img{
  width: 14px;
}
.btn-link:hover {
  background: var(--blue000);
}
.stat-logo {
  display: none;
}
@media (min-width: 1024px) {
  .stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 横3列 */
    grid-template-rows: repeat(3, auto);   /* 縦3行 */
    gap: 25px;
    align-items: center;
    text-align: center;
    margin-top: 100px;
  }
  .stat-card {
    padding: 25px 20px;
    height: 100%;
  }
  .stat-value {
   font-size: 28px;
  }
   .stat-value span {
   font-size: 60px;
   }
   .stat-label{
      font-size: 18px;
   }
  .stat-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    grid-column: 2 / 3; /* 2列目 */
    grid-row: 2 / 3;    /* 2行目 */
  }
  .stat-logo img {
    width: 328px;
    max-width: 100%;
    height: auto;
  }
  .stat-note{
   font-size: 15px;
  }
}

/* ===========================
   values
=========================== */
#value{
   margin-bottom: 80px;
}
/* values-diagram */
.value-diagram {
  max-width: 900px;
  margin: 0 auto;
  position: relative;
  text-align: center;
  font-family: "Hiragino Sans", "Noto Sans JP", sans-serif;
  font-weight: 600;
}
.diagram-top {
  background: linear-gradient(180deg, #3BC7E5, #0166AE);
  color: #fff;
  max-width: 400px;
  width: 100%;
  height: 50px;
  max-width: 100%;
  margin: 0 auto;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}
.arrow-up{
  width: 73px;
  margin: 5px auto;
}
.diagram-center {
  background: linear-gradient(180deg, #3BC7E5, #0166AE);
  color: #fff;
  border-radius: 12px;
  padding: 10px;
  width: 160px;
  margin: 0 auto 10px;
  position: relative;
  font-size: 13px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.diagram-center .arrow-down,
.diagram-box .arrow-icon{
  margin-top: 5px;
  width: 24px;
}
.diagram-bottom {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 10px;
  margin-top: 0px;
}
.diagram-box {
  background: linear-gradient(180deg, #3BC7E5, #0166AE);
  color: #fff;
  border-radius: 12px;
  padding: 10px;
  width: 140px;
  font-size: 12px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}
.arrow-horizontal {
  width: 56px;
}
.arrow-diagonal {
  position: absolute;
  width: 40px;
}
.arrow-diagonal.left {
  top: 120px;
   right: 50%;
    margin-right: 90px;
}
.arrow-diagonal.right {
  top: 120px;
  left: 50%;
    margin-left: 90px;
}
@media (min-width: 768px) {
  .value-diagram{
  margin: 100px auto 0;
  }
.diagram-top{
    width: 636px;
  font-size: 30px;
  height: 100px;
}
.arrow-up{
  width: 123px;
  margin: 10px auto;
}
.diagram-center{
  padding: 25px;
   width: 300px;
  margin: 0 auto 20px;
}
.diagram-box {
  padding: 30px 20px;
  width: 260px;
}
.diagram-center,
.diagram-box {
  padding: 25px 15px;
  width: 260px;
  font-size: 20px;
}
.diagram-bottom {
  gap: 60px;
  margin-top: 20px;
}
.diagram-center .arrow-down, 
.diagram-box .arrow-icon {
  margin-top: 15px;
  width: 42px;
}
.arrow-diagonal {
  width: 80px;
}
.arrow-horizontal {
  width: 175px;
}
.arrow-diagonal.left {
   right: 50%;
    margin-right: 150px;
  top: 240px;
}
.arrow-diagonal.right {
  top: 240px;
   left: 50%;
    margin-left: 150px;
}
}
/* values-boxes */
.value-boxes{
   display: flex;
   flex-direction: column;
   border: 1px solid var(--gray200);
   border-radius: 12px;
   margin: 30px auto;
   gap: 0;
   scroll-margin-top: 80px;
}
#value-boxes-02 .value-box{
  flex-direction: column-reverse;
}
.value-boxes h3{
   padding: 10px;
   font-size: 18px;
   background-color: var(--blue000);
   color: var(--blue400);
   border-bottom: 1px solid var(--gray200);
   border-radius: 12px 12px 0 0;
}
.value-box{
   display: flex;
   flex-direction: column;
   gap: 20px;
   margin: 20px;
}
.value-box a{
   cursor: pointer;
}
.value-img {
    width: 100%;
    margin-right: 20px;
   position: relative;
}
.value-img img{
    width: 100%;
}
.value-text {
    width: 100%;
}
.value-box .btn-link{
   max-width: 398px;
   margin: 15px auto;
   width: 100%;
}
.value-box .btn-link img{
   margin-right: 10px;
}
.value-box-point{
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 89px;
  height: 89px;
  background: var(--MS_blue_light);
  color: var(--white);
  border-radius: 50%;
  position: absolute;
  right: 0;
  top: -5px;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: -0.7px;
  z-index: 2;
}
@media (min-width: 768px) {
.value-boxes h3{
   font-size: 24px;
}
.value-box{
   flex-direction: row;
   align-items: center;
   line-height: 1.8;
   gap: 40px;
   justify-content: space-evenly;
}
#value-boxes-02 .value-box{
   flex-direction: row-reverse;
}
.value-img {
    width: 40%;
    max-width: 438px;
}
.value-text {
    width: calc(60% - 20px);
}
.value-box .btn-link{
   margin-left: 0;
}
.value-box-point{
  top: auto;
  bottom: 3px;
  right: 3px;
}
}
/* ===========================
   worklife
=========================== */
.life-support {

}
.support-group {
  margin-bottom: 25px;
}
.support-group h3 {
  font-size: 22px;
  font-weight: 600;
  color: var(--MS_blue_light);
  margin-bottom: 10px;
}
.support-group ul {
  display: flex;
  flex-direction: column;
  gap: 10px;
      margin-top: 10px;
}
.support-group li {
  background: var(--white);
  border: 1px solid var(--gray200);
  border-radius: 12px;
  padding: 10px 15px;
  font-size: 16px;
  font-weight: 600;
}
@media (min-width: 1024px) {
  .support-group ul {
    gap: 15px 20px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
  }
  .support-group li {
    min-width: 200px;
  }
}

/* ===========================
   flow
=========================== */
/* flow-diagram */
.recruit-flow {
  margin: auto;
}
.flow-path {
  display: flex;
  flex-direction: row;
  gap: 1.5rem;
  text-align: center;
  justify-content: center;
}
.flow-type {
  position: relative;
  width: 48%;
}
.flow-type-label {
  background-image: linear-gradient(180deg, #0376C9, #4EB5FF);
  color: #fff;
  font-weight: bold;
  border-radius: 50%;
  width: 96px;
  height: 96px;
  margin: 0 auto 0.5rem;
  font-size: 16px;
  line-height: 1.3;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.flow-type-label span{
  font-size: 24px;
  display: block;
}
.flow-type-label.label2 {
  font-size: 15px;
}
.flow-type-label.label2 span{
  font-size: 18px;
}
.flow-days {
  font-weight: bold;
  font-size: 1rem;
  padding: 20px;
  color: var(--MS_blue_dark);
  line-height: 1.3;
  background: var(--blue100);
  padding: 1rem;
  border-radius: 12px 12px 0 0;
  border-top: 1px solid #ABABAB;
  border-right: 1px solid #ABABAB;
  border-left: 1px solid #ABABAB;
}
.flow-days span {
  font-size: 22px;
  color: var(--MS_blue_light);
}
.flow-name {
  font-weight: bold;
  background-color: #F5F5F5;
  padding: 1rem;
  border-radius: 0 0 12px 12px;
  position: relative;
  border-bottom: 1px solid #ABABAB;
  border-right: 1px solid #ABABAB;
  border-left: 1px solid #ABABAB;
}
.flow-name::after{
  content: '';
  background: url(../images/icon_dot_down.svg) no-repeat center;
  background-size: contain;
  width: 8px;
  height: 32px;
  position: absolute;
  left: 50%;
  margin-left: -4px;
  bottom: -2.2em;
}
.flow-entry {
  text-align: center;
  margin: 2.5rem 0 1.5em;
  font-weight: 600;
  background-color: #F5F5F5;
  border-radius: 12px;
  padding: 20px;
  border: 1px solid #ABABAB;
}
.flow-entry .entry-link {
  font-weight: bold;
  display: inline-block;
  margin: 0.5rem 0;
  font-size: 14px;
  position: relative;
}
.flow-entry .entry-link a{
  color: var(--MS_blue);
  text-decoration: underline;
}
.flow-steps {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  font-weight: bold;
}
.step {
  width: 50%;
  position: relative;
}
.step p{
  background: #F5F5F5;
  padding: 20px 10px;
  border-radius: 12px;
  text-align: center;
  margin-bottom: 1.5rem;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #ABABAB;
}
.step p:first-child:before{
  content: '';
  display: inline-block;
  vertical-align: middle;
  color: var(--MS_blue_light);
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 10px 20px;
  border-top-color: currentColor;
  border-bottom: 0;
  position: absolute;
  left: 50%;
  margin-left: -20px;
  top: -1em;
}
.step p::after{
  content: '';
  display: inline-block;
  vertical-align: middle;
  color: var(--MS_blue_light);
  line-height: 1;
  width: 0;
  height: 0;
  border-style: solid;
  border-color: transparent;
  border-width: 10px 20px;
  border-top-color: currentColor;
  border-bottom: 0;
  position: absolute;
  left: 50%;
  margin-left: -20px;
  bottom: -1em;
}
.flow-result {
  background: #fffce7;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  padding: 1rem;
  border-radius: 10px;
  margin-bottom: 1rem;
  border: 3px solid #EAB728;
}
.flow-note {
  font-size: 0.85rem;
  color: #666;
}
@media (min-width: 900px) {
  .flow-diagram {
    display: flex;
    flex-direction: row;
  }
  .flow-path {
    flex-direction: column;
    justify-content: space-between;
  }
  .flow-days{
    display: flex;
    height: 160px;
    width: 144px;
    flex-direction: column;
    justify-content: center;
    border-radius: 12px 0 0 12px;
    border-bottom: 1px solid #ABABAB;
    border-right: none;
  }
  .flow-name{
    display: flex;
    height: 160px;
    width: 144px;
    flex-direction: column;
    justify-content: center;
    border-radius: 0 12px 12px 0;
    border-top: 1px solid #ABABAB;
    border-left: none;
  }
  .flow-name::after{
    right: 0;
    left: auto;
    top: 50%;
    transform: rotate(-90deg);
    margin-right: -25px;
  }
  .flow-steps {
    flex-direction: column;
    justify-content: space-between;
  }
  .step,
  .flow-type {
    width: 288px;
    max-width: 100%;
    display: flex;
    align-items: stretch;
    justify-content: flex-end;
  }
  .step{
    width: auto;
  }
  .flow-type {
    width: 340px;
  }
  .flow-type-label{
    position: absolute;
    top: -20px;
    left: 0;
  }
  .flow-entry {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 1.5em 0 2.5em;
  }
  .step p{
    width: 180px;
    max-width: 100%;
    margin: 0 1.5em 0 0;
  }
  .step p:first-child:before{
    left: 0;
    top: 50%;
    transform: rotate(-90deg);
    margin-left: -30px;
  }
  .step p::after{
    right: 0;
    left: auto;
    top: 50%;
    transform: rotate(-90deg);
    margin-right: -30px;
  }
  .flow-result {
    width: 180px;
    max-width: 100%;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  .flow-note {
    text-align: right;
    margin-top: 20px;
  }
}

/* schedule */
.schedule {
  max-width: 1100px;
  margin: 0 auto;
  text-align: center;
}
.schedule h2{
   color: var(--gray600);
   font-size: 16px;
    margin-top: 30px;
}
.schedule iframe {
    max-width: 100%;
}
.schedule table {
  width: 100%;
  border-collapse: collapse;
  font-size: 15px;
  margin-top: 30px;
  background: var(--white);
}
.schedule thead th {
  background-color: var(--MS_blue);
  color: var(--white);
  font-size: 18px;
  font-weight: bold;
  text-align: center;
  padding: 12px;
}
.schedule tbody td {
  border: 1px solid #ddd;
  padding: 12px;
  text-align: center;
  color: #333;
}
/* flow-contact */
.flow-contact{
   margin-top: 30px;
}
.contact-box{
   display: flex;
   flex-direction: column;
   align-items: center;
   border: 1px solid var(--MS_blue);
   border-radius: 12px;
   color: var(--MS_blue);
   background-color: var(--blue000);
   font-weight: 600;
   padding: 10px;
   margin-top: 20px;
}
.contact-box span{
   font-size: 20px;
}
@media (min-width: 768px) {
  .schedule{
    position: relative;
  }
  .schedule::before{
    content: '';
    background: url('../images/icon_round.svg') no-repeat center center/cover;
    width: 974px;
    height: 974px;
    border-radius: 50%;
    opacity: .07;
    top: 600px;
    right: 70%;
    display: block;
    position: absolute;
    z-index: -1;
  }
  .schedule tbody td:nth-child(1),
  .schedule tbody td:nth-child(2) {
    width: 65px;
  }
  .schedule tbody td:nth-child(3) {
    width: 170px;
  }
   .contact-box{
      padding: 20px;
      font-size: 18px;
   }
   .contact-box span{
      font-size: 24px;
   }
}
/* ===========================
   Recruitment
=========================== */
.recruitment{
  margin: 0 -20px;
}
.recruit-box .recruit-title {
  font-weight: bold;
  border-top: 4px solid var(--MS_blue);
  padding: 15px 20px;
}
.recruit-box .recruit-text{
  border-top: 1px solid #ccc;
  font-size: 14px;
  margin: 0;
  padding: 15px 20px;
}
.recruit-box p {
  margin-bottom: 1rem;
}
.recruit-box:last-child {
  border-bottom: 1px solid #ddd;
}
/* session */
.session {
  padding: 40px 0 0;
}
.session-title {
  font-size: 18px;
  font-weight: bold;
  color: #0070c0;
  margin-bottom: 15px;
}
.session p{
  margin-bottom: 1rem;
  font-size: 15px;
  color: var(--gray800);
}
.session .bold{
  font-size: 18px;
}
.session .entry-box {
  display: block;
  text-align: center;
  background-image: linear-gradient(180deg, #39C4E3, #0166AE);
  color: #fff;
  padding: 15px;
  margin-top: 20px;
  text-decoration: none;
  font-weight: bold;
  transition: opacity 0.3s;
   min-height: 140px;
   display: flex;
   align-items: center;
    justify-content: center;
    gap: 10px;
  margin: 0 -20px;
}
.session .entry-box p {
   color: var(--white);
   margin: 0;
}
@media (min-width: 768px) {
  .recruit-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
  }
  .recruit-title {
    margin: 0;
  border-top: 2px solid #0070c0;
   padding: 15px 0;
  }
  .recruit-box .recruit-text {
    font-size: 15px;
   padding: 15px 20px;
  }
   /* session */
   .session{
      padding-top: 0;
   }
  .session .entry-box {
    flex-direction: column;
    margin: 30px auto 0;
    min-height: 180px;
  }
  .session .entry-box p{
    font-size: 20px;
  }
   .session p{
   font-size: 16px;
   }
   .session .bold{
   font-size: 20px;
   }
}
/* ===========================
   Referral
=========================== */
.referral .flow {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
.referral .flow-item {
  background: #f5f5f5;
  padding: 15px 25px;
  border-radius: 6px;
  font-weight: bold;
  text-align: center;
   width: 100%;
    border-radius: 12px;
    text-align: left;
}
.referral .arrow{
  margin: 8px 0;
}
@media (min-width: 768px) {
  .referral .flow {
    flex-direction: row;
    justify-content: center;
  }
  .referral .flow-item{
   height: 96px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 15px;
  }
.referral .arrow{
    margin: 0 15px;
}
.referral .arrow .pc{
  max-width: 64px;
}
.referral .entry-buttons {
   flex-direction: row;
}
.referral .entry-buttons .btn-blue{
   width: 100%;
}
}

/* ===========================
   News
=========================== */
.news{
  border-bottom: 1px solid #ccc;
}
.news a{
  color: var(--MS_blue);
  text-decoration: underline;
}
.news a:hover{
  color: var(--MS_blue_dark);
}
.news-box{
  border-top: 1px solid #ccc;
  font-size: 15px;
  margin: 0;
  padding: 0;
}
.news-box .news-title {
  font-weight: bold;
  font-size: 20px;
  padding: 20px 0;
  color: var(--MS_blue_dark);
}
.news-box .news-text{
  font-size: 15px;
  margin: 0;
  padding: 0 0 20px;
}
.news-box .news-text h3{
  font-size: 18px;
  margin-bottom: 20px;
}
.news-box p {
  margin-bottom: 1rem;
}
@media (min-width: 768px) {
  .news-box {
    display: grid;
    grid-template-columns: 200px 1fr;
    align-items: start;
    padding: 15px 0;
  }
   .news-box .news-title {
   padding: 15px 20px;
      margin: 0;
   }
  .news-box .news-text {
    font-size: 15px;
   padding: 18px 0 0 20px;
  }
   .news-box .news-text h3{
   font-size: 19px;
   }
}
/* ===========================
   sitemap
=========================== */
.sitemap ul {
  margin: 0;
  padding: 0;
  font-size: 18px;
}
.sitemap > ul > li {
  border-bottom: 1px solid #ccc;
  padding: 12px 0;
}
.sitemap a,
.sitemap span {
  color: #0070c0;
  font-weight: bold;
  text-decoration: none;
  display: flex;
  align-items: center;
  font-size: 15px;
  position: relative;
}
.sitemap a img {
  margin-right: 10px;
}
.sitemap .has-sub {
  border-bottom: none;
  padding: 10px 0;
}
.sitemap .has-sub span {
  display: block;
  margin-bottom: 8px;
  padding-bottom: 10px;
  border-bottom: 1px solid #ccc;
}
.sitemap .sub-menu {
  margin: 0 0 10px 20px;
  padding: 0;
}
.sitemap .sub-menu li {
  padding: 4px 0;
   list-style: disc;
}
.sitemap .sub-menu a {
  font-weight: normal;
  color: var(--gray800);
  text-decoration: underline;
}
.sitemap .title-sub{
   font-size: 18px;
}
@media (min-width: 768px) {
  .sitemap ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px 40px;
    margin-top: 20px;
  }
  .sitemap > ul > li {
    padding: 8px 0;
    flex: 0 0 calc(50% - 30px); /* 2カラム化 */
  }
  .sitemap .sub-menu {
    margin-left: 20px;
   display: flex;
   flex-direction: column;
   gap: 0;
   margin-top: 20px;
  }
  .sitemap a, .sitemap span,
  .sitemap .title-sub{
   font-size: 22px;
  }
  .sitemap .sub-menu a{
   font-size: 18px;
  }
  .sitemap ul.sitemap-3clm {
    grid-template-columns: 1fr 1fr;
  }
}
@media (min-width: 1200px) {
  .sitemap ul.sitemap-3clm {
    grid-template-columns: 1fr 1fr 1fr;
  }
}
