@charset "utf-8";

/*-----------------------------------------------
 __default style
-----------------------------------------------*/

/* @media screen and (min-width:768px) and ( max-width:1024px) */
@media screen and (max-width: 820px){
 
  #wrapper_out{
    width: 100%;
    min-width: 100%;
  }
  
  section {
      width: 95%;
      margin: 0 auto;
      margin-bottom: 0px;
  }
  
  .wrapper.searchsec section{
    padding: 0
  }
  
  .information{
    margin-bottom: 30px;
  }
  
  .saigai {
     display: inherit;
  }

  .saigai .saigai_item {
    width: 100%;
    margin-bottom: 50px;
  }

  .saigai_item.sigi3.emer {
      width: calc(100% - 0px);
    border: none;
  }
  
  
  
  .sigi2 .item_box {
    align-items: center;
  }
  
  .saigai_item.sigi3 .item_box {
      display: inherit;
  }
    
  h2.top_r{
    font-size: 180%;
    letter-spacing: normal;
  }
  
  h2.saigai_title{
    letter-spacing: normal;
    font-size: 130%;
  }
  
  .corona_bnr{
  width:100%;
}

  
/*----------------------------------------
ヘッダー
------------------------------------------*/

  #head_out{
    padding: 0px 0px;
    height: 70px;
    min-height: 70px;
    border-top: 3px solid #025bcf;
    border-bottom: 1px solid #ccc;
    position: relative; /*テストのため一時未設定に*/
    top:0;
    z-index:500;
    min-width: 100%;
  }
  
  #head{
    margin: 0 auto;
    padding: 0;
  }

  .toplogo{
    width: 55%;
    margin: 0;
  }
  
  .toplogo.head{
    display: inherit;
    position: absolute;
    top:0px;
    left: 0px;
  }
  
  .toplogo a{
    display: block;
    width: 100%;
    height: 70px;
    padding: 0px;
    margin: 0px 0;
    background-color: #fff;
    background-image: url(image/town_logo_sp.png);
    background-repeat: no-repeat;
    background-position: left center;
    background-size: contain;
  }
  
  .mbtn, .sbtn{
    width: 50px;
    height: 50px;
    margin:20px 0 0 0;
    padding:5px;
    background-color: #025bcf;
    text-align: center;
    color: #ffffff;
    font-size: 85%;
    border-radius: 0px;
  }
  
  .mbtn{
    float: right;
    /* margin-right: 3%; */
    background-color: transparent;
    /*20170906追記*/
    position: fixed;
    z-index: 200;
    right: 3%;
  }
  

  
  .sbtn{
    float: right;
    margin-right: 20%;
    background-color: #025bcf;
    background-image: url(image/sbtn.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size: contain;
    /* display: none; */
  }
  
  .mbtn p{
    width: 50px;
    height: 50px;
    background-image: url(image/sbtn.png);
    background-position: center center;
    background-repeat: no-repeat;
    background-size:cover;
  }
  
  .mbtn.menuon p{
    background-image: url(image/sbtn_on.png);
  }
  
  .mbtn p, .sbtn p{
  }
  
  
/*ホバーメニュー*/
  .navbtn{
    position: fixed;
    top: 18px;
    right: 15px;
    z-index: 9000;
    -webkit-transition: all .5 ease;
    transition: all .5s ease;
    display: inherit;
    background-color: rgba(255,255,255,0.9);
    padding: 5px;
    border-radius: 5px
  }

  .navbtn.mini{
    top: 18px;
  }

  .navtxt{
    position: fixed;
    top: 58px;
    right: 12px;
    z-index: 9000;
    -webkit-transition: all .5 ease;
    transition: all .5s ease;
    color: #fff
  }

  .navtxt.mini{
    top: 43px;
  }

  .menu-trigger,
  .menu-trigger span {
    display: inline-block;
    transition: all .4s;
    box-sizing: border-box;
  }
  .menu-trigger {
    position: relative;
    width: 27px;
    height: 27px;
    display: block;
  }
  .menu-trigger span {
    position: absolute;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: #025bcf;
    border-radius: 4px;
  }

  .menu-trigger span:nth-of-type(1) {
    top: 0;
  }
  .menu-trigger span:nth-of-type(2) {
    top: 12px;
  }
  .menu-trigger span:nth-of-type(3) {
    bottom: 0px;
  }

  /* .navbtn .menu-trigger.active span, .navbtn.mini .menu-trigger.active span {
    background-color: #fff;
  } */

  .menu-trigger.active span:nth-of-type(1) {
    -webkit-transform: translateY(12px) rotate(-45deg);
    transform: translateY(12px) rotate(-45deg);
  }
  .menu-trigger.active span:nth-of-type(2) {
    opacity: 0;
  }
  .menu-trigger.active span:nth-of-type(3) {
    -webkit-transform: translateY(-11px) rotate(45deg);
    transform: translateY(-11px) rotate(45deg);
  }

  .navbtn{
    display: inherit;
  }


  .slide_menu{
    min-width: 100%;
    max-width: 100%;
    /*以下改修用*/
    display: flex;
    flex-wrap: wrap-reverse;
    flex-direction:row;
    align-items: flex-start;
    align-content: flex-end;
    position: fixed;
    top:0;
    left:100%;
    z-index: 500;
    height: 100vh;
    background-color: #0062e2;
    border-top: 3px solid #025bcf;
    box-shadow: 0px 3px 5px rgba(90,90,90,0);
    overflow: hidden;
    transition: 0.3s;
    -moz-transition: 0.3s;
    -webkit-transition: 0.3s;
    overflow: auto;
  }

  .slide_menu.active{
    left:0;
  }
  
  .hmsec{
    background-color: transparent;
  }
  
  .hitem{
    width: 100%;
  }
  
  .headitem{
    margin: 0;
    padding: 0;
    width:100%;
  }
  
  
  #textsize{
    display: none;
  }
  .headitem.logo{
    background-color: #fff;
  }

  /* グローバルナビ */
  .hnav_sec{
    border-top:0px solid #ccc;
    box-shadow: 0px 3px 5px rgba(90,90,90,0);
    background-color: transparent;
    width: calc(100% - 30px);
  }
  
  .gnav.r2{
    width: 95%;
    border: none;
    margin: 0 auto;
  }
  
  .gnav.r2 ul li,.gnav.r2 ul li:nth-child(3) {
    letter-spacing: normal;
    margin: 0px 0px;
    padding: 0px 0px;
    border-right: 0px solid #666;
    border-top: 1px solid #fff;
    width: 100%;
  }
  
  .gnav.r2 ul li:nth-child(6){
    border-bottom: 1px solid #fff;
  }
  
  .gnav.r2 ul li a{
    text-align: left;
    text-decoration: none;
    margin: 0px 0;
    display: block;
    width: calc(100% - 20px);
    color: #fff;
    line-height: 2.5;
    padding: 0px;
    border-radius: 0px;
    padding-left: 20px;
  }
  
  .gnav.r2 ul li a:before {
    display: none;
  }
  
  .gnav.r2 ul li a:hover:after{
    display: none;
  }
  
  .gnav>ul>li:hover > .secondmenu, .gnav>ul>li> .secondmenu.focused{
    display: none;
  }
  
  
  /*検索フォーム*/
  .search_sec{
    background-color: #0062e2;
  }
  
  .search_sp.spmode{
    width: 90%;
    margin: 20px auto 0;
    text-align: center;
    flex-wrap: wrap;
  }
  
  .search_sp.spmode .key_text{
    text-align: center;
    color: #fff;
    margin: 0;
    padding: 0 0;
    font-size: 1.2em;
    width: 100%;
  }
  
  .search_sp.spmode #search_mobile,  .search_sp.spmode #search_mobile2{
    width: 70%;
    padding: 5px 5px;
    width: calc(70% - 10px);
    font-size: 1.1em;
    text-align: left;
  }
  
  .search-start{
    padding: 4px 0px;
    font-size: 1.2em;
    width: calc(30% - 20px);
    text-align: center;
  }
  
  /* 多言語 */
  .itemlist{
    text-align: center;
    width: 100%;
  }
  
  .item_ib{
    margin: 0;
  }
  
  .translate_element{
    margin: 0 auto;
  }
  
  #honyaku{
    padding: 10px 8px;
    font-size: 1.1em;
    width: calc(90% - 16px);
  }
  
  .close_sec{
    width: 100%;
    margin: 0 0;
    padding: 0 0;
    display: block;
  }
  
  .close_btn{
    border: 2px solid #fff;
    color: #fff;
    font-size: 1.1em;
    width: 186px;
    display: block;
    margin: 20px auto 0;
    padding: 10px 0;
    text-align: center;
    position: relative;
  }
  
  
/*----------------------------------------
フッター
------------------------------------------*/

  #foot_out2{
    margin-top: 20px;
    margin-top: 0px;
  }
  
  .h_link ul {
    flex-direction: column;
    width: 100%;
  }

  .h_link ul li {
      text-align: center;
      padding: 10px 0;
  }

  .address2 {
      margin-bottom: 20px;
      padding: 5px ;
  }

  #copy2 {
      width: 100%;
  }
  
  #foot2 {
      width: 100%;
      flex-direction: column;
  }
  
  .copyright{
    width: 96%;
    padding: 10px 2%;
    font-size: 80%;
  }

  /*広告バナー*/
  .bnr_sec {
    padding: 30px 0;
  }
  

/*----------------------------------------
お知らせ
------------------------------------------*/
  .toppage-news dl,.toppage-news .tab_content dl {
      display: flex;
      width: 100%;
      flex-wrap: wrap;
      padding: 10px 0;
  }
  
  .toppage-news dl dt,.toppage-news .tab_content dl dt{
    width: 100%;
  }
  
  .toppage-news dl dd,.toppage-news .tab_content dl dd{
    width: 100%;
    padding: 8px 0;
  }
  
/*----------------------------------------
いざというときに
------------------------------------------*/
    
  .bousai_link{
    justify-content: center;
    flex-wrap: wrap;
  }
  
  .bousai_link p{
    width: 90%;
    max-width: 100%;
    margin: 10px 0;
  }
    
  
/*----------------------------------------
情報を探す
------------------------------------------*/
    
  #search_mobile,#search_mobile2{
    width: 60%
  }
  
  
  
  ul.word_list{
    flex-wrap: wrap;
    text-align: center;
  }
  
  ul.word_list li{
    padding: 10px;
    font-size: 110%;
  }
  
  ul.word_list li:first-child{
    width: 100%;
    font-weight: bold;
    padding-bottom: 15px;
  }
  
  .search {
          display: inherit;
      }

  .search_icon {
      justify-content: space-around;
  }

  .search .search_item{
          width: 100%;
      }

  .search_icon .search_link {
      width: 45%;
      margin-bottom: 15px;
  }

  .search_icon .search_link a{
    height: 150px;
    padding-top: 20px;
  }
  
  .search .search_item {
      padding: 0px;
      margin-bottom: 50px;
  }

  .search p {
      padding: 10px 0;
  }

  .about {
    display: inherit;
    border: none;
  }

  .about .about_item.about_l {
    width: 100%;
    padding: 0;
  }

  .about .about_item.about_l .about_p {
      width: 45%;
      margin: 10px 0;
  }

  .about .about_item.about_l .about_p.sp {
      border:none;
      border-left: 12px solid #fff;
  }
  .about .about_item.about_r {
      width: 100%;
      /* height: 300px; */
      margin-top: 30px;
  }


  .banner_link ul {
      flex-wrap: wrap;
  }

  .banner_link ul li {
    text-align: center;
    width: 50%;
    margin-bottom: 20px;
  }

  .banner_link ul li img {
    width: 90%;
  }

  #contents {
    padding: 0!important;
  }

  .twitter_link {
    width: 95%;
    margin: 0 auto;
  }

  .twitter_link li{
    padding-bottom: 5px;
  }

    
/*-----------------------------------------------
   __ホバーメニュー
  -----------------------------------------------*/
/*     .navbtn.mini2{
      position: fixed;
      top: 16px;
      right: 10px;
      display: block;
    }
    
    .search_sec.hover_s {
    text-align: center;
    background: none;
    padding: 13px 0px 0px;
    }
    
    #head_out {
    height: 65px;
    }
    .toplogo a {
    height: 50px;
    background-position: 0 50%;
    }
    
    
     */

#main_box {
    width: 100%!important;
    padding: 105px 0 0;
}
  
/*-----------------------------------------------
   女川町について
  -----------------------------------------------*/

  .wrapper.about_o section {
      padding: 50px 0;
  }

  .about .about_item.about_l,.about .about_item.about_r{
    width: 95%;
    padding: 0;
    margin: 10px auto 20px;
  }
  
  .about .about_item.about_r{
    padding-top: 20px;
  }

  .about .about_item.about_l .about_p{
    padding: 0 0;
    margin: 10px;
    width: calc(100% - 20px);
  }
  
  /* .about .about_item.about_r p{
    font-size: 120%;
  } */

  .jinkou_item{
    margin-top: 0;
    justify-content: flex-start;
  }

  .j_block{
    width: 60%;
  }
  
  .j_block.chi2{
    width: 40%;
    text-align: center;
  }

  .j_block img{
    width: 95%;
    margin: 0 auto;
    padding: 0 0;
  }
  
  
/*-----------------------------------------------
   公式ツイッター
  -----------------------------------------------*/
  .twitter{
    display: none
  }
  
  .twitter.name{
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: stretch;
    text-align: center;
  }
  
  .twt_link, .twt_link.sns{
    width: 100%;
    font-size: 120%;
    margin-bottom: 20px;
  }
  
  
  
  .twitter{
    display: none
  }
  
  /*カウントダウン*/
  
  .count_100th{
    flex-direction: column;
   padding: 20px 0;
  }
  
  .logo_bnr{
    width:  100%;
  }
  
  .countdown{
    width: 100%;
    margin:20px 0 0;
  }
  
  
}



@media screen and (max-width: 320px){

  .gnav a {
    padding: 4.5px 0px;
  }
    
}


@media screen and (max-width: 450px){
  .count_100th{
   padding: 10px;
  }
  
  .countdown p{
    font-size: 1.2em;
  }
  .countdown .day_num p{
    font-size: 3em;
    padding: 0 0px 5px;
    min-width:50px;
  }
    .day_txt{
      font-size: 1.5em
    }
    
}






/*-----------------------------------------------------------------------------
__タブレット縦
------------------------------------------------------------------------------*/
@media screen
  and (min-width: 440px)
  and (max-width: 820px)
  and (orientation: portrait){
    .search_icon .search_link a{
      height: 160px;
    }
}
@media screen
  and (min-width: 560px)
  and (max-width: 820px)
  and (orientation: portrait){
      
  section {
      width: 98%;
      margin: 0 auto;
      margin-bottom: 100px;
  }

  .gnav {
      position: relative;
      width: 100%;
  }

  #wrapper {
      width: 100%;
      padding: 0;
  }

  #main_box {
      width: 100%;
      padding: 0;
  }

  .bnr_sec ul li {
      width: 30%;
  }
    
    .bousai_link{
      width: 95%;
      margin:  0 auto;
      justify-content: space-between;
    }
    
    .bousai_link p{
      font-size: 110%;
      width: 47%;
    }
    
    .fa-2x{
      /* font-size: 1.5em; */
    }
    
    .search_icon .search_link a img{
      width: 45%;
      max-width: 90px;
    }
    
    .item_box.photo img{
      max-width: 320px;
    }
    
    
    .about .about_item.about_l .about_p{
      width: 45%;
    }
    
    
    
    .jinkou_item{
      margin-top: 0;
      justify-content: center;
    }
    
    .j_block{
      width: 50%;
    }

    .j_block.chi2{
      width: 50%;
      text-align: center;
    }

    .j_block img{
      width: 70%;
      margin: 0 auto;
      padding: 0 0;
    }

    
    
}


/*-----------------------------------------------------------------------------
__タブレット縦
------------------------------------------------------------------------------*/

@media screen
  and (min-width: 768px)
  and (max-width: 1080px)
  and (orientation: portrait){
      
section {
    width: 98%;
    margin: 0 auto;
    margin-bottom: 100px;
}
      
.gnav {
    position: relative;
    width: 100%;
}
      
#wrapper {
    width: 100%;
    padding: 0;
}
      
#main_box {
    width: 100%;
    padding: 0;
}
      
.bnr_sec ul li {
    width: 30%;
}
  .twt_link, .twt_link.sns{
    /* width: calc(100% / 2 - 20px); */
  }
  
}

@media screen
  and (min-width: 820px)
  and (max-width: 1080px){
      
/*   .count_100th{
      align-items: flex-end;
    }
  .logo_bnr{
    width:  55%;
  }
  
  .countdown{
    width: 40%;
    margin:20px 0 0;
  }
    
  .countdown .day_num p{
    font-size: 3em;
    padding: 0 0px 5px;
    min-width:50px;
  }
    .day_txt{
      font-size: 1.8em
    } */
  
}

/* タブレット横------------------------------------------------- */

@media screen
  and (min-width: 768px)
  and (max-width: 1080px)
  and (orientation: landscape){
      
      
section {
    width: 98%;
    margin: 0 auto;
    margin-bottom: 100px;
}
      
.gnav {
    position: relative;
    width: 100%;
}
      
#wrapper {
    width: 100%;
    padding: 0;
}
      
#main_box {
    width: 100%;
    padding: 0;
}
      
.bnr_sec ul li {
    width: 30%;
}
}