@charset "utf-8";

/*-　+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
■　header・グローバルナビ
@media screen and (min-width:1280px) {※以下：PCのみ}
@media screen and (max-width:1279px) {※以下：タブレットのみ}
@media screen and (max-width:599px) {※以下：スマホのみ}
+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++　--*/

/*------------------------------------------------------------
■　共通
------------------------------------------------------------*/
header {
  /*background:#ffffff url(../img/header_bg.png) no-repeat center 11px scroll;*/
  background: #ffffff;
  width: 100%;
  z-index: 300;
  position: fixed;
  box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 3px 0px;
  -webkit-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 3px 0px;
  -moz-box-shadow: rgba(0, 0, 0, 0.2) 0px 0px 3px 0px;
}

header h1 a {
  display: block;
  position: absolute;
}
header h1 a .logo_header {
  height: 45px;
}
header h1 a .header_h1_text {
  font-size: 12px;
  line-height: 1.2;
  font-weight: normal;
  color: #000000;
  float: right;
  padding-top: 2px;
  padding-left: 15px;
  width: 380px;
}

/*-- TEL・ボタン --*/
header .h_tel {
}
header .h_btn a,
header .h_tel a,
header .h_tel2 a {
  /*font-family: "Times New Roman", "YuMincho", "Hiragino Mincho ProN", "Yu Mincho", "MS PMincho", serif;*/
  line-height: 1.4;
  position: absolute;
  display: block;
  font-weight: bold;
  text-align: center;
  text-decoration: none;
  letter-spacing: 1px;
}

header .h_tel a {
  font-family: "impact", sans-serif;
  color: #df5c81;
  font-size: 28px;
  font-weight: 900;
  width: auto;
}

header .h_btn a {
  color: #fff;
  background: #df5c81;
}

header .h_btn a:hover {
  opacity: 0.85;
  background: #eb6100;
}

header .h_tel a i,
header .h_tel2 a i {
  padding-right: 0px;
  font-size: 98%;
}

header .h_tel2 a {
  font-family: "impact", sans-serif;
  color: #05a20d;
  font-size: 28px;
  font-weight: 900;
  width: auto;
}

/*-- 2階層式メニュー --*/
#g_navi ul li a.ac_menu {
  cursor: pointer;
  overflow: hidden;
}

/*追記*/
header .cap {
  font-size: 12px;
  line-height: 1.4;
  position: relative;
  top: 0;
  right: 0;
  z-index: 15;
  text-align: center;
  font-weight: bold;
  letter-spacing: 2px;
  color: #2a2a2a;
}

/*------------------------------------------------------------
■　PC
------------------------------------------------------------*/
@media screen and (min-width: 1280px) {
  /*ページ内リンクの余白＝headerの高さ*/
  html {
    scroll-padding-top: 140px;
    scroll-behavior: smooth;
  }

  /*header固定分の上部余白＝headerの高さ*/
  #top_nagano_slide {
    padding-top: 98px;
    padding-bottom: 20px;
  }

  /*フル画面imgのモーションで下が見えるのを防ぐ余白*/
  .sm-slider,
  .sm-slider:after {
    margin-top: 140px !important;
  }

  /* PCでは非表示のメニュー */
  #g_navi ul li.pc_none {
    display: none;
  }

  /*---------------------【header】---------------------*/

  header {
    height: 110px;
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
  }

  header h1 a {
    top: 15px;
    height: auto;
    left: 50%;
    margin-left: -600px;
  }

  header .h_btn a,
  header .h_tel a {
    top: 12px;
  }

  header .h_btn a {
    font-size: 14px;
    width: fit-content;
    display: inline-block;
    padding: 11px 20px 10px;
    right: 50%;
    margin-right: -615px;
    margin-top: 3px;
    border-radius: 5px;
  }
  header .h_btn a:hover {
    background: #df5c81;
  }
  header .h_tel a {
    right: 50%;
    margin-right: -430px;
    margin-top: 5px;
    width: fit-content;
  }
  header .h_tel2 a {
    right: 50%;
    margin-right: -200px;
    margin-top: 18px;
    width: fit-content;
  }

  /*-- ************　▼縦幅可変▼　*************  
header.fixed {
height: 110px;
}
header.fixed h1 a img {
top: 21px;
height: 30px;
}
header.fixed .h_btn a, 
header.fixed .h_tel a {
top: 8px;
}
header.fixed #g_navi {
height: 50px;
}
header.fixed #g_navi li a {
font-size: 14px;
padding-top: 12px;
}
header.fixed #g_navi li a .en {
display: block;
}
************　//縦幅可変　************* --*/

  /*-- PC非表示：アコーディオンメニュー --*/
  .menu_btn,
  .btn_close {
    display: none;
  }

  /*---------------------【navigation】---------------------*/
  #g_navi {
    background: #28ac4e;
    /*height: 40px;*/
    position: absolute;
    width: 100%;
    display: block !important;
    z-index: 3000;
    left: 0px !important;
    bottom: 0px;
    padding-left: 2%;
  }

  #g_navi ul.navi_base {
    max-width: 1280px;
    width: 100%;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: nowrap;
    -webkit-justify-content: space-between;
    align-content: space-around;
    flex-direction: row;
    align-items: stretch;
    justify-content: center;
    padding-top: 0px;
  }

  #g_navi ul li {
    display: inline;
    /*width: 10%;*/
  }

  #g_navi li a {
    color: #fff;
    font-size: 15px;
    font-weight: normal;
    padding: 13px 28px;
    margin: 0;
    border-right: rgba(255, 255, 255, 0.5) 1px solid;
    height: fit-content;
    letter-spacing: 2px;
    line-height: 1;
    text-align: center;
    text-decoration: none;
    display: block;
    position: relative;
  }

  #g_navi li a .en {
    /*display: block;*/
    display: none;
    font-size: 11px;
    line-height: 1;
    font-weight: normal;
    color: rgba(255, 255, 255, 0.8);
    padding-top: 5px;
  }

  /*#g_navi li a::before {
content: "\f138";
font-family: FontAwesome;
padding-right: 1em;
}*/

  #g_navi li a:hover,
  #g_navi li a.active,
  #g_navi ul li:hover > a {
    /*color: #fff;*/
    background: rgba(255, 255, 255, 0.1);
  }

  /*ホームアイコン*/
  #g_navi ul li.home-pc a {
    border-left: rgba(255, 255, 255, 0.8) 1px solid;
  }
  #g_navi ul li.home-sp {
    display: none;
  }

  /*-- ************　▼2階層メニュー▼　************* --*/
  #g_navi ul li:hover > a.ac_menu,
  #g_navi li a.ac_menu:hover {
    position: relative;
  }

  /*▲三角矢印*/
  /*#g_navi li a.ac_menu:hover::after {
border-right: 15px solid transparent;
border-bottom: 20px solid #fff;
border-left: 15px solid transparent;
content: "";
position: absolute;
bottom: -12px;
left: 50%;
margin-left: -14px;
z-index: 300;
-webkit-transition: 0.2s linear;
-moz-transition: 0.2s linear;
transition: 0.2s linear;
}*/

  /*#g_navi ul li:hover > a.ac_menu::after, #g_navi li a.ac_menu:hover::after {
border-bottom: 20px solid #fff;
}*/

  /*------- 2階層目 -------*/
  #g_navi li .ac_list ul li {
    width: 23%;
    padding: 20px 10px;
  }
  #g_navi li .ac_list ul li a {
    padding: 12px 22px 13px;
    box-shadow: #d9d9d9 2px 2px 0px;
    border: #5ea7d0 2px solid;
    letter-spacing: 1px;
    color: #000;
    background: #ffffff;
  }

  #g_navi ul li div.ac_list {
    background-color: rgba(255, 255, 255, 0.9);
    opacity: 0;
    visibility: hidden;
    position: absolute;
    z-index: 2000;
    top: 50px;
    left: 0px;
    transition: 0.3s;
    width: 100%;
    height: auto;
    padding: 0px;
    box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 3px 0px;
    -webkit-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 3px 0px;
    -moz-box-shadow: rgba(0, 0, 0, 0.5) 0px 0px 3px 0px;
  }
  #g_navi ul li ul {
    max-width: 1200px;
    padding-left: 0%;
  }
  #g_navi ul li ul {
    width: 100%;
    margin: auto;
    display: -webkit-box;
    display: -ms-flexbox;
    display: -webkit-flex;
    display: flex;
    -ms-flex-wrap: wrap;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
    -webkit-justify-content: space-between;
    align-content: flex-start;
    align-items: stretch;
    flex-direction: row;
    justify-content: flex-start;
  }
  #g_navi li ul li a {
    display: block;
    line-height: 1.4;
    background: transparent;
    border-right: none;
    margin: 0 auto;
    padding: 0;
    height: auto;
    text-align: left;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
  }
  #g_navi ul li ul li a:hover {
    padding: 12px 22px 13px;
    box-shadow: #d9d9d9 2px 2px 0px;
    border: #ffffff 2px solid;
    letter-spacing: 1px;
    color: #fff;
    background: #5ea7d0;
  }
  #g_navi li li a::before {
    content: "\f105";
    content: "\f138";
    font-family: FontAwesome;
    margin-right: 8px;
  }
  #g_navi ul li:hover div {
    visibility: visible;
    opacity: 1;
  }
  #g_navi div.ac_list {
    display: block !important;
  }
  /*-- ************　//2階層メニュー　************* --*/

  /*-- --▼作業用に2階層目を表示する場合▼--
#g_navi ul li div.ac_list {
opacity:1;
visibility:visible;
}
--*/
}

/*---------------------【area_navi】---------------------*/
#area_navi {
  background: #f1f1f1;
  height: 36px;
  position: absolute;
  top: 110px;
  width: 100%;
  display: block;
  z-index: 3000;
  left: 0px;
  bottom: 0px;
  padding-left: 2%;
  box-shadow: #5f5f5f 2px 2px 2px;
}

#area_navi ul {
  max-width: 1280px;
  width: 100%;
  margin: auto;
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: nowrap;
  -webkit-justify-content: space-between;
  align-content: space-around;
  flex-direction: row;
  align-items: stretch;
  justify-content: center;
  padding-top: 0px;
}

#area_navi ul li {
  display: inline;
  /*width: 10%;*/
}

#area_navi li a {
  color: #432b18;
  font-size: 15px;
  font-weight: normal;
  padding: 2px 25px;
  margin: 8px 0;
  border-right: #989898 1px solid;
  height: fit-content;
  letter-spacing: 2px;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  display: block;
  position: relative;
}
#area_navi li a:hover {
  color: #6699cc;
}

/*-- ****【PC】おかげさまで周年　**** --*/
.anniversary {
  position: absolute;
  top: 155px;
  left: 50%;
  margin-left: -228px;
  z-index: 12;
  display: block;
}
.anniversary_bg {
  background: url(../img/anniversary_bg_pc.png) no-repeat center center scroll;
  width: 480px;
  height: 84px;
  padding-top: 15px;
  color: #fff;
  font-size: 22px;
  font-weight: bold;
  line-height: 1;
  letter-spacing: 1px;
  text-align: center;
}
.anniversary .years {
  font-size: 120%;
  color: #fff799;
  font-weight: bold;
  display: inline-block;
  margin: 0 2px;
}

/*------------------------------------------------------------
■　タブレット
------------------------------------------------------------*/
@media screen and (max-width: 1279px) {
  /*ページ内リンクの余白＝headerの高さ*/
  html {
    scroll-padding-top: 80px;
    scroll-behavior: smooth;
  }

  /*header固定分の上部余白＝headerの高さ*/
  #top_nagano_slide {
    padding-top: 52px;
  }

  /*スマホお問い合わせボタン*/
  header .h_btn {
    display: block;
  }

  /*ホームアイコン*/
  #g_navi ul li.home-sp {
    display: block;
  }
  #g_navi ul li.home-pc {
    display: none;
  }

  /*--dot--*/
  .sp-buttons {
    display: none;
  }

  /*出張エリア*/
  #area_navi {
    display: none !important;
  }

  /*---------------------【header】---------------------*/
  .sm-slider,
  .sm-slider::after {
    top: 50px !important;
  }
  header {
    background: #ffffff;
    height: 60px;
  }
  header h1 a .logo_header {
    position: relative;
    height: 50px;
    left: 20px;
  }
  header h1 a .header_h1_text {
    font-size: 12px;
    font-weight: normal;
    color: #000000;
    float: right;
    padding-top: 11px;
    margin-left: 27px;
    display: none;
  }
  header .h_btn a {
    width: 210px;
    top: 9px;
    right: 54px;
    line-height: 1.2;
    padding: 10px;
    font-size: 13px;
  }
  header .h_tel a {
    top: 16px;
    right: 280px;
    line-height: 1;
    font-size: 24px;
  }
  header .h_tel2 a {
    top: 16px;
    right: 48%;
    line-height: 1;
    font-size: 24px;
  }
  header .h_menu {
    display: none;
  }
  header #info {
    display: none;
  }
  header .cap {
    display: none;
  }

  /*---------------------【menu_btn】---------------------*/
  .menu_btn {
    display: block;
    height: 30px;
    width: 40px;
    text-align: center;
    padding-top: 5px;
    padding-bottom: 5px;
    position: fixed;
    z-index: 5000;
    top: 10px;
    right: 5px;
    border-radius: 3px;
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
  }
  .menu_btn:hover {
    cursor: pointer;
  }
  .menu_btn span {
    width: 28px;
    height: 2px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -14px;
    background-color: #05a20d;
  }
  .menu_btn span {
    transition: all 0.3s;
    transform: rotate(0deg);
    -webkit-transform: rotate(0deg);
    -moz-transform: rotate(0deg);
  }
  .menu_btn span.top {
    transform: translateY(-8px);
    -webkit-transform: translateY(-8px);
    -moz-transform: translateY(-8px);
  }
  .menu_btn span.bottom {
    transform: translateY(8px);
    -webkit-transform: translateY(8px);
    -moz-transform: translateY(8px);
  }
  .menu_btn:hover span.top {
    transform: translateY(-10px);
    -webkit-transform: translateY(-10px);
    -moz-transform: translateY(-10px);
  }
  .menu_btn:hover span.bottom {
    transform: translateY(10px);
    -webkit-transform: translateY(10px);
    -moz-transform: translateY(10px);
  }
  .menu_btn.opened span {
    background-color: #5ea7d0;
  }
  .menu_btn.opened span.middle {
    background: rgba(255, 255, 255, 0);
    transform: translateX(30px);
    -webkit-transform: translateX(30px);
    -moz-transform: translateX(30px);
  }
  .menu_btn.opened span.top {
    transform: rotate(-45deg) translateY(0px);
    -webkit-transform: rotate(-45deg) translateY(0px);
    -moz-transform: rotate(-45deg) translateY(0px);
  }
  .menu_btn.opened span.bottom {
    transform: rotate(45deg) translateY(0px);
    -webkit-transform: rotate(45deg) translateY(0px);
    -moz-transform: rotate(45deg) translateY(0px);
  }

  /*---------------------【navigation】---------------------*/
  #g_navi {
    position: fixed;
    /*background-color: rgba(255,255,255,0.8);*/
    font-size: 14px;
    padding-top: 52px;
    width: 70%;
    height: 100%;
    top: 0px;
    right: 0px;
    display: none;
    overflow: auto;
    z-index: 3000;
    letter-spacing: 1px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  #g_navi ul {
    display: block;
    margin: 0px;
    padding: 0px;
    clear: both;
  }
  #g_navi ul li {
    background: #fff;
  }
  #g_navi ul li a {
    text-decoration: none;
    display: block;
    padding: 12px 30px;
    line-height: 2;
    vertical-align: middle;
    color: #fff;
    border-bottom: #ffffff 1px solid;
    background: #05a20d;
  }
  #g_navi ul li a .en {
    display: none;
  }
  #g_navi ul li a:hover {
    color: #5ea7d0;
    background-color: #fff;
    /*opacity: 0.85;*/
  }
  #g_navi ul li a::before {
    content: "\f105";
    font-family: FontAwesome;
    margin-right: 1em;
    color: #fff;
  }
  #g_navi ul li a:hover::before {
    color: #5ea7d0;
  }
  body.fixed {
    overflow: hidden;
  }

  /*-- メニューシャドウ --*/
  .bg_bl {
    background-color: rgba(255, 255, 255, 0.8);
    height: 100%;
    width: 100%;
    opacity: 0.8;
    filter: alpha(opacity=80);
    -ms-filter: "alpha( opacity=80 )";
    display: block;
    position: fixed;
    z-index: 2000;
  }

  /*-- *****　▼2階層メニュー▼　***** --*/
  #g_navi ul li a.ac_menu {
    position: relative;
    background-image: none;
  }
  #g_navi ul li a.ac_menu::after {
    content: "+";
    font-size: 16px;
    line-height: 32px;
    position: absolute;
    right: 20px;
    color: #fff;
  }
  #g_navi ul li a.ac_menu.active {
  }
  #g_navi ul li a.ac_menu.active::before {
    content: "\f107";
    font-family: FontAwesome;
    margin-right: 1em;
  }
  #g_navi ul li ul li {
    background: rgba(255, 255, 255, 0.2);
  }
  #g_navi ul li ul li a::before {
    content: "└";
    padding-right: 5px;
  }
  /* OPEN・CLOSE */
  #g_navi div.ac_list {
    display: none;
  }

  /*-- *****　//2階層メニュー　***** --*/

  /*-- *****【TB/SP】おかげさまで周年　**** --*/
  .anniversary {
    position: absolute;
    top: 55px;
    left: 50%;
    margin-left: -163px;
    z-index: 12;
    display: block;
  }
  .anniversary_bg {
    background: url(../img/anniversary_bg_pc.png) no-repeat center center scroll;
    background-size: contain;
    width: 330px;
    height: 70px;
    padding-top: 16px;
    color: #fff;
    font-size: 16px;
    font-weight: normal;
    line-height: 1;
    letter-spacing: 0px;
    text-align: center;
  }

  .anniversary {
    position: absolute;
    top: 50px;
    left: 50%;
    margin-left: -164px;
    z-index: 12;
    display: block;
  }
}

/*------------------------------------------------------------
■　スマホ
------------------------------------------------------------*/
@media screen and (max-width: 820px) {
  header .h_tel2 a {
    display: none;
  }
}
@media screen and (max-width: 750px) {
  header h1 a .logo {
    position: relative;
    height: 18px;
    top: 16px;
    left: 20px;
  }
  /*header .h_btn a {
width: 40px;
top: 8px;
right: 52px;
font-size: 16px;
line-height: 1;
border: none !important;
}*/

  header .h_btn a,
  header .h_tel a {
    position: absolute;
    display: block;
    width: 36px;
    height: 36px;
    top: 9px;
    right: 54px;
    padding: 10px 0 0;
    font-size: 16px;
    line-height: 1;
    letter-spacing: 0;
    text-align: center;
    color: #fff;
  }
  header .h_tel a {
    background: #df5c81;
    right: 98px;
  }
  header .h_tel2 a {
    background: #05a20d;
    right: 98px;
  }
  header .h_btn a {
    background: #f099d5;
    right: 52px;
  }

  header .h_tel a i,
  header .h_btn a i {
    color: #fff;
  }
  header .h_tel a span.txt,
  header .h_btn a span.txt {
    display: none;
  }

  /*固定かぶせ画像*/
  #top_nagano_slide {
    position: relative;
  }
  #top_nagano_slide .slide_img_over_sp {
    position: absolute;
    top: 52px;
    z-index: 10;
  }
}

/*------------------------------------------------------------
■　その他
------------------------------------------------------------*/
@media screen and (max-width: 387px) {
  header h1 a .logo_header {
    height: clamp(43px, 12vw, 50px);
    left: 6px;
  }
}
