@charset "utf-8";
/* CSS Document */

/* ==========================================================
   Character100 共通スタイル
========================================================== */


/* ==========================================================
   Character Header
========================================================== */

#character100{
  padding:40px 0;
}

.character-container{
  width:100%;
 max-width: 960px;
    margin: 30px auto;
    background: #fff;
    border-radius: 30px;
    padding: 40px;	
}

.character-title{
  margin-bottom:40px;
  text-align:center;
  line-height:1.6;
  font-size: 30px !important;	
}

.character-subtitle{
  display:block;
  margin-top:10px;
  font-size:16px;
  font-weight:400;
  line-height:1.8;
}


/* ==========================================================
   Popup
========================================================== */

input[type="checkbox"],
.popup-check{
  display:none;
}

.overlay{
  display:none;
  position:fixed;
  inset:0;
  width:100%;
  height:100%;
  background:rgba(0,0,0,.5);
  z-index:999;
}

input[type="checkbox"]:checked + .overlay,
.popup-check:checked + .overlay{
  display:block;
}

.window{
  position:relative;
  display:flex;
  align-items:center;
  gap:30px;
  width:80%;
  max-width:800px;
  margin:120px auto 50px;
  padding:30px;
  background:#fff;
  border-radius:15px;
}

.popup-image{
  width:50%;
}

.popup-image img{
  display:block;
  width:100%;
  height:auto;
}

.popup-text{
  width:50%;
}

.popup-label{
  display:inline-block;
  padding:4px 10px;
  margin-bottom:10px;
  border:1px solid #000;
  font-weight:bold;
}

.close{
  position:absolute;
  top:12px;
  right:18px;
  display:block;
  font-size:32px;
  line-height:1;
  cursor:pointer;
}


/* ==========================================================
   Character一覧
========================================================== */

.flex_box{
  display:flex;
  flex-wrap:wrap;
  justify-content:center;
  gap:40px 20px;
}


/* ==========================================================
   Character Card
========================================================== */

.character-card{
  display:flex;
  flex-direction:column;
  width:calc(33.333% - 14px);
  text-align:center;
}

.character-card > label{
  display:flex;
  justify-content:center;
  align-items:flex-end;
  height:250px;
  cursor:pointer;
}

.character-card > label img{
  width:auto;
  max-width:100%;
  max-height:250px;
}

.character100{
  display:block;
  width:100%;
}


/* ==========================================================
   キャラクター名
========================================================== */

.character-name{
  display:inline-block;
  margin:10px auto 0;
  padding:8px 25px;
  background:#fff5b8;
  border-radius:20px;
  font-size:16px;
  font-weight:bold;
  letter-spacing:.08em;
  white-space:nowrap;
}


/* ==========================================================
   ロゴ
========================================================== */

.rogo100{
  margin-top:40px;
  text-align:center;
}

.rogo100 img{
  /*width:80px;*/
}


/* ==========================================================
   LINE紹介
========================================================== */

.line-title{
  margin-bottom:30px;
  text-align:center;
}

.line-title span{
  font-size:20px;
}

.line-image{
  margin-bottom:30px;
  text-align:center;
}

.line-image img{
  max-width:100%;
  height:auto;
}

.line-description{
  max-width:700px;
  margin:0 auto 30px;
  line-height:1.8;
}

.line-description .line-name{
  color:#0070c0;
  font-size:20px;
  font-family:"ＭＳ Ｐゴシック";
  font-weight:bold;
}

.line-button{
  text-align:center;
}

.line-button img{
  max-width:100%;
  height:auto;
}

/* ==========================================================
   Character 詳細
========================================================== */

.characterWrap{
  max-width:1200px;
  margin:60px auto;
  padding:50px 20px;
}

.characterTitle{
  margin-bottom:30px;
  text-align:center;
}

.characterTitle h1{
  margin-bottom:10px;
  font-size:32px;
  font-weight:bold;
}

.characterTitle p{
  font-size:16px;
  line-height:1.8;
}

.characterContent_area{
  max-width:900px;
  margin:0 auto;
  padding:50px;
  background:#fff;
  border-radius:30px;
}

.characterContent{
  display:flex;
  justify-content:space-between;
  align-items:center;
  gap:60px;
}

.characterProfile{
  flex:1;
}

.characterImage{
  flex-shrink:0;
  width:280px;
  text-align:center;
}

.characterImage img{
  display:block;
  width:100%;
  height:auto;
}

.characterContent_area h2{
  margin-bottom:30px;
  font-size:28px;
  font-weight:bold;
  text-align:center;
}


/* ==========================================================
   Profile
========================================================== */

.profileBoxes{
  margin-top:50px;
}

.profileBox{
  margin-bottom:20px;
  padding:24px 28px;
  background:#fff;
  border-radius:18px;
  box-shadow:0 6px 20px rgba(0,0,0,.05);
}

.profileBox h3{
  position:relative;
  margin-bottom:10px;
  padding-left:18px;
  color:#17359c;
  font-size:22px;
}

.profileBox h3::before{
  content:"";
  position:absolute;
  top:10px;
  left:0;
  width:8px;
  height:8px;
  border-radius:50%;
  background:#17359c;
}

.profileBox p{
  font-size:20px;
  font-weight:700;
}

.characterComment{
  margin-top:70px;
  line-height:2;
  font-size:18px;
}


/* ==========================================================
   Name
========================================================== */

.en{
  margin-bottom:14px;
  color:#9aa7d5;
  font-size:14px;
  letter-spacing:.35em;
  text-align:center;
}

.charaName{
  position:relative;
  margin-bottom:40px;
  text-align:center;
}

.charaName span{
  position:relative;
  display:inline-block;
  padding:0 10px 8px;
  font-size:22px;
  font-weight:700;
  letter-spacing:.08em;
  z-index:1;
}

.charaName span::after{
  content:"";
  position:absolute;
  left:0;
  bottom:0;
  width:100%;
  height:14px;
  border-radius:20px;
  background:#dbe7ff;
  z-index:-1;
}


/* ==========================================================
   Bottom
========================================================== */

.characterBottom{
  margin-top:80px;
  text-align:center;
}

.characterBottom p{
  display:inline-block;
  padding:18px 40px;
  border-radius:999px;
  background:#17359c;
  color:#fff;
  font-size:23px;
  font-weight:700;
  letter-spacing:.05em;
}


/* ==========================================================
   PC only
========================================================== */

@media screen and (min-width:768px){

  .character-card:nth-child(22){
    margin-right:auto;
  }

}


/* ==========================================================
   SP
========================================================== */

@media screen and (max-width:767px){

  #character100{
    padding:30px 0;
  }

  .character-container {
    
    padding: 40px 10px;
}	
	
  .character-title{
    margin-bottom:30px;
  }

  .character-title{
    font-size:22px!important;
  }

  .character-subtitle{
    font-size:14px;
  }

  .flex_box{
    gap:30px 10px;
  }

  .character-card{
    width:calc(50% - 5px);
  }

  .character-card > label{
    height:170px;
  }

  .character-card > label img{
    width:90%;
    max-height:170px;
    margin:0 auto;
  }

  .character-name{
    padding:8px 18px;
    font-size:14px;
  }

  .window{
   /* flex-direction:column;*/
    width:92%;
    max-height:90vh;
    padding:20px;
    overflow-y:auto;
	margin: 90px auto 50px;  
  }

  .popup-image,
  .popup-text{
    width:100%;
  }

  .popup-text p{
    font-size:15px;
    line-height:1.8;
  }

  .close{
    top:8px;
    right:12px;
    font-size:28px;
  }

  .rogo100{
    margin-top:20px;
  }

  .rogo100 img{
    width:60px;
  }

  .characterWrap{
    margin:0;
    padding:30px 20px;
  }

  .characterTitle h1{
    font-size:24px;
  }

  .characterContent{
    flex-direction:column-reverse;
    gap:40px;
  }

  .characterContent_area{
    padding:30px 20px;
  }

  .characterContent_area h2{
    margin-bottom:20px;
    font-size:23px;
  }

  .characterImage{
    width:100%;
    max-width:320px;
    margin:0 auto;
  }

  .profileBoxes{
    margin-top:30px;
  }

  .profileBox{
    padding:18px;
  }

  .profileBox h3{
    font-size:18px;
  }

  .profileBox p{
    font-size:16px;
  }

  .characterComment{
    margin-top:40px;
    font-size:16px;
  }

  .characterBottom{
    margin-top:50px;
  }

  .characterBottom p{
    padding:15px 24px;
    font-size:16px;
  }

}