html {
    margin: 0;
    height: 100%;
    font-family: "メイリオ", "ヒラギノ角ゴ ProN", sans-serif;
    color: #333;
    font-size: 20px;
}
*{
    margin: 0;
    padding: 0;
}

body {
  position: relative;
}

/*背景のアニメーション*/

@property --x0 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --y0 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --x1 { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --y1 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --x2 { syntax: '<percentage>'; inherits: false; initial-value: 0%; }
@property --y2 { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --x3 { syntax: '<percentage>'; inherits: false; initial-value: 100%; }
@property --y3 { syntax: '<percentage>'; inherits: false; initial-value: 100%; }

@keyframes mesh-animation {
  0% {
    --x0: 0%;
    --y0: 0%;
    --x1: 100%;
    --y1: 0%;
    --x2: 0%;
    --y2: 100%;
    --x3: 100%;
    --y3: 100%;
  }
  100% {
    --x0: 30.0%;
    --y0: 15.0%;
    --x1: 100.0%;
    --y1: 15.0%;
    --x2: 30.0%;
    --y2: 55.0%;
    --x3: 85.0%;
    --y3: 50.0%;
  }
}

/*背景の設定*/

body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  
  background-color: #ffffff;
  background-image: 
    radial-gradient(at var(--x0) var(--y0), rgba(153, 160, 255, 1) 0px, transparent 60%),
    radial-gradient(at var(--x1) var(--y1), rgba(196, 253, 207, 0.9) 0px, transparent 70%),
    radial-gradient(at var(--x2) var(--y2), rgba(161, 196, 253, 0.8) 0px, transparent 80%),
    radial-gradient(at var(--x3) var(--y3), rgba(194, 233, 251, 1) 0px, transparent 60%);
  /*background-image: url('https://www3.ibac.co.jp/picture/2028/poster_background.png');*/
  background-size: cover;
  background-position: center;
  z-index: -1;
  animation: mesh-animation 7s ease-in-out infinite alternate;
}





/*------------

　２分割のやつ

--------------*/
.split-section {
  display: flex;
  gap: 2rem;
  padding: 0 2rem;
  align-items: flex-start;
}

.left-pin {
  position: sticky; /* 左側をスクロール中に固定する */
  top: 30px;
  flex: 2;
}
  
.hero {
  position: relative;
  text-align: center;
  margin-top: -60px;
}
.hero image{
    z-index: -5;
}

.hero-text {
    margin-top: -80px;
    z-index: 50;
}
#ctrBTN2{
    margin-top: 10px;
}
#ctrBTN2 .applyBTN{
    font-size: 30px;
}

.topImageMain25{
    margin: 10px;
    position:relative;
    width: 45%;
    min-width: 500px;
    text-align: center;/*一応BOX内の文字も中央寄せ*/
}
.topImageMain252{
    position:relative;
    margin-top: -55px;
    width: 65%;
    
    min-width: 400px;
    text-align: center;/*一応BOX内の文字も中央寄せ*/
    
    z-index: -5;
}

.right-content {
  flex: 1;
  display: flex;
  flex-direction: column;
  padding: 5rem 2rem 0 2rem;
  gap: 1.5rem;
}

@media (max-width: 768px) {
  .split-section {
    flex-direction: column; /* 左右→上下に変更 */
    align-items: stretch;
    padding: 0;
  }

  .left-pin {
    position: static; /* スマホでは固定を解除 */
  /*  width: 100%; */
    top: auto;
    box-sizing: border-box;
    padding: 0;
  }
  
    .topImageMain25,.topImageMain252 {
        width: 85%;
        height: auto;
    }
    
  .topImageMain25{
    min-width: 0;
}
    .topImageMain252 {
        margin-top: 10px;
    }
#ctrBTN2{
    display: none;
}


  .right-content {
    width: 100%;
    padding: 0;
  }

  .right-content img {
    display: block;
    margin: 0 auto; /* 画像を中央に配置 */
    width: 100%;
    height: auto;
    max-width: 500px; /* 大きくなりすぎないように制限 */
    border-radius: 8px;
  }
}


.right-content img {
  width: 100%;
  max-width: 400px;
  border-radius: 8px;
}

main .main-contents{
    width: 100%;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

a{
    text-decoration: none;
    color: #333;
}
li {
    list-style: none;
}


/*=============-
 background 
 ===============*/

.top {
    overflow: hidden;
    height: inherit;
    
    /*
    background: #fff4d6;
    /* 一部追加 *　/
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-blend-mode: screen;
    /* 追加(継承するため親要素に当ててもOK) */
}
.copyright{
    background: #DF3458;
    color: #fff;
}

.sec01 {
    margin: 0;
    padding: 10px 0;
    background: linear-gradient(180deg, #fff, #FED7C3);
}

.sec02 {
    margin: 0;
    padding: 10px 0;
    background: linear-gradient(180deg, #FED7C3, #C4FFFB);
}

.sec03 {
    margin: 0;
    padding: 10px 0;
    background: linear-gradient(180deg, #C4FFFB, #FED7C3);
}

.sec {
    margin: 0;
    padding: 10px 0;
}
/*----------------------
左右のやつ
----------------------*/
.left{
    width: 600px;
    min-width: 450px;
}

#child1 nav {
    position:fixed;
    box-sizing: border-box;
    top:0;
    left:5%;
    width: 300px;
    height: 260px;
    padding: 20px 50px 30px 50px;
    background: rgba(255,255,255,0.6);
    z-index: 998;
}
#child1 nav ul {
    padding-left: 0;
}
.mainMSG {
    position:fixed;
    box-sizing: border-box;
    top:280px;
    left:5%;
    background: rgba(255,255,255,0.6);
    width: 300px;
    padding: 30px;
    z-index: 998;
}
.mainMSGsub01 {
    top:450px;
    left:5%;
}


/*==========
みだし・ボタン
=============*/
.topTitle{
    font-family: 'M PLUS Rounded 1c', sans-serif;
    text-align: center;
    margin: 50px 0 0 0;
}
img.topImageSasori {
    margin: auto;
    width: 300px;
}
h5{
    margin: 0.4em 0;
}

.text {
 	position: relative;
	font-size: 60px;
	font-weight: bold;
	color: #DF3458;
	-webkit-text-stroke: 6px #DF3458;
}

.text::before {
	content: attr(data-text);
	position: absolute;
	color: #DF3458;
	-webkit-text-stroke: 1px #FFF;
}

h1,h2,.applyBTN,
nav li a {
    font-family: 'M PLUS Rounded 1c', sans-serif;
    text-align: center;
    margin: 0;
    font-size: 36px;
    color: #DF3458;
    -webkit-text-stroke:0.8px #fff;
}
.marker ,nav li a:hover{
    color: #fff;
    -webkit-text-stroke: 1.5px #DF3458;
    /*text-shadow: 3px 3px 0 #cd5;*/

}
h1,.applyBTN{
    color: #fff;
    -webkit-text-stroke: 1.5px #DF3458;
    padding: 0 ;
    font-size: 40px;
}

h2,
a.actionBTN {
    padding: 30px 0 0 0;
    font-size: 30px;
}

a.actionBTN {
    display: inline-block;
    margin: 5px auto;
    padding: 8px 30px;
    border-radius: 30px;
    background: #E71430;
    border: double 6px rgba(255, 255, 255, 0);
    text-decoration: none;
    font-size: 15px;
    color: #FFF;
}

a.actionBTN:hover {
    border: double 6px #DF3458;
    background: #F9E5E7;
    color: #DF3458;
}


a.line-add-button {
    display: inline-block;
    margin: 5px auto;
    padding: 8px 30px;
    border-radius: 30px;
    background: #00c300;
    border: double 6px rgba(255, 255, 255, 0);
    text-decoration: none;
    font-size: 15px;
    color: #FFF;
}

a.line-add-button:hover {
    border: double 6px #fff;
    background: #009e00;
    color: #fff;
}

a.marker:hover {
    margin: 3px auto;
    padding: 10px 37px;
    font-size: 22px;
}

#child1 nav li a {
    display: block;
    margin: 0;
    padding: 5px 0px;
    font-size: 20px;
    text-align: left;
    text-decoration: none;
}
/*==========
ハンバーガーメニュー
=============*/
.hamburger {
    width: 30px;
    height: 30px;
    background: #DF3458;
    padding: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 999;
}
.hamburger:hover {
    cursor: pointer;
}
.hamburger span {
    background: #fff;
    width: 25px;
    height: 2px;
    position: absolute;
    transition: 0.3s ease-out;
}
.hamburger span:nth-of-type(1) {
    top: 15px;
}
.hamburger span:nth-of-type(3) {
    bottom: 15px;
}

.hamburger.active span:nth-of-type(1) {
    transform: translateY(9px) rotate(-45deg);
    transition: 0.3s ease-out;
}
.hamburger.active span:nth-of-type(3) {
    transform: translateY(-9px) rotate(45deg);
    transition: 0.3s ease-out;
}
.hamburger.active span:nth-of-type(2) {
    opacity: 0;
}

/* メニュー部分 */
.menu {
    width: 100%;
    height: 100%;
    background: #000;
    color: #fff;
    position: fixed;
    top: 0;
    left: 0;
    opacity: 0;
    transform: translate(-800px);
    transition: 0.3s ease-out;
}
.menu ul{
    padding: 50px 0 20px 50px;
    margin-bottom: 20px;
    border-bottom: dotted 6px #fff;
}
.menu p{
    padding-left: 50px;
}

.menu li {
    margin-bottom: 10px;
}
.menu.open {
    opacity: 0.8;
    z-index: 998;
    transform: translate(0);
    transition: 0.3s ease-out;
}

/* navigation */
    .smenu {
        display: none;
    }

nav.menu li a {
    -webkit-text-stroke: 1px #fff;
    font-size: 23px;
}
#menufooter,footer{
    padding-left: 30px;
    font-size: small;
}
#menufooter .snsLink{
    font-size: 25px;
    color: #fff;
}
#menufooter .snsLink img{
    display: inline;
    width: 50px;
    padding: 0;
}

#menufooter .snsLink img.top_snsiconX{
    display: inline;
    width: 20px;
    padding: 0;
    min-width: 0px;
}
/*==========
box
=============*/

.flameblock{
    margin: 0 10px 35px 10px;
  /*  padding: 20px 20px 35px 20px;*/
    background: rgba(255, 255, 255, 0.3);
    border-radius: 30px;
}


.boxDetail {
    margin: 20px auto;
    /*padding: 2%;*/
    width: 90%;
    text-align: center;
}

.boxDetail img {
    display: block;
    width: 50%;
    min-width: 150px;
    margin: 10px auto;
}
.yokonagaimg img{
    width:100%;
}
.snsLink img{
    display: inline;
    width: 50px;
    min-width: 30px;
    padding-top: 20px;
}
.snsLink img:hover{
    width: 55px;
}
.snsLink img.top_snsiconX{
    display: inline-block;
    width: 30px;
    min-width: 30px;
}
.boxDetail img.top_snsiconX:hover{
    width: 35px;
}
.boxDetail img.top_snsiconX ,.boxDetail .snsLink img{
    margin: auto;
}

/*背景アリにする*/
.boxWhite {
    box-sizing: border-box;
    padding: 20px;
    background: rgba(255, 255, 255);
    border-radius: 15px;
    border: solid 3px #DF3458;
}
.BG_Broun{
    background: #ffd98a;
    border: none;
}

.boxPink {
    box-sizing: border-box;
    padding: 20px;
    background: #DF3458;
    color: #fff;
    border-radius: 15px;
    border: solid 3px #DF3458;
}


.boxPink a.actionBTN{
    background: #FFF;
    color: #DF3458;
}
.boxPink a.actionBTN:hover {
    border: double 6px #DF3458;
    background: #F9E5E7;
    color: #DF3458;
}


/*NEXTイベントボックス*/
.boxDetail h2{
    padding: 0;
    margin: 0;
    font-size: 25px;
}
a .boxWhite p{
    margin: 0;
}
a .boxWhite h3{
    margin: 5px 0 ;
}
a .boxWhite{
    color: #333;
    border: solid 6px rgba(255, 255, 255, 0);
}
a .boxWhite:hover{
    border: double 6px #DF3458;
}

/*日程紹介BOX*/
 
.badge{
    display: inline-block;
    margin-bottom: 5px;
    border-radius: 5px;
    min-width: 200px;
    padding: 5px 10px;
    background: #DF3458;
    color: #fff;
    font-weight: bold;
}
.badge2{
    display: inline-block;
    margin-bottom: 5px;
    border-radius: 5px;
    padding: 5px 10px;
    background: #fff;
    border: 2px solid #DF3458;
    color: #DF3458;
}
h1 .badge{
    font-size: 20px;
    margin-left: 20px;
    vertical-align: 7px; /* ベースラインから5px上げる */
}
/*@media (max-width: 700px) {*/

    .badge,.badge2{
        min-width: 0;
    }
/*}*/


#ctrBTN {
    position: fixed;
    bottom: 0;
    text-align: center;
    z-index: 999;
    padding-bottom: 30px;
}

#ctrBTN .applyBTN{
    font-size: 30px;
}

@media (max-width: 764px) {/*スマホ*/

    #ctrBTN {
        background: #E71430;
        width: 100%;
        padding: 0;
        margin-right: 0;
    }

    #ctrBTN .applyBTN{
        font-size: 25px;
        
    }
}

.youtubeBox{
    width: 50%;
    margin: 0 auto 50px auto;
}
.youtube{
  position: relative;
  padding-top: 56.25%;
  margin: 0 auto;
}
iframe{
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
}


/*LINEBOX*/
.balloon6 {
    width: 90%;
    margin: 20px auto;
    overflow: hidden;
}

.balloon6 .faceicon {
    float: left;
    margin-right: -60px;
    width: 50px;
}

.balloon6 .faceicon img {
    width: 100%;
    height: auto;
    border-radius: 50%;
}

.balloon6 .chatting {
    width: 100%;
    text-align: left;
}

.bg_white{
    background: #d7f7fa;
}
.fs07{
    font-size: 0.7em;
}
.fs08,.says{
    font-size: 0.8em;
}
.fs15{
    font-size: 1.5em;
}
.fs25{
    font-size: 2.5em;
}

.says {
    display: inline-block;
    position: relative;
    margin: 0 0 0 60px;
    padding: 10px;
    max-width: 500px;
    border-radius: 12px;
    background: #d7f7fa;
}

.says:after {
    content: "";
    display: inline-block;
    position: absolute;
    top: 3px;
    left: -19px;
    border: 8px solid transparent;
    border-right: 18px solid #d7f7fa;
    -webkit-transform: rotate(35deg);
    transform: rotate(35deg);
}

.says p {
    margin: 0;
    padding: 0;
}

.snsLinkBox{
    margin-top: 30px;
    padding-top: 10px;
    border-top: dotted 2px #333; 
}
.snsLink{
    color: #333;
    font-size: 40px;
}

.snsLink:hover{
    font-size: 45px;
}

.ibacrogo{
    text-align: left;
    margin: 10px 0 0 10px;
}
.ibacrogo img{
    height: 40px;
}

.top_snsiconX{
    width: 30px;
}
.top_snsiconX:hover{
    width: 35px;
}

.top_snsiconXwhite{
    height: 22px;
}


/*--------------
左側
----------------*/


.snomi{
    display: none;
}

/*@media (min-width: 900px) {/*900px以上の時*/

    #child1,
    #child2 {
        display: block;
    }
    .width600{
        max-width: 1200px;
        margin-left: auto;
        margin-right: auto;
    }
    .pnomi{
    display: block;
    }
/*}*/

@media (max-width: 768px) {/*700px以下の時*/
    body{
        font-size: 15px;
    }
    .text{
        font-size: 23px;
    }
    h2{
        margin: 0;
        padding: 15px 0 0 0;
        font-size: 25px;
    }
    .boxDetail h2{
     /*   font-size: 1.07em;*/
        -webkit-text-stroke: 0 #fff;
    }
    h3{
        font-size: 1.07em;
    }
    a.actionBTN{
        font-size: 1.07em;
    }
.ibacrogo{
    text-align: right;
    margin: 10px 10px 0 0;
}
.badge2{
    font-size: 0.8em;
}
h1 .badge{
    font-size: 0.4em;
    padding: 5px;
    margin-left: 5px;
    vertical-align: 3px; /* ベースラインから5px上げる */
}
.smenu {
    display: block;
}
.snomi{
    display: block;
}
.pnomi{
    display: none;
}

.narabuO3{
    flex-direction:column;
    justify-content: center;
}
/*背景アリにする*/
.boxWhite {
    padding: 10px;
}
}


@media (max-height: 500px) {

    .mainMSG{
        display: none;
    }
}
/*==================================================
ふわっ
===================================*/


/* fadeUp */

.fadeUp{
animation-name:fadeUpAnime;
animation-duration:0.5s;
animation-fill-mode:forwards;
opacity:0;
}

@keyframes fadeUpAnime{
  from {
    opacity: 0;
  transform: translateY(100px);
  }

  to {
    opacity: 1;
  transform: translateY(0);
  }
}


/* スクロールをしたら出現する要素にはじめに透過0を指定　*/
 
.fadeUpTrigger{
    opacity: 0;
}

/*--------------
よくある質問
------------------*/
.content1, .content2, .content3, .content4, .content5, .content6 {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.5s ease;
  text-align: right;
}

#toggle1:checked ~ .content1 ,
#toggle2:checked ~ .content2 ,
#toggle3:checked ~ .content3 ,
#toggle4:checked ~ .content4 ,
#toggle5:checked ~ .content5 ,
#toggle6:checked ~ .content6 {
  max-height: 500px; /* 適切な最大値に調整 */
}

label {
    display: block;
  position: relative;
  background: #ffd98a;
  padding: 7px 5px 8px 35px;
  color: #474747;
  border-radius: 20px;
    margin-top: 20px;
    text-align: left;
    width: 95%;
}

label:before {
  
  /* 背景画像設定 */
  background-image: url('https://www3.ibac.co.jp/picture/forum/forum_man010.png');
  background-size: cover; /* 画像を枠いっぱいに */
  background-position: center;
  background-color: #ffa337;
  
  /* 丸くする */
  border-radius: 50%;
  
  /* 表示用 */
  display: inline-block;
  content: "";
  line-height: 40px;
  position: absolute;
  padding: 0em;
  color: white;
  font-weight: 900;
  width: 40px;
  height: 40px;
  text-align: center;
  line-height: 40px;
  left: -0.75em;
  top: 50%;
  -webkit-transform: translateY(-50%);
  transform: translateY(-50%);
  border: solid 3px white; 
  border-radius: 50%;
}

label.face2:before {
  
  /* 背景画像設定 */
  background-image: url('https://www3.ibac.co.jp/picture/forum/forum_woman010.png');
}

label.face3:before {
  
  /* 背景画像設定 */
  background-image: url('https://www3.ibac.co.jp/picture/forum/forum_man040.png');
}

label.face4:before {
  
  /* 背景画像設定 */
  background-image: url('https://www3.ibac.co.jp/picture/forum/forum_woman020.png');
}

/*以下、B右側の緑コメント*/

div .answer{
  display: inline-block;
  position: relative; 
  margin: 10px 25px 0 0;
  padding: 8px 17px 8px 15px;
  max-width: 300px;
  font-size: 0.9em;
  border-radius: 10px;
  background: #e5ff8a;
  text-align: left;
}

div .answer:after {
  content: "";
  position: absolute;
  top: 3px; 
  right: -19px;
  border: 8px solid transparent;
  border-left: 18px solid #e5ff8a;
  -webkit-transform: rotate(-35deg);
  transform: rotate(-35deg);
}

@media (min-width: 768px) {/*700px以上の時*/
    
#ctrBTN {
    display: none;
}
    
}
/*---
企業情報
---*/
.box30 {
    margin: 1em auto;
    width: 90%;
    max-width:600px; 
    background: #f1f1f1;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
    border-radius: 15px;
    border: 6px solid #3A85C7;
}
.box30 .box-title {
    font-size: 1.2em;
    background: #3A85C7;
    padding: 4px;
    text-align: center;
    color: #FFF;
    font-weight: bold;
    letter-spacing: 0.05em;
    border-radius: 7px 7px 0 0;
}
.box30 h3 {
    margin: 0;
    padding: 15px 20px 0 20px;
    color: #3A85C7;
}
.box30 p {
    margin: 0;
    padding: 15px 20px;
}

.box30 a.actionBTN{
background:   #3A85C7  
}
.box30 a.actionBTN:hover {

}


.box30 a.actionBTN{
    background: #3A85C7;
    color: #FFF;
}
.box30 a.actionBTN:hover {
    border: double 6px #3A85C7;
    background: #F9E5E7;
    color: #3A85C7;
}
