/* =========================================================
   HINA Lab
   Base
========================================================= */

.hinalab {
  width: 100%;
  margin-top: 80px;
  overflow: hidden;
  background-color: #eee;
}

.hinalab img {
  max-width: 100%;
  height: auto;
  vertical-align: bottom;
}

.hinalab p,
.hinalab h2,
.hinalab h3 {
  margin-top: 0;
}

.hinalab h2 {
  font-size: 36px;
  text-align: center;
}

.hinalab h3 {
  font-size: 26px;
  font-weight: bold;
  text-align: center;
}


/* =========================================================
   Common Section
========================================================= */

.hinalab-section {
  box-sizing: border-box;
}

.hinalab-about {
  padding: 0 15%;
  margin-top: 70px;
}

.hinalab-benefit {
  padding: 0 15% 110px;
  margin-top: 80px;
  background-color: #29abe2;
}

.hinalab-projects {
  padding: 0 15%;
  margin-top: 70px;
}

.hinalab-cta {
  padding: 25px 15% 60px;
  background-color: #29abe2;
}


/* =========================================================
   Section Title
========================================================= */

.section-title p {
  width: 100%;
  margin: 0 auto 15px;
}

.section-title__sub--about {
  max-width: 120px;
}

.section-title__main--about {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 35px;
}

.section-title__sub--benefit {
  max-width: 150px;
}

.section-title__main--benefit {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 20px;
}

.section-title__sub--project {
  max-width: 150px;
}

.section-title__main--project {
  width: 100%;
  max-width: 500px;
  margin: 0 auto 35px;
}


/* =========================================================
   About
========================================================= */

.about-message {
  padding: 4% 3% 3% 5%;
  margin-bottom: 50px;
  border-radius: 10px;
  background-color: #29abe2;
}

.about-message p {
  color: #fff;
  font-size: 18px;
  letter-spacing: 0.08em;
}

.about-flow p {
  margin: 0 auto 20px;
  text-align: center;
}

.about-flow img {
  width: 85%;
}

.about-flow__note {
  font-size: 22px;
  text-align: center;
}


/* =========================================================
   CTA
========================================================= */

.cta p {
  width: 100%;
  max-width: 800px;
  margin: 30px auto 0;
}

.hinalab-benefit .cta p {
  margin-top: 0;
}

.hinalab-cta .cta-message {
  max-width: 500px;
  padding-top: 10px;
}


/* =========================================================
   Benefit
========================================================= */

.section-title--benefit {
  position: relative;
  padding-top: 80px;
}

.benefit-bubble {
  position: absolute;
  top: 36px;
  left: 105px;
  width: 100%;
  max-width: 170px;
}

.benefit-message {
  margin: 40px auto;
  color: #fff;
  font-size: 18px;
  line-height: 2.4;
  text-align: center;
}

.benefit-image {
  margin: 0 auto;
  text-align: center;
}

.benefit-image img {
  width: 100%;
}


/* =========================================================
   Skills
========================================================= */

.skills {
  margin-top: 80px;
  margin-bottom: 60px;
}

.under-heading {
  position: relative;
  padding: 0.5rem 0 2rem;
  margin-bottom: 0.5rem !important;
  font-size: 26px !important;
  font-weight: bold;
  text-align: center;
}

.under-heading::before {
  position: absolute;
  top: 100%;
  left: 50%;
  width: 25px;
  border-bottom: 4px solid #000;
  content: "";
  transform: translateX(-50%);
}

.skills-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  width: 100%;
  margin-top: 30px;
}

.skills-list p {
  width: 40%;
  margin: 12px 10px;
}

.skills-etc {
  margin-right: 80px;
  font-size: 22px;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-align: right;
}


/* =========================================================
   Projects
========================================================= */

.project {
  margin-bottom: 120px;
}


/* ---------- Project Heading ---------- */

.project-heading {
  position: relative;
  padding: 11px 0 16px;
  margin-bottom: 45px;
  border-radius: 70px;
  text-align: center;
}

.project-heading--blue {
  background-color: #29abe2;
}

.project-heading--pink {
  background-color: #ff7bac;
}

.project-heading__theme {
  margin-bottom: 3px !important;
  text-align: center;
}

.project-heading h3 {
  margin-bottom: 0;
}


/* ---------- Theme Number ---------- */

.project-heading__number {
  position: absolute;
  top: 0;
  left: 0;
  width: 90px;
  height: 90px;
  box-sizing: border-box;
  padding-top: 33px;
  border: 2px solid #000;
  border-radius: 50%;
  background-color: #eee;
  text-align: center;
}


/* ---------- Lead ---------- */

.project-lead {
  margin-bottom: 35px;
  font-size: 22px;
  font-weight: bold;
  text-align: center;
}


/* ---------- Project Content ---------- */

.project-content {
  display: flex;
  margin-bottom: 25px;
}

.project-image {
  flex: 1;
  margin-right: 25px;
}

.project-text {
  flex: 2;
}

.project-text p + p {
  margin-top: 20px;
}


/* =========================================================
   Activity
========================================================= */

.activity-list {
  display: flex;
  /*flex-wrap: wrap;*/
  justify-content: center;
  margin-top: 25px;
}

.activity-list p {
  padding: 6px 12px;
  margin: 0 10px;
  border-radius: 5px;
  font-size: 18px;
  font-weight: bold;
  text-align: center;
}

.activity-list--blue p {
  background-color: #29abe2;
}

.activity-list--pink p {
  background-color: #ff7bac;
}


/* =========================================================
   Project Company
========================================================= */

.project-company {
  width: 100%;
  box-sizing: border-box;
  padding: 15px 0 1px;
  margin: 30px auto 0;
  background-color: #ccc;
  text-align: center;
}

.project-company p {
  font-size: 18px;
  font-weight: bold;
}


/* =========================================================
   Project Example
========================================================= */

.project-example {
  padding: 5px 10px 10px 15px;
  background-color: #fff;
}

.project-example ul {
  margin: 0;
  padding-left: 20px;
}

.project-example li {
  line-height: 2;
}


/* =========================================================
   Video
========================================================= */

.video {
  position: relative;
  width: 100%;
  margin: 60px 0 40px;
  padding-top: 56.25%;
}

.video iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}


/* =========================================================
   footer手前の隙間
========================================================= */
.l-pagetop{
  margin:-40px 0 auto;
}


/* =========================================================
   1032px
========================================================= */

@media screen and (max-width: 1032px) {

  .hinalab-about,
  .hinalab-projects {
    padding-right: 10% !important;
    padding-left: 10% !important;
  }

  .hinalab-benefit {
    padding-right: 10% !important;
    padding-left: 10% !important;
    padding-bottom: 110px !important;
  }

  .benefit-bubble {
    top: 27px !important;
    left: 175px !important;
  }

}


/* =========================================================
   768px
========================================================= */

@media screen and (max-width: 768px) {

  .benefit-bubble {
    left: 85px !important;
    max-width: 145px !important;
  }

  .project-content {
    gap: 20px;
  }

  .project-image {
    margin-right: 0;
  }

}


/* =========================================================
   480px
========================================================= */

@media screen and (max-width: 480px) {

  /* ---------- Section ---------- */

  .hinalab-about {
    padding: 0 5% !important;
    margin-top: 30px !important;
  }

  .hinalab-benefit {
    padding: 0 5% 45px !important;
  }


  /* ---------- Title ---------- */

  .section-title p {
    margin-bottom: 10px !important;
  }

  .section-title__sub--about {
    max-width: 95px !important;
  }

  .section-title__main--about {
    width: 80% !important;
    margin-bottom: 18px !important;
  }

  .section-title--benefit {
    padding-top: 55px !important;
  }

  .benefit-bubble {
    left: -3px !important;
    max-width: 108px !important;
  }

  .section-title__sub--benefit {
    max-width: 112px !important;
  }

  .section-title__main--benefit {
    width: 80% !important;
    margin-bottom: 10px !important;
  }


  /* ---------- About ---------- */

  .about-message {
    margin-bottom: 30px !important;
  }

  .about-message p {
    font-size: 14px !important;
  }

  .about-flow img {
    width: 100% !important;
  }

  .about-flow__note {
    font-size: 15px !important;
  }


  /* ---------- Benefit ---------- */

  .benefit-message {
    margin: 0 auto 15px !important;
    font-size: 13px !important;
  }

  .under-heading {
    font-size: 18px !important;
  }

  .under-heading::before {
    top: 90% !important;
    width: 20px !important;
    border-bottom-width: 3px;
  }

  .skills {
    margin-top: 45px !important;
    margin-bottom: 30px;
  }

  .skills-list {
    margin-top: 16px !important;
  }

  .skills-list p {
    width: 65% !important;
    margin: 6px 10px;
  }


  /* ---------- Project ---------- */
  .project {
    margin-bottom: 80px;
 }
  .hinalab-projects{
    padding-right: 5% !important;
    padding-left: 5% !important;
    margin-top: 45px;
  }
  .section-title__sub--project {
    max-width: 120px;
  }
  .section-title__main--project {
    width: 80%;
  }
  .project-content {
    display: block;
  }
  
  .project-image {
    margin: 0 0 25px;
  }

  .project-heading {
    padding: 7px 20px 12px;
    margin-bottom: 25px;
  }

  .project-heading__number {
    width: 70px;
    height: 70px;
    padding-top: 25px;
    font-size: 12px;
  }

  .project-heading h3 {
    font-size: 20px;
  }

  .project-heading__theme {
    font-size: 13px;
  }

  .project-lead {
    font-size: 17px;
    margin-bottom: 25px;
  }

  .project-text {
    font-size: 14px;
    line-height: 1.8;
  }

  .activity-list {
    gap: 10px;
    display: block;
  }

  .activity-list p {
    box-sizing: border-box;
    /*width: calc(50% - 5px);*/
    margin: 15px;
    font-size: 16px;
  }

  .project-company {
    font-size: 13px;
    padding: 15px 3% 1px;
  }
  /* ---------- CTA ---------- */
  .cta p {
    width: 82%;
  }

}
