@charset "utf-8";

/* ===============================================
# 第二階層メイン
=============================================== */
.sec_main{
  position: relative;
  max-width: 1806px;
  height: 250px;
  width: 100%;
  margin: 0 auto;
}
.sec_main img{
  position: absolute;
}  
@media print,screen and (min-width :768px){
  .sec_main img{
    position: absolute;
    left: 50%;
    top: 50%;
    -ms-transform: translate(-50%,-50%);
    transform: translate(-50%,-50%);
    max-width: inherit;
  }  
}
@media screen and (max-width :767px){
  .sec_main{
    height: auto;
    padding-top: 33.33%;    
    width: 86.6%;
  }
  .sec_main img{
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
  }
}

/* ===============================================
# 共通inner
=============================================== */
.inner_common{
    width: 96%;
    max-width: 1040px;
    margin-right: auto;
    margin-left: auto;
}
@media print,screen and (min-width :768px){
  .inner_common_pc{
    width: 96%;
    max-width: 1040px;
    margin-right: auto;
    margin-left: auto;
  }
}
@media screen and (max-width :767px){
  .inner_common{
      width: 86.6%;
  }
}
/* ===============================================
# 共通box
=============================================== */
.box_grey{
  background-color: #fcfcfc;
}
@media print,screen and (min-width :768px){
  .box_grey{
    padding-top: 57px;
    padding-bottom: 53px;      
  }  
  .box_grey_pc{
    padding-top: 57px;
    padding-bottom: 53px;  
    background-color: #fcfcfc;
  }
}
@media screen and (max-width :767px){
  .box_grey{
    padding-top: 27px;
    padding-bottom: 30px;   
  }  
  .box_grey_smp{
    padding-top: 27px;
    padding-bottom: 30px;  
    background-color: #fcfcfc;
  }  
  .box_grey_smp .inner{
    width: 86.6%;
    margin-left: auto;
    margin-right: auto;
  }
}

/*紋章背景*/
.bg_crest{
  position: relative;
}
.bg_crest::before{
  display: block;
  content: '';
  width: 236px;
  height: 59px;
  position: absolute;
  left: 0;
  top: -57px;
  background: url(../img/img_crest.png) no-repeat bottom left;
  -ms-transform: translateY(-100%);
  transform: translateY(-100%);
}
.bg_crest.crest_pc::before{
  display: block;
} 
.bg_crest.crest_smp::before{
  display: none;
}
@media screen and (max-width :767px){
  .bg_crest::before{
    width: 31.4vw;
    height: 7.8vw;
    top: 0;
    left: auto;
    right: 6.6vw;
    background-size: 100% auto;
  }  
  .bg_crest.crest_pc::before{
    display: none;
  } 
  .bg_crest.crest_smp::before{
    display: block;
  }  
}
/* ===============================================
# パネル
=============================================== */
.box_panel{
  background-color: #fff;
  box-shadow: 0px 1px 20px 0px rgba(0, 0, 0, 0.15);  
}
.box_panel .effect span{
  display: inline-block;
  border: solid 1px #999999;
  padding: 3px 10px;
  font-size: 18px;
  font-size: 1.8rem;
  letter-spacing: 0.08em;
}
.box_panel .effect span:nth-child(n + 2){
  margin-left: 14px;
}
.box_panel .text{
  font-size: 22px;
  font-size: 2.2rem;
  margin-top: 10px;
}
@media print,screen and (min-width :768px){
  .box_panel{
    position: absolute;
    right: 0;
    top:-57px;
    z-index: 1;    
    -ms-transform: translateY(-83%);
    transform: translateY(-83%);    
  }
}
@media screen and (max-width :767px){
  .box_panel{
    width: 86.6%;
    margin-right: auto;
    margin-left: auto;
  }
  .box_panel .effect span{
    padding: 3px 8px;
    font-size: 13px;
    font-size: 1.3rem;
    letter-spacing: 0.02em;
  }
  .box_panel .effect span:nth-child(n + 2){
    margin-left: 7.5px;
  }
  .box_panel .text{
    font-size: 17.5px;
    font-size: 1.75rem;
  }
}

/* ===============================================
# タイトル
=============================================== */
/*縦タイトル-----------------------------------*/
@media print,screen and (min-width :768px){
  .title_length{
    position: absolute;
    left: 0;
    top: 0;
    -webkit-writing-mode: vertical-lr;
    -ms-writing-mode: tb-lr;
    writing-mode: vertical-lr;  
    padding-left: 70px;
    padding-top: 30px;
    background: url(../img/bg_ico.svg) no-repeat top left;
    background-size: 130px auto;
    min-width: 130px;
  }
  .title_length .main{
    font-size: 58px;
    font-size: 5.8rem;
    line-height: 1;
    color: #04080d; 
    display: inline-block;
  }
  .title_length .kana{
    display: inline-block;
    font-size: 22px;
    font-size: 2.2rem;
    letter-spacing: 0.34em;
    padding-top: 23px;  
  }
  .title_length .sub{
    font-size: 25.5px;
    font-size: 2.55rem;
    margin-left: 22px;
  }
}
@media screen and (max-width :767px){
  .title_length{
    width: 86.6%;
    margin-right: auto;
    margin-left: auto;    
    position: relative;
  }
  .title_length::before{
    content: '';
    display: block;
    z-index: 0;
    width: 17.4vw;
    height: 8.3vw;
    position: absolute;
    left:-4.5vw;
    top: -8px;
    background: url(../img/bg_ico.svg) no-repeat top left;
    background-size: 100% auto;  
  }  
  .title_length .main{
    position: relative;
    z-index: 1;
    font-size: 37.5px;
    font-size: 10vw;
    line-height: 1;
    color: #04080d; 
    letter-spacing: 0.14em;
    display: flex;
   align-items: center;
  }
  .title_length .kana{
    display: inline-block;
    font-size: 13px;
    font-size: 3.467vw;
    letter-spacing: 0.02em;
    padding-left: 10px;
  }
  .title_length .sub{
    position: relative;
    z-index: 1;    
    font-size: 15px;
    font-size: 4vw;
    margin-bottom: 0.6vw;
  }
}
/*下線タイトル-----------------------------------*/
.ttl_underline{
  margin-bottom: 15px;
  padding-bottom: 17px;
  font-size: 28px;
  font-size: 2.8rem;
  letter-spacing: 0.08em;
  border-bottom: solid 1px #e8e8e8;
}
@media screen and (max-width :767px){
  .ttl_underline{
    padding-bottom: 10px;
    font-size: 20px;
    font-size: 2rem;
    letter-spacing: 0;
  }
}

/* ===============================================
# ニュース
=============================================== */
.sec_news .news_list li:first-child{
  border-top: solid 1px #e8e8e8;  
}
.sec_news .news_list li{
  border-bottom: solid 1px #e8e8e8;
}
.sec_news .news_list a{
  padding: 35px 4.2% 35px 0;
  font-size: 16px;
  font-size: 1.6rem;
  display: -webkit-box;
  display: -ms-flex;  
  display: flex;
  align-items: center;
}
.sec_news .news_list a .date{
  display: inline-block;
  padding-right: 40px;
  font-size: 15px;
  font-size: 1.5rem;
}
.sec_news .link_arrow .ico{
  margin: 0 0 0 auto; 
}
@media screen and (max-width :767px){
  .sec_news .news_list a{
    padding: 6vw 0 6vw 0;
    font-size: 14px;
    font-size: 1.4rem;
    line-height: 1.3;
  }
  .sec_news .news_list a .date{
    display: block;
    padding-left: 0;
    padding-bottom: 4px;
    font-size: 11.5px;
    font-size: 1.15rem;    
  }
  .sec_news .news_right .link{
    margin-top: 7.3vw;
    text-align: right;
    font-size: 14px;
    font-size: 1.4rem;
  }
}

/* ===============================================
# モーダルウィンドウ
=============================================== */
#popup{
	display:none;
  position: fixed;
	z-index:600;  
  top:0;
  left: 0;
	width:100%;
	height:100%;
	background-color:rgba(0,0,0,0.5);
  padding: 0 4.2%;
}
#modal-content{
  position: fixed;
  top: 50%;
  left: 50%;  
  width: 92%;
  max-width: 720px;
  max-height: 85%;
	margin:0 auto;  
  -webkit-transform: translate(-50%,-50%);
  transform: translate(-50%,-50%);    
  z-index:610;
  -webkit-overflow-scrolling: touch;  
  overflow-y: auto;
}
#modal-content .inner{
  position: relative;
}
.modal_close{
  position: relative;
  text-align: right;
  margin-bottom: 10px;
}
.modal_close img{
  width: 40px;
  height: 40px;  
}
@media screen and (max-width :767px){
  .modal_close{
    position: fixed;
    top: 10px;
    right: 10px;
    margin-bottom: 0;
    z-index: 620;
  }
}