@charset "utf-8";

/*header*/
.inter_header {
    background-image: url(/common_d/connect/future/international/img/international_header.jpg);
    background-size: cover;
    background-position: top right;
    margin: 20px 0 0;
    height: 400px;
    position: relative;
}

.inter_ttl{
    position: absolute;
    bottom: 50px;
    left: 10%;
    margin-right: 10%;
    color: #fff;
    font-size: 3.5em;
    line-height: 1.0em;
    letter-spacing: 0.1em;
    font-weight: bold;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", 'Noto Serif JP', serif;
    text-shadow: #333 1px 0 10px;
}


p.inter_top{
    line-height: 1.5;
    font-size: 1.5em;
    font-weight: bold;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", 'Noto Serif JP', serif;
    text-align: center;
    margin: 20px auto 60px;
}

/*タイトルホバー*/
.left_appear {
  white-space: nowrap;
  /*overflow: hidden;*/
  animation: flowing-anim 1.5s ease forwards;
}
@keyframes flowing-anim {
 0%{
     opacity: 0;
     transform: translateY(-20px);
   }
100%{
     opacity: 1;
     transform: translateY(0);
   }
}

.inter_middl{
    width:90%;
    max-width:1200px;
    margin:0 auto;
}

h2.catch {
    margin: 30px 0 15px;
    text-align: center;
    font-size:36px;
    font-weight: 700;
    line-height: 1.6em;
    span.red_b {
        font-size: 1.3em;/* 文字のサイズ */
        color: red;
    }
    span.bk_b {
        font-size: 1.3em;/* 文字のサイズ */
        color: #000000;
    }
    span.fukuro {
        color: #ffffff;/* 文字の色 */
        font-size: 1.3em;/* 文字のサイズ */
        letter-spacing: 1px;/* 文字間 */
        text-shadow: 
            1px  1px 0px #ff0000,
            -1px  1px 0px #ff0000,
            1px -1px 0px #ff0000,
            -1px -1px 0px #ff0000,
            1px  0px 0px #ff0000,
            0px  1px 0px #ff0000,
            -1px  0px 0px #ff0000,
            0px -1px 0px #ff0000;/* 文字の影 */

    }
}

.catch_shita {
    text-align: center;
}

h3 {
    font-size: 1.6em;
    font-weight: 700;
    margin-top: 60px;
    margin-bottom: 20px;
    text-align: center;
    span {
        color: red;
    }
}

.sub_h3 {
   font-size: 1.2em;
    font-weight: 700;
    margin-bottom: 10px;
    line-height: 1.5;
    span {
        color: red;
    } 
}

.free_felx {
    display: flex;
    justify-content: space-around;
}

.column_felx {
    display: flex;
    flex-direction: column;
}

.half_box {
    width: 46%;
    display: flex;
    flex-direction: column;
}

.sitasoroe {
    padding-top: 20px;
    margin-top: auto;
}

.txt_center {
    text-align: center;
}



/*先輩たちの声*/
.zenkoku {
    background-image: repeating-linear-gradient(-45deg, #feecec, #feecec 5px, transparent 5px, transparent 10px);
    width: 100vw;
    padding: 15px 0 30px;
}
.kakkoku {
    background-image: repeating-linear-gradient(-45deg, #fff6e5, #fff6e5 5px, transparent 5px, transparent 10px);
    width: 100vw;
    padding: 30px 0 30px;
    margin-bottom: 40px;
}

.stu_jw {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    font-size: 1.4em;
    font-weight: 700;
    position: relative;
    border-bottom: 3px solid #DDD;
    span {
        color: red;
    }
}

.stu_jw::after {
  position: absolute;
     content: " ";
     border-bottom: solid 3px red;
     bottom: -3px;
     width:15%;
     display: block;
}

.free_felx_wrap {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-evenly;
}

.japan_st, .world_st {
    position: relative;
    width: 300px;
    height: 250px;
    margin: 40px 30px 0;
}

.japan_st.stu1 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_j1.jpg);
}
.japan_st.stu2 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_j2.jpg);
}
.japan_st.stu3 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_j3.jpg);
}
.japan_st.stu4 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_j4.jpg);
}
.japan_st.stu5 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_j5.jpg);
}
.japan_st.stu6 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_j6.jpg);
}

.world_st.stu1 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_w1.jpg);
}
.world_st.stu2 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_w2.jpg);
}
.world_st.stu3 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_w3.jpg);
}
.world_st.stu4 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_w4.jpg);
}
.world_st.stu5 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_w5.jpg);
}
.world_st.stu6 {
    background-image: url(/common_d/connect/future/international/img/2026_inter_stu_w6.jpg);
}

.fukidashi2 {
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    padding: 8px;
    border: 1px solid #ff0000;
    border-radius: 8px;
    background-color: #ffffff;
    text-align: left;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.25;
    color: #000000;
    top:-20px;
    left: -20px;
    width: 135px;
}

.fukidashi2.wide {
    width: 200px;
}

.fukidashi2::before {
    content: "";
    position: absolute;
    bottom: 0;
    left: 75%;
    border-style: solid;
    border-width: 20px 0 0 20px;
    border-color: #ff0000 transparent transparent;
    translate: -50% 100%;
}

.fukidashi2::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 75%;
    border-style: solid;
    border-width: 17.6px 0 0 17.6px;
    border-color: #ffffff transparent transparent;
    translate: calc(-50% + 0.2px) 100%;
}

.mojitume {
    letter-spacing: -0.03em;
}

.japan_st p, .world_st p {
    position: absolute;
    bottom: 5px;
    left: 10px;
    font-size: 0.9em;
    line-height: 1.4em;
    text-shadow    : 
       5px  5px 5px #ffffff,
      -5px  5px 5px #ffffff,
       5px -5px 5px #ffffff,
      -5px -5px 5px #ffffff,
       5px  0px 5px #ffffff,
       0px  5px 5px #ffffff,
      -5px  0px 5px #ffffff,
       0px -5px 5px #ffffff;  
}

.japan_st p span, .world_st p span {
    font-size: 1.3em;
    font-weight: 500;
    text-shadow    : 
       5px  5px 5px #ffffff,
      -5px  5px 5px #ffffff,
       5px -5px 5px #ffffff,
      -5px -5px 5px #ffffff,
       5px  0px 5px #ffffff,
       0px  5px 5px #ffffff,
      -5px  0px 5px #ffffff,
       0px -5px 5px #ffffff;    
}

/*モーションCSS*/
.bottom {
  transform: translateY(30px);
  opacity: 0;
  transition: opacity 1s, transform 0.5s;
}
.in {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}
.in_mb {
  opacity: 1;
  transform: translateX(0);
  transform: translateY(0);
}


/*＝＝＝＝＝タブレット＝＝＝＝＝＝*/
@media all and (max-width: 900px) {

    .free_felx {
        flex-direction: column;
    }

    .inter_ttl {
        left: 20px;
        margin-right: 20px;
        font-size: 3.0em;
    }

    .column_felx {
        margin-bottom: 20px;
    }

    .sitasoroe {
        text-align: center;
    }

    .half_box {
    width: 100%;
    margin-bottom: 40px;
    }

}


/*========smp========*/
@media screen and (max-width: 599px){
    .scroll {
        overflow: auto;
    }

    .inter_header {
        height: 250px;
    }

    .inter_ttl {
        left: 10px;
        margin-right: 10px;
        font-size: 2.7em;
        line-height: 1.1em;
        bottom: 15px;
    }

    .inter_middl {
        width: 100%;
        padding: 0 10px;
    }

    h2.catch {
        font-size: 28px;
    }

    h2.catch,.catch_shita {
        text-align: left;
    }

    h3 {
        margin-top: 40px;
        margin-bottom: 10px;
        line-height: 1.6;
        text-align: left;
    }

    .fukidashi2 {
        font-size: 12px;
    }

    .japan_st, .world_st {
        margin: 40px 0 0 ;
    }

}