@charset "utf-8";

/* ==========================================================================
   Global
========================================================================== */
html{
    -webkit-text-size-adjust:100%; 
    font-size: 62.5%;
    height: 100%;
    overflow-x: hidden;
}

body {
    font-size: normal;   
    color: #777;
    background: #ffffff;
    font-weight:400; 
    font-family: 'M PLUS Rounded 1c', "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif, "Lucida Grande";
    font-family:"Montserrat", "Yu Gothic Medium", "游ゴシック Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    line-height: 1.6;
    letter-spacing: .05em;
    height: 100%;

     margin: 0;
  background: url("../img/body_bg_03.png") center / cover no-repeat fixed;
  overflow-x: hidden;
}

#wrapper {
  width: 100%;
  /* height: 100vh; */
}
a{color:#546648; text-decoration:none;}
a:hover{color: #999999;}
img {
  max-width: 100%;
  height: auto;
}
br.sp {
  display: none;
}

/* ==========================================================================
   Header
========================================================================== */
header {
    width:60%;
    margin: 0 auto; 
    padding-top: 80px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    z-index: 1;
}
.site-logo {
  max-width: 100%;
}
header::before{
    display: block;
    content: "";
    width: 830px;
    height: 155px;
    background-image: url(../img/index_bgtxt_01.png);
    background-size: cover;
    position: absolute;
    top: 60px;
    left: -190px;
    z-index: 0;
}

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

  header {
    width:80%;
}
header::before{
    display: block;
    content: "";
    width: 130%;
    height: 60px;
    background-image: url(../img/index_bgtxt_01.png);
    background-size: contain;
    position: absolute;
    top: 60px;
    left: -50px;
    z-index: 0;
}
}

/* ==========================================================================
   main
========================================================================== */
main{
    width: 80%;
    margin: 0 auto;
}

.announce h3 {
    width: 100%;
    margin-top: 40px;
    font-size: 4rem;
    font-weight: 500;
    color: #d7e6cb;
    text-align: left;
}

.announce p {
    font-size: 1.8rem;
    text-align: left;
    line-height: 1.5em;
}

.group-company{
    margin-top: 100px;
}
.company {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 50px;
    margin: 90px 0 auto;
}
.career-college .img_wrap {
    order: 2;
    width: 100%;
    max-width: 350px;
}
.saryut .img_wrap {
    width: 100%;
    max-width: 395px;
}
.wounderfriends .img_wrap {
    order: 2;
    width: 100%;
    max-width: 390px;
}
.company .img_wrap img{
  border-radius: 20px;
}
.career-college .logo{
  width: 100%;
  max-width: 320px;
}
.saryut .logo{
  width: 250px;
}
.wounderfriends .logo{
  width: 100%;
  max-width: 320px;
}
.career-college h4{
  font-size: 1.9rem;
  margin-top: 20px;
}
.saryut h4{
  font-size: 1.9rem;
  margin-top: 8px;
}
.wounderfriends h4{
  font-size: 1.9rem;
  margin-top: 20px;
}
.company p{
  font-size: 1.6rem;
  margin-top: 20px;
}

.about_btn_wrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

a.about_btn {
    width: 60%;
    max-width: 350px;
    height: 40px;
    font-size: 1.6rem;
    font-weight: 500;
    color: #ffffff;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    position: relative;
    background: #89e196;
    padding: 0 15px 0 20px;
    border-radius: 20px;
    white-space: nowrap;
    transform: rotate(0.05deg);
    -webkit-transition: all .3s;
    transition: all .3s;
    transform: scale(1) rotate(0.05deg);
    transition:
    transform .25s ease,
    background-color .25s ease,
    box-shadow .25s ease;
}
a.about_btn:hover {
  transform: scale(1.06) rotate(0.05deg);
  background-color: #6fd88a; /* 少し濃く */
  box-shadow: 0 8px 18px rgba(0,0,0,0.15);
}

.wounderfriends{
  position: relative;
  z-index: 1;
}
.wounderfriends::before {
    display: block;
    content: "";
    width: 1006px;
    height: 155px;
    background-image: url(../img/index_bgtxt_02.png);
    background-size: cover;
    position: absolute;
    bottom: 100px;
    right: -100px;
    z-index: 0;
}
@media screen and (max-width: 900px) {
.company .text_wrap {
  width: 80%;
}
a.about_btn {
    width: 90%;
}

}

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

  .company {
    flex-direction: column;
  }
  .saryut .img_wrap {
    order: 2;
}
.company .text_wrap {
  width: 100%;
}
.career-college .img_wrap {
    margin: 0 auto;  
    max-width: 480px;
  }
.saryut .img_wrap {
     margin: 0 auto;  
    max-width: 480px;
}
.wounderfriends .img_wrap {
    margin: 0 auto;  
    max-width: 480px;
}
}

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

  .company {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: 30px;
    margin: 80px 0 auto;
}

.announce h3 {
    width: 100%;
    margin-top: 40px;
    font-size: 3rem;
    font-weight: 500;
    color: #d7e6cb;
    text-align: left;
}
.group-company{
    margin-top: 80px;
}

  br.sp {
    display: inline;
  }
.career-college .img_wrap {
    margin: 0 auto;  
  }

  .wounderfriends::before {
    display: block;
    content: "";
    width: 100%;
    height: 120px;
    background-image: url(../img/index_bgtxt_02.png);
    background-size: contain;
    position: absolute;
    bottom: -120px;
    right: -80px;
    z-index: 0;
}
}
/* ==========================================================================
   footer
========================================================================== */

footer {
  border-top: 1px solid #ccc;
  padding: 10px ;
  margin-top: 120px;
  position: relative;
  z-index: 1;
}
footer .inner{
  width: 80%;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center; 
  position: relative;
  /* z-index: 1;  */
}
.footer-logo {
  width: 300px;

}
footer p {

}
/* footer::before {
    display: block;
    content: "";
    width: 1006px;
    height: 155px;
    background-image: url(../img/index_bgtxt_02.png);
    background-size: cover;
    position: absolute;
    bottom: 100px;
    right: -120px;
    z-index: 0;
} */

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

  footer ul {
    justify-content: center;
  }
  footer p {
    text-align: center;
  }
}