@charset "utf-8";

/*header*/

.abroad_header {
    background-image: url(/common_d/connect/future/abroad/img/abroad_header.jpg);
    background-size: cover;
    margin: 20px 0 0;
    height: 400px;
    position: relative;
}

.abroad_ttl{
    position: absolute;
    bottom: 50px;
    left: 10%;
    margin-right: 10%;
    color: #fff;
    font-size: 40px;
    line-height: 1.2em;
    letter-spacing: 0.1em;
    font-weight: 600;
    font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro W3", "Hiragino Mincho Pro", "HiraMinProN-W3", 'Noto Serif JP', serif;
    text-shadow: #333 1px 0 10px;
    span{
       font-size: 1.2em; 
       font-weight: 700;
       font-family: 'Noto Sans JP', "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "メイリオ", Meiryo, sans-serif;
    }
}

/*ヘッタータイトルアニメーション*/
.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);
   }
}

.abroad_inner{
width:90%;
max-width:1200px;
padding:0 5% 40px;
margin:0 auto;
}

.top_fbox {
  display: flex;
  justify-content: space-between;
  margin: 30px auto 0;
}


.catch {
    margin: 0 0 30px;
    font-size:38px;
    font-weight: 700;
    line-height: 1.6em;
    span.red_b {
        background-color: red;
        color: #ffffff;
        padding: 0 10px 3px;
        margin-right: 5px;
    }
    span.fukuro {
        color: #ffffff;/* 文字の色 */
        font-size: 1.2em;/* 文字のサイズ */
        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;/* 文字の影 */
        margin-left: 5px;

    }
}

.img_maru_box {
  position: relative;
  height: 260px;
  width: 260px;
  margin-left: 50px;
  .tegaki {
    position: absolute;
    top:10px;
    left: -30px;
    font-size: 20px;
    font-weight: 700;
    transform: rotate(-10deg);
    z-index: 10;
  }
  img {
      height: 260px;
      width: 260px;
      border-radius: 130px;
      object-fit: cover;
      }
    p {
      position: absolute;
      font-weight: 700;
      line-height: 1.4;
      bottom: 20px;
      left: 60px;
      padding: 5px 10px;
      background-color: rgba(255,255,255,0.7);
      span {
        font-size: 0.8em;
        font-weight: 400;
        }
      }
}


div.bg_or {
  width:100vw;
  background-color: #fff6e5;
}



.title_fbox {
  display: flex;
  align-items: flex-end;
  padding: 20px 0;
  img {
    padding-right: 20px;
  }
}

.title_fbox p {
  font-size: 36px;
  font-weight: 600;
  line-height: 1.2em;
  span.syo {
    font-size: 0.7em;
  }
  span.c_or {
    color: #ea7c15;
  }
}

.fukidishi_img_box {
  margin-top: 60px;
  position: relative;
  width: 450px;
}

.fukidashi_waku {
  position: absolute;
  left: 50px;
  top :-40px;
}

.fukidashi {
  position: relative;
  display: inline-block;
  padding: 15px 20px;
  border-radius: 9999px;
  background-color: #333333;
  text-align: center;
  font-size: 14px;
  font-weight: 400;
  line-height: 1.25;
  color: #ffffff;
  z-index: 10;
}

.fukidashi::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 70%;
  border-style: solid;
  border-width: 20px 0 0 20px;
  border-color: #333333 transparent transparent;
  translate: calc(-50% + 0.4px) 100%;
  transform: skew(20deg);
  transform-origin: top;
}

.step1_img {
  margin-left: 30px;
  position: relative;
  width: 400px;
}

.btn_box {
  display: flex;
  text-align: center;
  flex-direction: column;
  align-items: center;
  margin-bottom: 30px;
}
.btn_box.w60{
  width: 60%;
}

.niiyama_kirinuki {
    height: 100%;
    margin-right: 10px;
}

.point_txt {
  font-size: 0.9em;
    span {
      display: block;
      font-size: 1.2em;
      font-weight: 600;
      line-height: 1.8em;
    }
}

.point_txt::before {
  content: url(/common_d/connect/future/abroad/img/2026_abroad_point.png);
}

.step1_point_img {
  height: 100%;
  margin-left: 20px;
  margin-top: auto;
}

.takaku {
  background-color: #ea7c15;
  color: #fff;
  padding: 10px 10px 30px;
  margin-bottom: 10px;
  text-align: center;
  font-size: 1.2em;
  line-height: 1.6em;
  font-weight: 600;
  clip-path: polygon(0 0, 100% 0%, 100% 70%, 50% 100%, 0 70%);
}

.ryugaku {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.2em;
    text-align: center;
    background-color: #fff6e5;
    border: 1px solid #ea7c15;
    color: #ea7c15;
    padding: 5px 10px;
    margin-bottom: 20px;
    span {
      font-size: 0.8em;
      color: #000;
      font-weight: 400;
    }
}

.fukidashi2 {
  position: relative;
  display: inline-block;
  margin-top: 20px;
  margin-bottom: 10px;
  padding: 15px 20px;
  border-radius: 9999px;
  background-color: #333333;
  text-align: center;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.5;
  color: #ffffff;
}

.fukidashi2::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 10px;
  border-style: solid;
  border-width: 10px 30px 10px 0;
  border-color: transparent #333333 transparent transparent;
  translate: -100% -50%;
}

.fukidashi2::after {
  content: "";
  position: absolute;
  top: 0;
  left: 30%;
  border-style: solid;
  border-width: 0 10px 20px 10px;
  border-color: transparent transparent #333333;
  translate: -50% -100%;
}

.flag{
    margin: 20px auto;
    img{
      width: 100%;
      min-width: 680px;
    }
}

.cbox {
  background-color: #fff;
  border: 1px solid #ea7c15;
  padding: 10px 15px;
  box-shadow: -5px 5px #ea7c15;
  margin-left: 20px;
  width: 100%;
  .cbox_ttl {
    font-weight: bold;
    color:#ea7c15;
    line-height: 1.4em;
    padding-bottom: 5px;
  }
  .cbox_txt {
    font-size: 0.9em;
    line-height: 1.5em;
    span {
      color:#ea7c15;
    }
  }
  hr {
    border: none;
    height: 1px;
    background-color: #ea7c15;
    width: 100%;
    margin-bottom: 5px;
  }
}

.cbox_or {
  background-color: #fff6e5;
}

.cbox.cbox_or{
  white-space: nowrap;
}

.kakkoku {
  background-image: repeating-linear-gradient(-45deg, #fff6e5, #fff6e5 5px, transparent 5px, transparent 10px);
  width: 100vw;
  margin-bottom: 40px;
}

.kakkoku_box {
  display: flex;
  justify-content: space-between;
  position: relative;
  margin-top: 50px;
  padding-top:50px;
}

.kakkoku_box::before {
    position: absolute;
    content: "";
    background-image: url(/common_d/connect/future/abroad/img/2026_abroad_kakkoku.png);
    background-repeat: no-repeat;
    width: 500px;
    height: 100px;
    top: -50px;
    display: block;
}

.kakkoku_child {
  margin-right: 10px;
  p {
    text-align: center;
  }
  .kakkoku_ttl {
    background-color: #333;
    color: #fff;
    padding: 5px 20px;
    font-weight: 600;
    border-radius: 999px;
  }
  .kakkoku_txt {
    text-align: center;
    display: flex;
    align-items:center;
    justify-content: center;
  }
  .kakkoku_txt .txt_orb{
    color: #ea553a;
    font-size: 4.0em;
    font-weight: 600;
    line-height: 1.0em;
  }

 .kakkoku_txt .txt_bks {
    text-align: left;
    line-height: 1.2em;
  }
}

/*リンクボタン*/

a.float_link{
opacity:1;
display:block;
padding:1.5em 3em;
color:#fff;
border-radius:50px;
position:relative;
transition:0.3s;
background-position:80% 0;
background-size:150%;
width: 100%;
max-width: 380px;
margin: 0 auto;
}

a.float_link.abroad_btn {
    background: linear-gradient(to right,#dc143c,#ea553a 60%,#ea553a);
}


a.float_link:hover{
background-position:0 0;
}

.float_link p{
  position: absolute;
  top: -25px;
  color:#000;
  font-size:0.8em;
  letter-spacing:0.15em;
  text-align:center;
}

a.float_link:after{
content:"";
position:absolute;
width:30%;
height:0.5px;
background:#fff;
bottom:15px;
right:0;
transition:0.3s;
}
a.float_link:before{
content:"";
position:absolute;
width:10px;
height:10px;
background:#fff;
bottom:10px;
border-radius:50%;
right:30%;
transition:0.3s;
}

a:hover.float_link:after{
width:10%;
background:#FFFF00;
right:7px;
}
a:hover.float_link:before{
right:10%;
background:#FFFF00;
}


.fbox {
  display: flex;
  justify-content: space-between;
}

/*.justify-between {
  justify-content: space-between;
}*/
.justify-end {
 justify-content: flex-end;
}

.half_box {
  width: 46%;
}

/*.txt_center {
  text-align: center;
}*/

    
/*モーション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 screen and (max-width: 1024px){
    .abroad_inner{
      width: 95%;
        padding:0 0 40px;
    }
     .scroll {
        overflow: auto;
    }
    .step1_img {
    width: 300px;
    }
    .fukidashi {
      margin-left: 30px;
      margin-right: 0;
    }

    .float_link p {
      letter-spacing: 0;
    }

    .cbox.cbox_or {
    white-space: normal;
    }

    .kakkoku_box {
      flex-wrap: wrap;
      justify-content: center;
    }
    .kakkoku_child {
      margin-bottom: 20px;
    }
    .kakkoku_ttl {
      width: 230px;
    }
}



/*=================スマホ==============*/
@media screen and (max-width: 599px){

    .abroad_header {
        height: 250px;
        background-position: center;
    }

    .abroad_ttl {
        left: 10px;
        margin-right: 10px;
        font-size: 1.8em;
        line-height: 1.2em;
        letter-spacing: -0.01em;
        bottom: 15px;
    }

    .abroad_inner {
      padding: 0;
      margin-bottom: 30px;
    }

    div.bg_or {
      padding-bottom: 10px;
    }
    
    .top_fbox {
      flex-direction: column;
    }

    .img_maru_box {
      margin: 20px auto 10px;
    }

    .title_fbox img {
      padding-right: 10px;
      height: 100px;
    }

    .title_fbox p {
      font-size: 30px;
      span.syo {
        font-size: 0.5em;
      }
    }

    .fukidishi_img_box {
      width: 100%;
    }

    .fukidashi_waku {
      left: -20px;
    }

    .btn_box.w60 {
      width: 100%;
    }

    .step1_img {
      width: 100%;
      margin: 0;
    }

    .step1_point_img {
      margin-right: 20px;
    }

    .niiyama_kirinuki {
      display: none;
    }

    .point_txt {
      margin-bottom: 20px;
    }

    .fukidashi2 {
      width: 100%;
      margin-top: 10px;
    }

    .fukidashi2::before {
      display: none;
    }

    .kakkoku_box {
      flex-wrap: wrap;
      padding-bottom: 20px;
    }

    .kakkoku_box::before {
      background-size: 350px;
      width: 100%;
      top: -20px;
    }

    .kakkoku_child {
        width: 80%;
        margin: 0 auto 10px;
    }

    .cbox {
      max-width: 380px;
      margin: 0 auto;
    }

    .fbox {
      flex-direction: column;
    }

    .half_box {
      width: 100%;
      margin-bottom: 10px;
    }

    .fright {
      width: 100%;
      margin-bottom: 20px;
      p {
        text-align: center;
      }
    }

    .kakkoku_ttl {
      width: 100%;
    }


}






