@charset "UTF-8";

body,h1,h2,h3,h4,h5,h6,p{
    margin: 0;
    padding: 0;
}
html{
    font-size: 10px;
    -webkit-text-size-adjust: 100%;
}
body{
    font-family: sans-serif;
}

a:hover{
    opacity: 60%;
}
a{
    text-decoration: none;
    color: #f3f3f3;
}
img{
    max-width: 100%;
    height: auto;
    display: block;
}
/*flex-box*/
.flex-box{
display: flex;
}
.flex-wr{
    flex-wrap: wrap;
}
/*justify-content*/
.jsct-c{
justify-content: center;
}
.jsct-sb{
    justify-content: space-between;
}
/*align-items*/
.ai-c{
align-items: center;
}

/*header*/

header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100px;
  background-color: #fafafa;
  padding: 0 4%;
  position: relative;
  z-index: 1000;
}

header h1 img {
  width: 100%;
  height: auto;
  margin: 0 auto;
}

header h1 {
  display: flex;
  align-items: center;
  justify-content: center;
}

.navi ul {
  display: flex;
  margin: 0;
  padding: 0;
}

.navi li {
  list-style: none;
  font-size: 2rem;
  margin-left: 3vw;
  white-space: nowrap;
}

.navi a {
  color: #000;
}

a.nav_contact {
  font-size: 2rem;
  padding: 4% 8%;
  background-color: #1A0479;
  color: #fafafa;
}

/* スライドメニュー初期状態 */
.navi {
  transition: right 0.3s ease;
}

.overlay {
  display: none;
}
/* まずは常に非表示にしておく */
.hamburger {
  display: none;
  font-size: 2.5rem;
  background: none;
  border: none;
  cursor: pointer;
}




/*header-end*/

.mv {
    width: 100%;
    height: calc(100svh - 100px);
    background-image: url('img/mv_back.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.mv h2 {
    position: absolute;
    bottom: 3vw;
    left: 6vw;
    color: #fafafa;
    font-size: 6rem;
    line-height:1.6;
}

.mv h2 span{
    background-color: #1A0479;
    margin: 0;
    padding: 0;
    padding-left: 1vw;
}
.mv_imgbox{
    position: absolute;
    top:8%;
    right: 0;
}
.mv_imgbox img {
  max-width: 100%;
}

.mv_img-01{
    position: absolute;
    top:6vw;
    left: 33vw;
}
.mv_img-02{
    position: absolute;
    top:8vw;
    left: 49vw;
}
.mv_img-03{
    position: absolute;
    top:6vw;
    left: 66vw;
}
.mv_img-04{
    position: absolute;
    top:13vw;
    left: 83vw;
}


.fadein{
    animation: fadein 4s forwards;
}
@keyframes fadein {
  0% {
    opacity: 0;
  }
  100% {
    opacity: 1;
  }
}
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 30px;
  z-index: 999;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 50px;
  height: 50px;
  font-size: 24px;
  cursor: pointer;
  display: none; /* 初期は非表示 */
  transition: opacity 0.3s ease;
}

/*about*/
.about{
    margin-top: 8vw;
    margin-bottom: 8vw;
}
.inner{
    margin: 0 auto;
    max-width: 1280px;
    padding: 0 20px;
    width: 100%;
    box-sizing: border-box;
}
.about .inner,.intern .inner,.top_banner .inner,.p-p .inner{
    max-width: 1050px;
     background-color: #ffffff;
}
.about h2{
    font-size: 4.5rem;
    letter-spacing: 0.5vw;
    color: #1A0479;
}
.about h3{
    font-size: 2.5rem;
    margin-top: 1.5vw;
    font-weight: 700;
    color: #1A0479;
}
.about p span{
    font-weight: bold;
    color: #1A0479;
}
.about_text{
    max-width: 600px;
    margin-top: 0.5vw;
    font-size: 2rem;
    line-height: 1.8;
    font-weight: 400;
    padding-right: 2vw;
}
.about .flex-box .item,.intern .flex-box .item{
    width: 50%;
}
#particles-js {
  position: fixed;         /* 背景に固定 */
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;             /* 背景に回す */
  pointer-events: none;    /* 背景としてクリック不可にする */
}
.about .inner{
    position: relative;
  z-index: 1;
}

/*assignment*/
.assignment{
    background-color: #F7F8F8;
    padding-top: 5vw;
    padding-bottom: 5vw;
}
.assignment h2{
    text-align: center;
    font-size: 5rem;
}
.assignment_img01{
    margin-top: 5vw;
}
@keyframes shake {
  0% { transform: rotate(0deg); }
  25% { transform: rotate(3deg); }
  50% { transform: rotate(-3deg); }
  75% { transform: rotate(3deg); }
  100% { transform: rotate(0deg); }
}

.assignment_img01,
.assignment_img02 {
  opacity: 0;
  transform: scale(0.8);
  transition: none;
}

.assignment_img01.shake,
.assignment_img02.shake {
  animation: shake 0.6s ease-in-out infinite;
  opacity: 1;
  transform: scale(1);
}

.assignment_img01.stopped,
.assignment_img02.stopped {
  opacity: 1;
  transform: scale(1);
}




.assignment_img01 img{
    margin: 0 auto;
    width: 100%;
    height: auto;
}
.assignment h3{
    text-align: center;
    font-size: 4.5rem;
    margin-top: 5vw;
        color: #1A0479;
}
.assignment h3 span{
background: linear-gradient(transparent 70%, #FFF100 70%);
}

/*intern*/
.intern{
    margin-top: 6vw;
    margin-bottom: 6vw;
}
.intern h2{
    font-size: 4.5rem;
    color: #fff;
}
.intern h2 span{
    background-color: #1A0479;
}
.intern_text{
    font-size: 2rem;
    max-width: 700px;
    line-height: 1.8;
    margin-top: 2vw;
}
.intern_img01 {
  text-align: right;
}
.intern_img01 img {
  display: inline-block;
}


/*merit*/
.merit{
background-color: #DCDDDD;
padding-top: 5vw;
padding-bottom: 5vw;
}
.merit h2{
    text-align: center;
    font-size: 4rem;
     color: #1A0479;
}
.merit h2 span.spv-big{
     font-size: 5.5rem;
     padding: 0px 10px 0 10px;
     color: #1A0479;
}
.merit .flex-box{
    margin-top: 2.5vw;
    padding-left: 2vw;
    padding-right: 2vw;
}
.merit .item{
    width: 270px;
    background-color: #fff;
    margin-bottom: 2.5vw;
    opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}
.merit .item.visible{
opacity: 1;
  transform: translateY(0);

}
.merit .itembox{
    padding: 0px 15px 15px 15px;
    margin-top: 2vw;
}
.number{
    font-size: 3.5rem;
    font-weight: bold;
    color: #fff;
}
.number span{
    background-color: #1A0479;
    padding:0px 16px 0px 16px;
}
.merit h3{
    font-size: 1.8rem;
    font-weight: bold;
    margin-top: 2vw;
     color: #1A0479;
}
.merit_text{
    font-size: 1.4rem;
    margin-top: 0.4vw;
    line-height: 1.6;
    max-width: 240px;
}
.contact_banner{
margin: 0 auto;
margin-top: 5vw;
/*width: 80%;
opacity: 0;
  transform: scale(0.8);
  transition: none;*/
}
/*.contact_banner.active{
    animation: popIn 1s ease-out forwards;
}
@keyframes popIn {
  0% {
    opacity: 0;
    transform: scale(0.8);
  }
  40% {
    opacity: 1;
    transform: scale(1.25);
  }
  100% {
    opacity: 1;
    transform: scale(1);
  }
}
*/

/*flow*/
.flow h2{
    font-size: 4rem;
    text-align: center;
    padding-top: 5vw;
    color: #1A0479;
}
.flow .flex-box{
    margin-top: 2vw;
    flex-wrap: wrap;
    justify-content: center;
}
.flow .inner{
    max-width: 700px;
        background-color: #ffffff;
        padding-bottom: 5vw;
}
.flow .item{
    display: flex;
    width: 100%;
    align-items: center;
    height: 70px;
     box-shadow: 0 0 8px #333 ;
     padding-left: 3vw;
     margin-bottom: 10px;
}
.step{
    font-size: 2.5rem;
    font-weight: bold;
    color: #1A0479;
}
.flow_text{
    font-size: 2rem;
    
}
.flow_text span{
    font-weight: bold;
    margin-left: 50px;
}
.fa img{
    width: 100%;
    margin-bottom: 10px;
}
/*contact*/
.contact{
    padding-top: 3vw;
    padding-bottom: 5vw;
    background-color:#1A0479;
}
.contact h2{
    font-size: 4rem;
    text-align: center;
    color: #f3f3f3;
}
form {
    max-width: 600px;
    margin: auto;
    padding: 20px;
    background: #f9f9f9;
    border-radius: 8px;
    margin-top: 2vw;
}

label {
    display: block;
    margin-top: 10px;
    font-weight: bold;
    font-size: 1.5rem;
}
label span{
    font-size: 1rem;
}

input, textarea {
    width: 100%;
    padding: 8px 0 8px 0;
    margin-top: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
}

button {
    margin-top: 15px;
    padding: 5px 10px 5px 10px;
    background: #1A0479;
    color: white;
    border: none;
    cursor: pointer;
}
.send{
    text-align: center;
}
.f-navi{
    text-align: right;
    margin-top: 5vw;
    margin-bottom: 2vw;
}
.f-navi a{
   color: #000;
}
footer{
    text-align: center;
    font-size: 1.2rem;
    margin-top: 2vw;
    margin-bottom: 1vw;
}
.p-p{
    margin-top: 4vw;
}
.p-p h2{
   font-size: 2.5rem;
   margin-top: 1vw; 
}
.p-p p,.p-p ul li{
    font-size: 1.5rem;
    margin-top: 0.5vw;
}
.pcv {
  display: block;
}

.spv {
  display: none;
}
.sp-br{
    display: none;
}





.ttl-container h1{
    font-size: 4rem;
    text-align: center;
    padding: 5vw 0;
    background-color: #1A0479;
    color: #f3f3f3;
}
.pf-greeting .inner,.pf-overview .inner{
    max-width: 900px;
}
.pf-overview ul{
    display: flex;
    flex-wrap: wrap;
    margin-top: 1.5vw;
    margin-bottom: 5vw;
    padding: 0;
}
.pf-overview ul li{
    list-style: none;
    width: 50%;
    text-align: left;
    font-size: 2rem;
    margin-top: 2vw;
      padding: 1vw 0;
  border-bottom: 1px solid #ccc; /* 各行の下に線 */

}
.pf-overview ul li .map{
    margin-top: 2vw;
}

.pf-overview h2,.pf-greeting h2{
    font-size: 3rem;
    margin-top: 5vw;
    color:#1A0479;
    display: flex;
    align-items: center;
}
.pf-overview h2 span,.pf-greeting h2 span{
    font-size: 1.8rem;
    margin-left: 1vw; 
    color: #b3b3b3;
    letter-spacing: 0.05em;
}
.pf-greeting p{
    font-size: 2rem;
    margin-top: 1.5vw;
    line-height: 2;
}
.map {
  position: relative;
  width: 100%;
  max-width: 600px;       /* 最大幅（任意） */
  aspect-ratio: 4 / 3;    /* 比率を指定（例：4:3） */
  margin: 0 auto;         /* 中央揃え（任意） */
}
.map iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border: 0;
}


@media screen and (min-height: 800px){
.mv_imgbox .pcv img {
  width: auto;
  height: 65vh;
}
}
@media screen and (min-width: 769px)  and (max-width: 1248px) {
    .mv{
        text-align: right;
    }
    .mv_imgbox {
        position: absolute;
        top:20%;
        right: 0;
    }
    .mv .pcv {
        text-align: -webkit-right;
    }
    .mv_imgbox img{
        text-align: right;
    }
    .mv h2{
        text-align: left;
        font-size: 4.5rem;
    }
    .about .flex-wr,
    .intern .flex-wr{
        flex-wrap: nowrap;
    }
    .about .flex-box .item,.intern .flex-box .item{
    width: 100%;
}
    .about .flex-box{
        align-items: center;
    }
    .about h2{
        font-size: 4vw;
    }
    .about h3{
        font-size: 2.5vw;
        margin-top: 1vw;
    }
    .about_text{
        font-size: 2rem;
        max-width: 495px;
        margin-right: 2vw;
    }
    .assignment h2{
        font-size: 3.5vw;
    }
    .assignment h3{
    font-size: 3vw;
    }
    .intern h2{
        font-size: 4vw;
    }
    .intern_text{
        font-size: 2vw;
        max-width: 495px;
        margin-right: 2vw;
    }
    .merit .flex-box{
        margin-top: 5vw;
        
        /*
        justify-content: flex-start;
        justify-content: space-around;
        gap:10px;
        flex: 1 1 1210px; /* 最小幅300pxで折り返し開始 */
        /*display: grid;
        grid-template-columns: repeat(2, 1fr); /* 常に2列 */
    }
    .merit h2{
        font-size: 3.5vw;
    }
    .merit h2 span.spv-big{
        font-size: 4.5vw;
    }
    .flow_text{
        font-size: 1.8vw;
    }
    .step{
        font-size: 2.3vw;
    }
    
   
}

@media screen and (max-width: 883px){
    .merit .flex-box{
        justify-content: space-around;flex: 0 0 50%;

    }
} 
/* --------------------------------------------
タブレット対応
--------------------------------------------*/
/* タブレット以下でのスタイル */
@media (max-width: 768px) {
  .hamburger {
    display: block;
    color: #000;
  }

  .navi {
    position: fixed;
    top: 0;
    right: -100%;
    width: 30%;
    height: 100vh;
    background-color: #fafafa;
    flex-direction: column;
    justify-content: center;
    padding: 2rem;
    box-shadow: -2px 0 5px rgba(0,0,0,0.2);
    z-index: 999;
  }
.navi .spv{
    font-size: 3vw;
}
  .navi ul {
    flex-direction: column;
  }

  .navi li {
    margin: 2rem 0;
  }

  .navi.open {
    right: 0;
  }

  .overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.4);
    z-index: 998;
  }
    .about .flex-box .item,.intern .flex-box .item{
    width: 100%;
}
.about_text{
    padding-right: 0;
}
#scrollTopBtn {
  position: fixed;
  bottom: 30px;
  right: 1vw;
  z-index: 999;
  background-color: #333;
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 10vw;
  height: 10vw;
  font-size: 2rem;
}

.ttl-container h1{
    font-size: 3rem;
}
}

@media screen and (min-width: 481px) and (max-width: 768px)  {
    .inner{
        max-width: 728px;
    }
   .pcv {
    display: none;
  }

  .spv {
    display: block;
  }
  .tb-br{
    display: inline;
}
    .mv h2{
    bottom: 8vw;
    left: 5vw;
    font-size: 4rem;
}

.mv_imgbox{
    position: absolute;
    top:10%;
    right: 0;
}
.mv_imgbox img {
  max-width: 100%;
  height: auto;
  display: block;
}
.intern_img01.spv img{
    width: 100%;
}
.about .itembox{
flex-wrap: wrap;
}
.about h2{
margin-top: 6vw;
font-size: 4rem;
}
.about .flex-box{
    justify-content: center;
}

.assignment{
    padding-top: 10vw;
    padding-bottom: 10vw;
}
.assignment h2{
font-size: 6.5vw;
}
.assignment_img01{
padding-left: 3vw;
padding-right: 3vw;
margin: 5vw 0;
}
.assignment_img02{
    margin-top: 10vw;
}
.assignment_img02 img{
    margin: 0 auto;
}
.assignment h3{
    font-size: 6.4vw;
}
.assignment .small{
    font-size: 5vw;
}
.intern h2{
  margin-top: 6vw;  
  font-size: 6.5vw;
  letter-spacing: 0.25em;
}
.intern h2 span{
    padding-left: 1vw;
}
.intern_img01{
    text-align: center;
    width: 100%;
}

p.intern_text{
    letter-spacing: 0.05em;
    font-size: 3.5vw;
}
.intern .flex-box{
    justify-content: center;
}
.merit{
    padding-top: 10vw;
    padding-bottom: 10vw;
}
.merit h2{
    font-size: 6vw;
}
.merit .flex-box{
    justify-content: center;
}
.merit .item{
    margin: 2vw;
}
.flow .flex-box{
    margin-top: 3vw;
}
.flow h2,.contact h2{
    font-size: 3rem;
}
.flow .item{
    margin-right: 8vw;
    margin-left: 8vw;
}
.flow_text{
    font-size: 2.5vw;
}
.flow_text span{
    margin-left: 5vw;
}
.step{
    font-size: 3vw;
}
    .merit .flex-box{
        justify-content: center;
    }
    .contact{
        padding-top: 5vw;
    }
form{
    margin-top: 3vw;
}


.profile h1{
    font-size: 2.5rem;
    padding: 10vw 0;
}
.pf-overview ul li{
    font-size: 2rem;
    margin-top: 5vw;
}
.pf-overview ul li.list-1{
    width: 40%;
}
.pf-overview ul li.list-2{
    width: 60%;
}
}

@media screen and (max-width: 480px) {
     .pcv {
    display: none;
  }

  .spv {
    display: block;
  }
  .sp-br{
    display: inline;
}
    .inner{
        max-width: 425px;
    }
    header{
        height:80px;
    }
    header h1 img{
        width: 80%;
    }
.mv_imgbox{
    position: absolute;
    top:20%;
    left: 0;
}
    .mv h2{
        font-size: 3.5rem;
    }
    .ttl-container h1{
        font-size: 2.5rem;
        padding: 10vw 0;
    }

    .about h2{
    font-size: 8vw;
    margin-top: 8vw;

    }
    .about h3{
        font-size: 2rem;
        margin-top: 3vw;
    }
    .about_text{
        font-size: 1.5rem;
        line-height: 1.8;
        margin-top: 1vw;
    }
    .assignment h2{
        font-size: 6.5vw;
    }
    .assignment{
        padding-top: 15vw;
        padding-bottom: 15vw;
    }
    .assignment_img01{
        margin-top: 10vw;
    }
     .assignment_img02{
        margin-top: 5vw;
    }
    .assignment h3{
        font-size: 7vw;
        margin-top: 4vw;
        line-height: 1.5;
    }
    
    .intern{
        margin-top: 15vw;
        margin-bottom: 15vw;
    }
    .intern h2{
        font-size: 8vw;
        margin-top: 7vw;
    }
    .intern h2 span{
        padding: 1vw 0;
    }
    .intern_text{
        font-size: 1.5rem;
        margin-top: 3vw;
        line-height: 1.8;
    }
    .merit{
        padding-top: 15vw;
        padding-bottom: 10vw;
    }
    .merit h2{
        font-size:10vw;
        line-height: 0;
    }
    .merit h2 span.sp-line{
        line-height:1.3;
        font-size: 8vw;
    }
    .merit h2 span.spv-big{
        line-height: 1.1;
        font-size: 11vw;
        padding: 0 5px 0 10px;
    }
    .merit h3{
        margin-top: 4vw;
    }
    .merit .flex-box{
        justify-content: center;
    }
    .merit .item{
        margin-top: 5vw;
        width: 85%;
    }
    .merit .merit_img01 img{
        margin: 0 auto;
    }
    .merit_text{
        max-width: none;
        margin-top: 1vw;
        font-size: 1.5rem;
    }
    .number span{
     display: inline-flex;
    justify-content: center;
     align-items: center;
    aspect-ratio: 1 / 1; /* ← 正方形にする */
    width: 2rem;   
    }
    .flow{
        padding-bottom: 15vw;
    }
.flow h2{
    font-size: 3rem;
    margin-top: 8vw;
    padding: 0;
}
.flow .flex-box{
    width: 90%;
    margin: 0 auto;
    margin-top:6vw ;
}
.flow .item{
    height: 50px;
}
.flow_text span {
    margin: 0;
}
.flow_text{
    font-size: 3vw;
    margin-left: 3vw;
}
.step{
    font-size: 3vw;
}
.contact{
    margin: 0;
    padding: 8vw 0;
}
.contact h2{
    font-size: 3rem;
}
form{
    margin-top: 5vw;
}
.p-p{
    margin-top: 5vw;
}
.p-p h2{
   font-size: 2rem;
   margin-top: 5vw; 
}
.p-p p,.p-p ul li{
    font-size: 1.5rem;
    margin-top: 0.5vw;
}


.profile h1{
    font-size: 2.5rem;
    padding: 12vw 0;
}
.pf-greeting p {
    font-size: 1.5rem;
}
.pf-overview ul li{
    font-size: 1.5rem;
    margin-top: 8vw;
}
.pf-overview ul li.list-1{
    width: 30%;
}
.pf-overview ul li.list-2{
    width: 70%;
}
.pf-overview h2,.pf-greeting h2{
    margin-top: 15vw;
    font-size: 2.5rem;
}
.pf-overview h2 span, .pf-greeting h2 span{
    margin-left: 3vw;
}
}

@media (min-width: 1024px) and (max-height: 800px) {
 .mv_imgbox {
    width: 60%;
    height: auto;
  }

}
@media (min-width: 1024px) and (max-height: 700px) {
 .mv_imgbox {
    width: 55%;
    height: auto;
  }
    .mv h2{
    font-size: 5rem;
  }
}
