@charset "utf-8";

/* sp非表示 */
.sp_none {
  display: none;
}

body {
  color: #3E3A39;
  font-family: 'Noto Sans JP', sans-serif;
  /* font-family: sans-serif; */
  background: #D33636;
}

  img {
    width: 100%;
    vertical-align: bottom;
  }

.miwa_logo_s_img {
    padding-top: 1vw;
    width: 26.13vw;
    margin-bottom: 8vw;
}

.footer_area {
    text-align: center;
    font-size: 3.2vw;
    padding: 4vw 0;
    color: #fff;
    background: #D33636;
}

* {
  float: none;
  position: static;
}

img {
  max-width: 100%;
  height: auto;
}

main {
  width: 100%;
}

a:hover {
  cursor: pointer;
}

  /*----------------------------
* 背景
*----------------------------*/
.wrapper {
  background: #fff;
}

.bk_color_red {
  background: #D33636;
}

.bk_color_ocher {
  height: 4vw;
  background: #CAB168;
}

  /*----------------------------
* メニュー開閉ボタン
*----------------------------*/
.header_area {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  width: 100%;
  z-index: 1;
  background: #D33636;
  border-bottom: 1px solid #fff;
  height: 15vw;
  box-sizing: border-box;
}

.navi_area {
  display: flex;
  justify-content: space-between;
  padding: 1vw 8vw 2vw;
  width: 100%;
  box-sizing: border-box;
}

.logo_img {
  width: 22vw;
  display: block;
}

.menu_btn {
  z-index: 2;
  transition: opacity .3s linear;
}

.menu_img {
  padding-top: 1.5vw;
  width: 10.53vw;
  margin-right: 0;
  margin: 0 0 0 auto;
  cursor: pointer;
}

.page_ttl {
    margin: 0 8vw;
    font-size: 4.8vw;
    color: #D33636;
    line-height: 2;
    letter-spacing: 0.05em;
    font-weight: 500;
}

/* sub_menu */
.sub_menu_sp {
  background: #fff;
  border: 1px solid #D33636;
  border-top: none;
  margin-top: 2vw;
}

.sub_menu_sp li a {
  font-size: 4vw;
  color: #D33636;
  padding-left: 2vw;
  padding-right: 2vw;
  display: inline-block;
  box-sizing: border-box;
  width: 30vw;
  line-height: 1.65;
  border-top: 1px solid #D33636;
}

.sub_menu_service_area {
  position: relative;
}

.sub_menu_service_sp {
    position: absolute;
    top: 0;
    right: 30vw;
    border: 1px solid #D33636;
    border-top: none;
    background: #fff;
}

@media screen and (min-width: 980px) {

  /* sp非表示 */
.sp_none {
  display: block;
}

  /* pc非表示 */
  .pc_none {
    display: none;
  }

  .bk_color_ocher {
    height: 40px;
    /* height: 50px; */
  }

  /*----------------------------
* メニュー開閉ボタン
*----------------------------*/
.header_area {
  height: 100px;
}


.navi_area {
  padding: 0;
  width: 950px;
  margin: 0 auto;
}

.logo_img {
  width: 170px;
  display: block;
  padding-bottom: 10px;
}

.menu_btn_pc {
  z-index: 2;
  transition: opacity .3s linear;
}

.menu_img {
  padding-top: 13px;
  width: 80px;
}



.menu .menu_item a {
  font-size: 20px;
  color: #fff;
  line-height: 1.5;
  padding: 10px 0;
  cursor: pointer;
  position:relative;
  display: inline-block;
  text-decoration: none;
}

.menu .menu_item a::after {
  position: absolute;
  bottom: 5px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #fff;
  transform: scale(0, 1);
  transform-origin: left top;
  transition: transform .1s;
}

.menu .menu_item a:hover::after {
  transform: scale(1, 1);
}



.pc_inner {
  width: 950px;
  margin: 0 auto;
}
  
.page_ttl {
  margin: 0 auto;
  font-size: 24px;
  padding-left: 10px;
  line-height: 2.5;
}

.footer_area {
  font-size: 14px;
  padding: 10px 0;
}

/* close_btn */

.close_btn_area {
  position: absolute;
  top: 10vw;
  right: 20vw;
}

.close_btn{
  display: block;
  width: 70px;/*枠の大きさ*/
  height: 70px;/*枠の大きさ*/
  position: relative;
}

.close_btn::before, .close_btn::after{
  content: "";
  display: block;
  width: 100%;/*バツ線の長さ*/
  height: 1px;/*バツ線の太さ*/
  background: #fff;
  transform: rotate(45deg);
  transform-origin:0% 50%;
  position: absolute;
  top: calc(14% - 1px);
  left: 14%;
}

.close_btn::after{
  transform: rotate(-45deg);
  transform-origin:100% 50%;
  left: auto;
  right: 14%;
}

/* sub_menu */
.sub_menu {
  background: #fff;
  border: 1px solid #D33636;
  border-top: none;
  margin-top: 9px;
  display: none;
}

.sub_menu li a {
  font-size: 18px;
  color: #D33636;
  background: #fff;
  padding-left: 20px;
  padding-right: 20px;
  display: inline-block;
  box-sizing: border-box;
  width: 200px;
  line-height: 1.65;
  border-top: 1px solid #D33636;
}

.sub_menu_service_area {
  position: relative;
}

.sub_menu_service {
    position: absolute;
    top: 0;
    right: 200px;
    border: 1px solid #D33636;
    border-top: none;
    background: #fff;
    display: none;
}

.menu_btn_pc:hover .sub_menu {
  display: block;
}

.service_menu_on_off_pc:hover .sub_menu_service {
  display: block;
}

/* .sub_menu li a:hover {
  color :#fff;
  background: #D33636;
  border-top: 1px solid #fff;
} */

}