@charset "utf-8";

/* -------------------------------------------------
-------------------------------------------------
*01. SP
*02. PC

-------------------------------------------------
------------------------------------------------- */


/* ---------------------------

01. SP

---------------------------*/

@media (max-width: 768px) {

#mainvisual {
  background: url(/wp-content/themes/affinger5-child/images/top/mainvisual_mineo_sp.jpg) center 30px no-repeat;
  background-size: cover;
  height: 530px;
  position: relative;
}
.mainvisual_lt {
}
.mainvisual_rt {
}
.mainvisual_okagesama {
  background: url(/wp-content/themes/affinger5-child/images/top/mainvisual_text_sp.png) center no-repeat #e95a83;
  background-size: 297px 20px;
  width: 100%;
  height: 20px;
  margin: 0 auto;
  text-indent: 100%;
  white-space: nowrap;
  overflow: hidden;
  padding: 8px 0;
  
  position: absolute;
  top: 0;
  left: 0;
}
.mainvisual_text{
  width: 252px;
  height: 475px;
  position: absolute;
  left: 10px;
  bottom: 10px;
}
.mainvisual_text h1{
	margin: 0;
}
.mainvisual_text img{
  width: 100%;
  height: auto;
}
.mainvisual_name{
  display: block;
  position: absolute;
  right: 10px;
  bottom: 20px;
  font-size: 10px;
  line-height: 12px;
  color: #FFF;
  text-align: right;
  text-shadow: 0 0 1px #000;
}
#content main .top_nav_ul {
  display: flex;
  margin-bottom: 0;
  flex-wrap: wrap;
}
.top_nav_li {
  background-color: #e95a83;
  line-height: 18px;
  margin-bottom: 1px;
  text-align: center;
  width: 50%;
  position: relative;
}
.top_nav_li:after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: #FFF;
  position: absolute;
  right: 0;
  top: 0;
}
.top_nav_li:last-child:after {
  background-color: transparent;
}
.top_nav_li a {
  color: #FFF;
  display: block;
  padding: 25px 0;
}
.arrow_white {
  position: absolute;
  right: 20px;
  bottom: 10px;
}
.arrow_white::before, .arrow_white::after {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}
.arrow_white::before {
  left: 3px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.top_nav_li:hover {
  opacity: 0.8;
}
.top_nav_txt {
  font-size: 15px;
  margin-bottom: 9px;
}
.top_nav_subTxt {
  font-size: 11px;
  line-height: 13px;
  margin-bottom: 0;
}
.top_nav_icon {
  width: 55px;
  height: 45px;
  margin: 0 auto 15px;
}
.top_nav_icon_01 {
  background: url(/wp-content/themes/affinger5-child/images/top/icon_top_nav_ring_sp.png) no-repeat;
  background-size: 55px 45px;
}
.top_nav_icon_02 {
  background: url(/wp-content/themes/affinger5-child/images/top/icon_top_nav_ryokin_sp.png) no-repeat;
  background-size: 55px 45px;
}
.top_nav_icon_03 {
  background: url(/wp-content/themes/affinger5-child/images/top/icon_top_nav_rank_sp.png) no-repeat;
  background-size: 55px 45px;
}
.top_nav_icon_04 {
  background: url(/wp-content/themes/affinger5-child/images/top/icon_top_nav_nyukai_sp.png) no-repeat;
  background-size: 55px 45px;
}
  
  
/* -- #top_about --*/
  #top_about{
    padding: 20px 0 50px;
  }
  .top_about_text:before{
    background: url(/wp-content/themes/affinger5-child/images/top/img_top_about_sp.jpg) center top no-repeat;
    background-size: contain;
    content: "";
    display: block;
    min-height: 225px;
    margin-bottom: 30px;
  }
  .top_about_text{
  }
  .top_about_text p + p{
    margin-bottom: 2em;
  }
  
  
/* -- top_kodawari */
  #top_kodawari{
    background-color: #f1f1f1;
    padding: 30px 0;
    position: relative;
    text-align: left;
  }
  .top_kodawari_tit{
  width: 216px;
  height: 63px;
  margin: 0 auto 30px;
  }
  .top_kodawari_tit img{
  width: 216px;
  height: auto;
  }
  .top_kodawari_li{
    margin: 0 auto 30px;
    width: 280px;
  }
     .top_kodawari_li li a{
	    color:#fff;
    } 
  
  .top_kodawari_li li{
    color: #FFF;
    background-color: #e95a83;
    border-radius: 100px;
    float: left;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-size: 15px;
    margin: 0 3px;
    line-height: 18px;
    width: 88px;
    height: 88px;
    text-align: center;
  }
  
    .top_kodawari_li li a{
	    color:#fff;
    }
  
  .top_kodawari_li li:last-child{
    margin-right: 0;
  }
  .top_kodawari_number{
    display: block;
    font-size: 24px;
    line-height: 24px;
    margin: -15px auto 10px;
    background-color: #78b1e0;
    width: 30px;
  }
  .top_kodawari_text{
  }
  .btn_kodawari{
    max-width: 320px;
    margin: 0 auto;
  }
  
  #top_korehodo{
    background-color: #f6f7f7;
    padding: 50px 0 10px;
  }
  
  .top_korehodo_tit{
  width: 233px;
  height: 85px;
  margin: 0 auto 40px;
  }
  .top_korehodo_tit img{
  width: 233px;
  height: auto;
  }
  .top_korehodo_lt{
  }
  .top_korehodo_rt{
    background: url(/wp-content/themes/affinger5-child/images/top/img_top_korehodo.jpg) bottom center no-repeat;
    background-size: cover;
    width: 100%;
    height: 300px;
    margin-bottom: 20px;
    float: right;
  }
  
  
  
  #top_adviser{
    padding: 60px 0 0;
  }
  .top_adviser_ul{
    width: 100%;
    margin: 0 auto -40px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
  }
  .top_adviser_li{
    width: 44%;
    height: 44%;
    margin: 0 3%;
    float: left;
    font-size: 12px;
    line-height: 18px;
    text-align: center;
  }
  .top_adviser_li strong{
    font-size: 14px;
  }
  .top_adviser_ph{
    width: 100%;
    height: 100%;
    border: 1px solid #DDD;
    border-radius: 100px;
    margin-bottom: 5px;
    line-height: 0;
    overflow: hidden;
  }
  .top_adviser_ph img{
    width: 100%;
    height: auto;
  }
  
  
  
  #top_media{
    background: url(/wp-content/themes/affinger5-child/images/top/bg_top_media.png) left top no-repeat #f3ebe4;
    background-size: 200px 200px;
    margin-top: 60px;
    padding-bottom: 40px;
    position: relative;
  }
  .top_media_inner{
  }
  .top_media_name{
    background-color: #d4b094;
    color: #FFF;
    line-height: 22px;
    font-size: 12px;
    padding: 10px;
    width: 100px;
    position: absolute;
    top: -5px;
    left: 10px;
  }
  .icon_top_media{
    width: 38px;
    height: 24px;
    float: left;
  }
  .top_media_tit{
    font-size: 15px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
    padding-top: 60px;
  }
  .top_media_youtube{
    width: 100%;
    padding-bottom: 10px;
  }
  .top_media_youtube iframe{
    width: 100%;
  }
  .top_media_text p{
    margin-bottom: 0 !important;
  }
  
  
  #top_news{ 
    background: url(/wp-content/themes/affinger5-child/images/top/bg_top_news.png) left top no-repeat #f6f7f7;
    background-size: 200px 200px;
    margin-top: 60px;
    padding-bottom: 40px;
    position: relative;
    }
  .top_news_inner{
  }
  .top_news_name{
    background-color: #78b1e0;
    color: #FFF;
    line-height: 22px;
    font-size: 12px;
    padding: 10px;
    width: 100px;
    position: absolute;
    top: -5px;
    left: 10px;
  }
  .icon_top_news{
    width: 38px;
    height: 24px;
    float: left;
    margin-right: 8px;
  }
  .top_news_column{
    padding-top: 60px;
  }
  .top_news_news{
    padding-top: 40px;
  }
  .top_news_tit{
    font-size: 18px;
    padding-bottom: 15px;
    margin-bottom: 15px;
    border-bottom: 1px solid #000;
  }
  .top_news_dl dt{
    width: 100px;
    margin-bottom: 10px;
    float: left;
    clear: left;
  }
  .top_news_dl dd{
    margin-left: 100px;
    margin-bottom: 10px;
  }
  a.top_btn_common_white{
    width: 100%;
    display: block;
  }
  
  #top_voice{
    border-top: 3px solid #e95a83;
    padding-top: 50px;
    margin-bottom: -20px;
  }
  .top_voice_set{
  }
  .top_voice_titSet{
    background-color: #e95a83;
  }
  .top_voice_tit {
    padding: 10px 20px;
    color: #FFF;
    font-size: 18px;
  }
  .top_voice_ph{
    width: 100%;
    height: 350px;
    overflow: hidden;
    margin-bottom: 20px;
  }
  .top_voice_ph img{
    width: 100%;
    height: auto;
  }
  .top_voice_textArea{
    margin: 0 20px;
  }
  .top_voice_midashi{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    padding-left: 33px;
    position: relative;
  }
  .top_voice_midashi:before{
    background-color: #000;
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    position: absolute;
    top: 12px;
    left: 0;
  }
  
  .top_voice_li{
    width: 50%;
    float: left;
    margin-bottom: 20px;
  }
  .top_voice_list_ph{
    width: 140px;
    height: 140px;
    border-radius: 100px;
    overflow: hidden;
    margin: 0 auto 8px;
  }
  .top_voice_list_ph img{
    width: 100%;
    height: auto;
  }
  .top_voice_dl{
    padding-left: 16px;
    font-size: 11px;
  }
  .top_voice_dl dt{
    border-radius: 20px;
    color: #FFF;
    margin-bottom: 5px;
    width: 44px;
    text-align: center;
    
    float: left;
    clear: left;
  }
  .top_voice_dl dd{
    margin-left: 53px;
    margin-bottom: 5px;
  }
  .top_voice_male{
    background-color: #78b1e0;
  }
  .top_voice_female{
    background-color: #f29eb8;
  }
  .btn_voiceArea{
    margin: 0 auto;
    text-align: center;
  }
  a.btn_voice{
    display: block;
    margin: 0 20px;
  }
}

/* ---------------------------

02. PC

---------------------------*/
@media (min-width: 769px) {
#mainvisual {
  background: url(/wp-content/themes/affinger5-child/images/top/mainvisual_mineo1.jpg) top right no-repeat;
  background-size: 741px 512px;
  height: 512px;
  position: relative;
}
.mainvisual_lt {
  background: url(/wp-content/themes/affinger5-child/images/top/mainvisual_lt.png) no-repeat;
  background-size: 330px 512px;
  width: 330px;
  height: 512px;
  position: absolute;
  top: 0;
  left: 0;
}
.mainvisual_rt {
  background: url(/wp-content/themes/affinger5-child/images/top/mainvisual_rt.png) no-repeat;
  background-size: 330px 512px;
  width: 330px;
  height: 512px;
  position: absolute;
  top: 0;
  right: 0;
}
.mainvisual_text {
  width: 828px;
  height: 512px;
  margin: 0 auto;
  padding-top: 8px;
}
.mainvisual_text img{
  width: 100%;
  height: auto;
}
#content main .top_nav_ul {
  display: flex;
  margin-bottom: 0;
}
.top_nav_li {
  background-color: #e95a83;
  line-height: 18px;
  position: relative;
  text-align: center;
  width: 25%;
  position: relative;
}
.top_nav_li:after {
  content: "";
  display: block;
  width: 1px;
  height: 100%;
  background-color: #FFF;
  position: absolute;
  right: 0;
  top: 0;
}
.top_nav_li:last-child:after {
  background-color: transparent;
}
.top_nav_li a {
  color: #FFF;
  display: block;
  padding: 25px 0;
}
.arrow_white {
  position: absolute;
  right: 30px;
  bottom: 10px;
}
.arrow_white::before, .arrow_white::after {
  position: absolute;
  bottom: 0;
  right: 0;
  margin: auto;
  content: "";
  vertical-align: middle;
}
.arrow_white::before {
  left: 3px;
  width: 5px;
  height: 5px;
  border-top: 2px solid #FFF;
  border-right: 2px solid #FFF;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}
.top_nav_li:hover {
  opacity: 0.8;
}
.top_nav_txt {
  font-size: 20px;
  margin-bottom: 15px;
}
.top_nav_subTxt {
  font-size: 12px;
}
.top_nav_icon {
  width: 58px;
  height: 46px;
  margin: 0 auto 15px;
}
.top_nav_icon_01 {
  background: url(/wp-content/themes/affinger5-child/images/top/icon_top_nav_ring.png) no-repeat;
  background-size: 58px 46px;
}
.top_nav_icon_02 {
  background: url(/wp-content/themes/affinger5-child/images/top/icon_top_nav_ryokin.png) no-repeat;
  background-size: 58px 46px;
}
.top_nav_icon_03 {
  background: url(/wp-content/themes/affinger5-child/images/top/icon_top_nav_rank.png) no-repeat;
  background-size: 58px 46px;
}
.top_nav_icon_04 {
  background: url(/wp-content/themes/affinger5-child/images/top/icon_top_nav_nyukai.png) no-repeat;
  background-size: 58px 46px;
}
  
  
/* #top_about --*/
  #top_about{
    background: url(/wp-content/themes/affinger5-child/images/top/img_top_about.png) top left no-repeat #f6f7f7;
    background-size: 460px 780px;
    padding: 120px 0;
  }
  .top_about_text{
    display: table;
    margin: auto;
    font-size: 14px;
  }
  .top_about_text p + p{
    margin-bottom: 2em;
  }
  
  
  /* top_kodawari */
  #top_kodawari{
    padding: 25px 0 80px;
    position: relative;
    text-align: center;
  }
  #top_kodawari:before{
    background: url(/wp-content/themes/affinger5-child/images/top/img_top_kodawari_hdr.png) no-repeat;
    background-size: 748px 173px;
    content: "";
    display: block;
    margin: 30px auto;
    width: 748px;
    height: 173px;
  }
  #top_kodawari:after{
    background: url(/wp-content/themes/affinger5-child/images/top/img_top_kodawari_ftr.png) no-repeat;
    background-size: 748px 173px;
    content: "";
    display: block;
    margin: 30px auto;
    width: 748px;
    height: 173px;
  }
  .top_kodawari_tit{
  width: 345px;
  height: 104px;
  margin: 0 auto 35px;
  }
  .top_kodawari_tit img{
  width: 345px;
  height: auto;
  }
  .top_kodawari_li{
    margin: 0 auto 30px;
    width: 592px;
  }
  .top_kodawari_li li{
    color: #FFF;
    background-color: #e95a83;
    border-radius: 100px;
    float: left;
  font-family: "游明朝体", "Yu Mincho", YuMincho, "ヒラギノ明朝 Pro", "Hiragino Mincho Pro", "MS P明朝", "MS PMincho", serif;
    font-size: 24px;
    margin-right: 17px;
    line-height: 34px;
    width: 186px;
    height: 186px;
    text-align: center;
  }
  
    .top_kodawari_li li a{
	    color:#fff;
    }
  .top_kodawari_li li:last-child{
    margin-right: 0;
  }
  .top_kodawari_number{
    display: block;
    font-size: 48px;
    line-height: 48px;
    margin: 20px 0 10px;
  }
  .top_kodawari_text{
    padding-bottom: 30px;
  }
  
  #top_korehodo{
    background-color: #f6f7f7;
    padding: 100px 0 120px;
  }
  
  .top_korehodo_tit{
  background: url(/wp-content/themes/affinger5-child/images/top/img_top_korehodo.png) no-repeat;
  background-size: cover ;
  width: 376px;
  height: 154px;
  margin: 0 auto 100px;
  }
  .top_korehodo_tit img{
  width: 376px;
  height: auto;
  }
  .top_korehodo_lt{
    width: 600px;
    float: left;
  }
  .top_korehodo_rt{
    background: url(/wp-content/themes/affinger5-child/images/top/img_top_korehodo.jpg) no-repeat;
    background-size: cover;
    width: 360px;
    height: 350px;
    float: right;
  }
  
  
  
  #top_adviser{
    padding: 100px 0 120px;
  }
  .top_adviser_ul{
    width: 1000px;
    margin: 0 auto -40px;
    overflow: hidden;
    display: flex;
    flex-wrap: wrap;
  }
  .top_adviser_li{
    width: 200px;
    margin: 0 25px 40px;
    float: left;
    line-height: 18px;
    text-align: center;
  }
  .top_adviser_li strong{
    font-size: 16px;
  }
  .top_adviser_ph{
    width: 198px;
    height: 198px;
    border: 1px solid #DDD;
    border-radius: 100px;
    margin-bottom: 15px;
    overflow: hidden;
  }
  .top_adviser_ph img{
    width: 100%;
    height: auto;
  }
  
  
  
  #top_media{  }
  .top_media_inner{
    background: url(/wp-content/themes/affinger5-child/images/top/bg_top_media.png) left top no-repeat #f3ebe4;
    background-size: 200px 200px;
    margin-top: 60px;
    padding: 40px 0;
    position: relative;
  }
  .top_media_name{
    background-color: #d4b094;
    color: #FFF;
    line-height: 22px;
    font-size: 12px;
    width: 62px;
    height: 72px;
    text-align: center;
    position: absolute;
    top: -4px;
    left: 20px;
  }
  .icon_top_media{
    width: 38px;
    height: 24px;
    padding-top: 13px;
    display: block;
    margin: 0 auto 10px;
  }
  .top_media_tit{
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    margin-bottom: 30px;
  }
  .top_media_youtube{
    width: 460px;
    float: left;
    margin-left: 40px;
  }
  .top_media_text{
    width: 420px;
    float: right;
    margin-right: 40px;
  }
  
  
  #top_news{  }
  .top_news_inner{
    background: url(/wp-content/themes/affinger5-child/images/top/bg_top_news.png) left top no-repeat #f6f7f7;
    background-size: 200px 200px;
    margin-top: 60px;
    padding: 90px 0 40px;
    position: relative;
  }
  .top_news_name{
    background-color: #78b1e0;
    color: #FFF;
    font-size: 12px;
    line-height: 22px;
    width: 62px;
    height: 72px;
    text-align: center;
    position: absolute;
    top: -4px;
    left: 20px;
  }
  .icon_top_news{
    width: 38px;
    height: 24px;
    padding-top: 13px;
    display: block;
    margin: 0 auto 10px;
  }
  .top_news_column{
    width: 440px;
    float: right;
    margin-right: 40px;
  }
  .top_news_news{
    width: 440px;
    float: left;
    margin-left: 40px;
  }
  .top_news_tit{
    font-size: 18px;
    padding-bottom: 20px;
    margin-bottom: 20px;
    border-bottom: 1px solid #000;
  }
  .top_news_dl dt{
    width: 100px;
    float: left;
    clear: left;
  }
  .top_news_dl dd{
    margin-left: 100px;
  }
  a.top_btn_common_white{
    width: 180px;
    display: block;
    float: right;
  }
  
  .top_voice_set{
    border: 1px solid #e95a83;
    height: 349px;
    margin: 30px 0;
    position: relative;
  }
  .top_voice_titSet{
    position: absolute;
    top: 0;
    right: 0;
    width: 670px;
    background-color: #e95a83;
  }
  .top_voice_tit {
    padding: 10px 25px;
    color: #FFF;
    font-size: 18px;
  }
  .top_voice_ph{
    width: 329px;
    height: 349px;
    position: absolute;
    top: 0;
    left: 0;
  }
  .top_voice_ph img{
    width: 100%;
    height: auto;
  }
  .top_voice_textArea{
    margin:75px 25px 25px 360px;
  }
  .top_voice_midashi{
    font-size: 18px;
    font-weight: bold;
    margin-bottom: 8px;
    padding-left: 38px;
    position: relative;
  }
  .top_voice_midashi:before{
    background-color: #000;
    content: "";
    display: block;
    width: 30px;
    height: 1px;
    position: absolute;
    top: 12px;
    left: 0;
  }
  p + .top_voice_midashi{
    margin-top: 0;
  }
  
  .top_voice_li{
    width: 200px;
    float: left;
  }
  .top_voice_list_ph{
    width: 140px;
    height: 140px;
    border-radius: 100px;
    overflow: hidden;
    margin: 0 auto 8px;

  }
  .top_voice_list_ph img{
    width: 100%;
    height: auto;
  }
  .top_voice_dl{
    padding-left: 16px;
    font-size: 12px;
  }
  .top_voice_dl dt{
    border-radius: 20px;
    color: #FFF;
    margin-bottom: 5px;
    width: 44px;
    text-align: center;
    
    float: left;
    clear: left;
  }
  .top_voice_dl dd{
    margin-left: 53px;
    margin-bottom: 5px;
  }
  .top_voice_male{
    background-color: #78b1e0;
  }
  .top_voice_female{
    background-color: #f29eb8;
  }
  .btn_voiceArea{
    margin: 60px auto 0;
    text-align: center;
  }
  a.btn_voice{
    display: block;
    margin: 0 auto;
    width: 180px;
  }
}

/*+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+
数字で見るハッピーカムカム
+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+--+*/
.suji-banner {
	transition: 0.3s ease-in-out;
}

.suji-banner:hover {
	opacity: 0.8;
}

.suji-banner:hover img {
	opacity: 1;
}

@media (min-width: 769px) {
.top_about_container {
	position: relative;
	min-width: 1460px;
	max-width: 1600px;
	margin: auto;
}

.suji-banner {
	position: absolute;
	top: -80px;
	right: 200px;
	z-index: 1;
}
}

@media (max-width: 768px) {
.top_suji_container {
	position: relative;
}

.top_suji_container .suji-banner-right{
	display: block;
	width: 40%;
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	z-index: 1;
}
.top_suji_container .suji-banner img {
	display: block;
	width: 100%;
}
.top_suji_container img.-under{
	display: block;
	width: 100%;
	position: absolute;
	top: 100%;
    z-index: 1;
}
}