@charset "utf-8";

/* =============================================
  合格者の声(インタビュー記事)
============================================= */
#main_ttl h1{
  background-color: #625c4e;
  background-image: url(/nikken/img/bg_n.svg), url(/nikken/interview/message/img/s/header_bg1.png), url(/nikken/interview/message/img/s/header_bg2.jpg);
  background-position: right -3% center, left 40%,right center;
  background-size: auto 151%, 40% auto, auto 100%;
}
.btm-header #main_ttl h1{
  background-color: #625c4e;
  background-image: url(/nikken/img/bg_n.svg), url(/nikken/interview/message/img/s/header_bg1.png), url(/nikken/interview/message/img/s/header_bg2.jpg);
  background-position: right -3% center, 0 40%,right center;
  background-size: auto 151%, auto 140%, auto 200%;
}
.message_article *{
  box-sizing: border-box;
}

/*---------------------------------------------
	index
---------------------------------------------*/
/*****
リードyoutube挿入
*****/
.main_cont_movie_header{
	margin-bottom: 50px;
}
.main_cont_movie{
	aspect-ratio: 16 / 9;
	max-width: 720px;
	margin: 0 auto;
}
.main_cont_movie iframe{
	width: 100%;
	height: 100%;
}

.main_cont_info{
	padding: 30px 15px;
}

/*****
バナー挿入
*****/
.bn_area{
  margin: 0 auto 3em;
  text-align: center;
}
.bn_area a img{
  max-width: 100%;
  height: auto;
}
.bn_area a:hover img{
  opacity: 0.8;
}
.bn_area + p{
  padding: 0 0 50px;
  font-size: 1.8rem;
  text-align: center;
  line-height: 1.8;
}
/*****
記事サムネイル
*****/
.thumbnail a{
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
  border: solid 1px #ed7d31;
  border: solid 1px var(--line-light);
  color: #333;
  transition: all  0.2s ease;
}
.thumbnail a:hover{
  border: solid 1px var(--nikken-red);
  opacity: 0.8;
  text-decoration: none;
}
.thumbnail .thumb_header{
  margin-bottom: 0.5em;
  padding-bottom: 0.5em;
  display: flex;
  flex-wrap: wrap;
}
.thumb_header .face_img{
  margin-right: 1.0em;
  width: 30%;
}
.thumb_header .face_img img{
  width: 100%;
  height: auto;
}
.thumb_header h2{
  margin-bottom: 0.2em;
  font-size: 1.4rem;
}
.thumb_header h3{
  margin-bottom: 0.2em;
  font-size: 1.7rem;
}
.thumb_header > div{
  flex: 1;
}
.thumb_header > div > p{
  font-size: 1.4rem;
  line-height: 1.6;
}
.thumbnail .thumb_text{
  padding-top: 1em;
  overflow: hidden;
  position: relative;
  height: 4.2em;
  border-top: solid 1px var(--line-light);
}
.thumb_text::after{
  content: '＞続きを読む';
  padding: 0 0 0 4em;
  display: block;
  position: absolute;
  right: 0;
  bottom: 0;
  background-image: linear-gradient(to right, transparent 0, #fff 3em);
  color: #06c;
}
.thumbnail a:hover .thumb_text::after{
  background-image: linear-gradient(to right, transparent 0, #fff 3em);
}

/*---------------------------------------------
	個別記事
---------------------------------------------*/
.message_single{
  padding-bottom: 2em;
  font-size: 1.6rem;
}
.message_single p{
  padding-bottom: 0.5em;
  line-height: 1.9;
}
.message_single p:last-of-type{
  padding-bottom: 0;
  color: var(--font-dark);
  word-break: keep-all;

  overflow-wrap: anywhere;
}
.article_header{
  margin-bottom: 2em;
  padding: 0 10%;
  text-align: center;
}
.article_header .thumb_face{
  padding: 0 2em 0 0;
  flex-shrink: 0;
  position: relative;
}
.article_header .thumb_face:after{
  content: '';
  margin: auto;
  display: block;
  position: absolute;
  top: 15px;
  right: -15px;
  bottom: -15px;
  left: 15px;
  width: 100%;
  height: 100%;
  background-color: rgba(223, 218, 218, 1);
  background-image: repeating-linear-gradient(135deg, transparent, transparent 2px, rgba(255, 255, 255, 1) 2px, rgba(255, 255, 255, 1) 6px );
  background-size: auto auto;
}
.article_header .thumb_face img{
  position: relative;
  z-index: 10;
  border: 3px solid #fff;
}
.article_header .name_box{
  padding: 0 0 0 3em;
  flex-grow: 1;
  background-image: url('../img/name_box_bg.png');
  background-repeat: no-repeat;
  background-position: right bottom;
}
.name_box .ttl_article{
  margin: 0 0 20px;
  padding: 0 2em 0.5em;
  box-sizing: border-box;
  border-bottom: 1px solid var(--line-light);
  color: var(--font-dark);
  font-size: 2.4rem;
}
.name_box .ttl_name{
  font-size: 1.8rem;
  font-weight: normal;
}
.name_box .ttl_name b{
  font-size: 1.2em;
}
.name_box .ttl_midashi{
  font-size: 1.3em;
  font-weight: bold;
}
.ttl_message{
  margin: 2em 0 1em 0;
  padding: 0.5em 1em 1em 0.5em;
  position: relative;
  border-bottom: solid 1px var(--nikken-red);
  color: #ed7d31;
  color: var(--nikken-red);
  font-size: 2.0rem;
}
.ttl_message::after{
  content: '';
  display: block;
  position: absolute;
  bottom: -0.75em;
  left: 3em;
  width: 1em;
  height: 1em;
  border-right: solid 1px var(--nikken-red);
  border-bottom: solid 1px var(--nikken-red);
  background-image: linear-gradient(135deg, transparent 0, transparent 45%, #fff 45%, #fff 100%);
  transform: rotateZ(45deg);
  transform-origin: bottom right;
}
.video_area{
  margin: 4em auto;
  text-align: center;
}

.celebration_ttl{
  margin: 0 0 40px;
  padding: 25px;
  position: relative;
  background-color: var(--nikken-red);
  text-align: center;
}
.celebration_ttl::before{
  content: ' ';
  margin: auto 0;
  position: absolute;
  top: 5px;
  right: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}
.celebration_ttl::after{
  content: ' ';
  margin: auto 0;
  position: absolute;
  right: 0;
  bottom: 5px;
  left: 0;
  width: 100%;
  height: 1px;
  background-color: #fff;
}
.interview-course-cont__info{
  padding: 20px 0 0;
  text-align: center;
}
.info-list{
  margin: 20px 0;
}
.info-list li:not(:last-child){
  margin: 0 0 10px;
}

.panel{
  padding: 50px 0 0;
}
.anchor_path{
  justify-content: center;
}
.top-tab{
  margin: 0 -10% ;
  padding: 0 10%;
  display: flex;
  justify-content: center;
  border-bottom: 2px solid var(--nikken-red);
}
.top-tab li{
  display: flex;
}
.top-tab a{
  margin: 0 2px;
  padding: 8px 25px;
  display: inline-block;
  display: flex;
  justify-content: center;
  align-items: center;
  width: auto;
  border: 2px solid #ccc;
  border-bottom: none;
  border-radius: 10px 10px 0 0;
  color: #333;
  font-size: 1.6rem;
  text-decoration: none;
  text-align: center;
  line-height: 1.2;
}
.tab-group .is-active{
  border: 2px solid var(--nikken-red);
  border-bottom: none;
  background-color: var(--nikken-red);
  color: #fff;
}
.btm-tab{
  margin: 30px auto 50px;
  padding: 0 0;
  display: flex;
  justify-content: center;
  border: 1px solid #ccc;
  border-radius: 10px;
}
.btm-tab li{
  flex: 1;
  box-sizing: border-box;
  width: 160px;
  text-align: center;
}
.btm-tab a{
  padding: 10px;
  display: block;
  box-sizing: border-box;
  width: 100%;
  border-right: 1px solid #ccc;
  text-decoration: none;
}
.btm-tab li:first-child a{
  border-radius: 10px 0 0 10px;
}
.btm-tab li:last-child a{
  border: none;
  border-radius: 0 10px 10px 0;
}
.panel{
  margin: 0 auto;
  padding: 30px 0 0;
  display: none;
  box-sizing: border-box;
  position: absolute;
  z-index: -1;
  top: 0;
  right: 0;
  left: 0;
  width: 100%;
  height: 10px;
  opacity: 0;
  transition: opacity 0.2s;
}
.panel-group{
  position: relative;
  min-height: 500px;
}
.panel.is-active{
  display: block;
  position: static;
  z-index: 10;
  height: auto;
  background-color: #fff;
  opacity: 1;
}
.anchor_path{
  display: grid;
  overflow: hidden;
  grid-template-columns: repeat(2, 1fr);
  gap: 5px;
}
.anchor_path li{
  margin: 0;
}
.anchor_path li a{
  padding: 5px 15px 5px 25px;
  display: flex;
  justify-content: center;
  align-items: center;
  min-width: 100px;
  height: 100%;
  color: var(--font-dark);
  font-size: 1.5rem;
  font-weight: normal;
  text-align: center;
  line-height: 1.4;
}
.anchor_path li a::before{
  bottom: 3px;
  left: 10px;
}
.interview-course-cont__info a{
  transition: all 0.2s ease;
  display: inline-block;
}
.interview-course-cont__info a:hover{
  opacity: 0.8;
}
.interview-course-cont__info h5{
  font-size: 1.5rem;
}
.interview-course-cont__info h5 span{
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
} 
.interview-course-cont__info h5 span::before,
.interview-course-cont__info h5 span::after{
  content: '';
  width: 30px;
  height: 1px;
  background-color: var(--font-dark);
}
.interview-course-cont__info h5 span::before{
  margin-right: 5px;
  transform: rotate(60deg);
}
.interview-course-cont__info h5 span::after{
  margin-left: 5px;
  transform: rotate(-60deg);
}
.course-link a{
  padding: 10px;
  display: inline-block;
}

/* ===========================================
	MediaQueries
=========================================== */
/* スマホ----------------------------- */
@media screen and (max-width: 767px){
  /*****
  記事サムネイル
  *****/
  .thumbnail{
    margin: 0 0 1em 0;
    width: 100%;
  }
  .thumbnail a{
    padding: 1em 2em 1em 1em;
    position: relative;
  }
  .thumbnail a::after{
    content: ' ';
    margin: auto 0;
    display: block;
    position: absolute;
    top: 0;
    right: 0.8em;
    bottom: 0;
    width: 12px;
    height: 12px;
    border-top: 1px solid var(--nikken-red);
    border-left: 1px solid var(--nikken-red);
    transform: rotate(135deg);
  }
  .thumb_header .face_img{
    max-width: 120px;
  }
  .thumb_text::after{
    content: '';
    width: 4em;
    height: 1.6em;
  }
  /*---------------------------------------------
  個別記事
  ---------------------------------------------*/
  .message_article{
    position: relative;
  }
  .message_single{
    font-size: 1.4rem;
  }
  .article_header{
    margin: 0 0 2em 0;
    padding: 1em 0 0 0;
    justify-content: space-between;
    text-align: center;
  }
  .celebration_ttl{
    margin: 0;
    padding: 15px;
  }
  .celebration_ttl img{
    width: 160px;
  }
  .article_header .thumb_face{
    margin: 0 auto 30px;
    padding: 0;
    min-width: 180px;
    max-width: 200px;
    width: 50%;
    border-right: none;
  }
  .article_header .name_box{
    background-size: auto 50%;
  }
  .name_box .ttl_article{
    font-size: 1.5rem;
  }
  .name_box .ttl_name b,
  .name_box .ttl_midashi{
    font-size: 1.2em;
    line-height: 1.5;
  }
  .article_header .name_box{
    padding: 0;
    flex-grow: 1;
  }
  .ttl_message{
    padding: 0.6em;
    font-size: 1.8rem;
  }
  .video_area{
    margin: 3em auto;
  }
  .video_area video{
    width: 100%;
    height: auto;
  }
}
/* PC----------------------------- */
@media screen and (min-width: 768px){
  #content_wrap{
    padding-top: 0;
  }
  /* タイトル背景調整 */
  #main_ttl h1{
    background-color: #625c4e;
    background-image: url(/nikken/img/bg_n.svg), url(/nikken/interview/message/img/header_bg1.png), url(/nikken/interview/message/img/header_bg2.jpg);
    background-position: right -3% center, left 40%,right center;
    background-size: auto 151%, 40% auto, auto 100%;
  }
  .btm-header #main_ttl h1{
    background-color: #625c4e;
    background-image: url(/nikken/img/bg_n.svg), url(/nikken/interview/message/img/header_bg1.png), url(/nikken/interview/message/img/header_bg2.jpg);
    background-position: right -3% center, 2% center, right center;
    background-size: auto 151%, auto 180%, auto 200%;
  }
  /*****
  バナー挿入
  *****/
  .bn_area{
    margin: 0 auto 4em;
  }

  /*---------------------------------------------
  個別記事
  ---------------------------------------------*/
  .article_header{
    margin-bottom: 3em;
    padding: 20px 25px 0;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  /*****
  記事サムネイル
  *****/
  .article_list{
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }
  .thumbnail a{
    padding: 1.2em;
  }
  .article_header .thumb_face:after{
    width: 80%;
  }
  .thumb_header .face_img{
    min-width: 100px;
  }
  .btn_flex_pc{
    display: flex;
    justify-content: center;
    gap: 20px;
  }

  .info-list{
    display: flex;
    justify-content: center;
    gap: 15px;
    align-items: center;
  }
  .info-list li:not(:last-child){
    margin: 0;
  }
  .interview-course-cont__info{
    padding: 50px 0 0;
  }
  .interview-course-cont__info h5{
    font-size: 1.8rem;
  }

  .btm-tab{
    width: 500px;
  }
  .top-tab a{
    margin: 0 5px;
    padding: 15px 20px;
    min-width: 14.0em;
    font-size: 1.6rem;
  }
  .anchor_path{
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
  }
  .anchor_path li a{
    padding: 15px 18px 15px 35px;
    font-size: 1.6rem;
  }
  .anchor_path li a::before{
    bottom: 3px;
    left: 13px;
  }
}
/* PC 幅広 1024px以上----------------------------- */
@media screen and (min-width: 1024px){
  /* タイトル背景調整 */
  #main_ttl h1{
    background-color: #625c4e;
    background-image: url(/nikken/img/bg_n.svg), url(/nikken/interview/message/img/header_bg1.png), url(/nikken/interview/message/img/header_bg2.jpg);
    background-position: right -3% center, left 40%,right center;
    background-size: auto 151%, 40% auto, auto 100%;
  }
  .btm-header #main_ttl h1{
    background-color: #625c4e;
    background-image: url(/nikken/img/bg_n.svg), url(/nikken/interview/message/img/header_bg1.png), url(/nikken/interview/message/img/header_bg2.jpg);
    background-position: right -3% center, 2% center, right center;
    background-size: auto 151%, auto 180%, auto 200%;
  }
  .article_list{
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
  }
	
	/*---------------------------------------------
	index
	---------------------------------------------*/
	/*****
	youtubeありページヘッダー
	*****/
	.main_cont_movie_header{
		display: flex;
		align-items: center;
	}
	.main_cont_movie{
		flex-shrink: 0;
		width: 50%;
		margin: 0;
	}
	.main_cont_info{
		padding: 0 0 0 30px;
	}
}
}