@charset "utf-8";
body {
    margin: 0px;
    padding: 0px;
    font-family: sans-serif;
}
a {
    text-decoration: none;
    color: #4d5347;
    cursor: pointer;
}

.top_area {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 60px;
    background-color: white;
    box-shadow: 0px 0px 4px -2px #4d5347;
    display: flex;
    justify-content: flex-end;
    z-index: 10;
}

.top_logo_link {
    position: absolute;
    top: 0px;
    left: 0px;
    height: calc(100% - 8px);
    margin: 4px;
}

.top_logo {
    position: relative;
    height: 100%;
}

.menu_area {
    position: relative;
    list-style-type: none;
    padding: 0px;
    margin: 0px;
    display: flex;
}

.menu_area>li {
    position: relative;
    height: 60px;
}

.menu_area>li>a {
    position: relative;
    padding: 0px 8px 0px 8px;
    height: 60px;
    background-color: white;
    color: #4d5347;
    display: flex;
    justify-content: center;
    align-items: center;
}

.menu_area>li>a:hover {
    text-decoration: underline;
}

#menu_button {
    display: none;
    justify-content: flex-end;
}

#menu_button::before {
    content: "";
    position: relative;
    background-image: url("https://www.es-tel.com/renovation/common/img/menu_button.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    width: 30px;
    margin: 0px 4px 0px 0px;
}

#menu_contact {
    background-color: #4d5347;
    color: white;
}

#menu_contact::before {
    content: "";
    position: relative;
    background-image: url("https://www.es-tel.com/renovation/common/img/mail_white.png");
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    height: 100%;
    width: 30px;
    margin: 0px 4px 0px 0px;
}

.content_area {
    position: relative;
    margin: 60px 0px 0px 0px;
    width: 100%;
    color: #4d5347;
}

.bg_white {
    background-color: white;
}

.bg_gray {
    background-color: #f1f1f1;
}

.bg_dark {
    background-color: #4d5347;
    color: white;
}

.row_reverse {
    flex-direction:row-reverse;
}

.content_area span {
    display: inline-block;
}

.content_row_area {
    position: relative;
    width: 100%;
    display: flex;
    justify-content: center;
}

.content_center_area { 
    position: relative;
    margin: 8px;
    width: calc(100% - 16px);
    max-width: 1000px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.half_area {
    position: relative;
    margin: 8px;
    width: calc(50% - 16px);
    min-width: 304px;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    flex-direction: column;
}

.half_area>img {
    position: relative;
    margin: 8px;
    width: calc(100% - 16px);
}

.full_area {
    position: relative;
    margin: 8px;
    width: calc(100% - 16px);
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.third_area {
    position: relative;
    margin: 8px;
    width: calc(30% - 16px);
    min-width: 304px;
    display: flex;
    justify-content: flex-start;
    align-items: flex-start;
    flex-direction: column;
}

.third_area>div {
    text-align: center;
}

.third_area>img {
    position: relative;
    margin: 8px;
    width: calc(100% - 16px);
}

.balloon-right {
  position: relative;
  display: inline-block;
  margin: 1.5em 15px 1.5em 0;
  padding: 7px 10px;
  min-width: 120px;
  max-width: 480px;
  color: #4d5347;
  font-size: 16px;
  background: white;
  border: solid 2px #4d5347;
  box-sizing: border-box;
  border-radius: 4px;
}

.balloon-right:before {
  content: "";
  position: absolute;
  top: 50%;
  right: -24px;
  margin-top: -12px;
  border: 12px solid transparent;
  border-left: 12px solid white;
  z-index: 2;
}

.balloon-right:after {
  content: "";
  position: absolute;
  top: 50%;
  right: -27px;
  margin-top: -13px;
  border: 13px solid transparent;
  border-left: 13px solid #4d5347;
  z-index: 1;
}

.dark_link_button {
    position: relative;
    min-width: 280px;
    margin: 8px;
    padding: 16px;
    background-color: #4d5347;
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
}

.bright_right_arrow {
    position: relative;
    padding: 0px 30px 8px 0px;
    border-bottom: solid 2px white;
}
.bright_right_arrow::after {
    content: "";
    position: absolute;
    width: 25px;
    right: 1px;
    bottom: -1px;
    transform:rotate(45deg);
    transform-origin:right bottom;
    border-bottom: solid 2px white;
}

.bright_link_button {
    position: relative;
    min-width: 280px;
    margin: 8px;
    padding: 16px;
    background-color: white;
    color: #4d5347;
    display: flex;
    justify-content: center;
    align-items: center;
    border: solid 1px #4d5347;
}

.dark_right_arrow {
    position: relative;
    padding: 0px 30px 8px 0px;
    border-bottom: solid 2px #4d5347;
}
.dark_right_arrow::after {
    content: "";
    position: absolute;
    width: 25px;
    right: 1px;
    bottom: -1px;
    transform:rotate(45deg);
    transform-origin:right bottom;
    border-bottom: solid 2px #4d5347;
}

.row_title_area {
    position: relative;
    width: 100%;
    display: flex;
    align-items: center;
    flex-direction: column;
}
.row_title_area>h2 {
    margin: 0px;
}

.bottom_area {
    position: relative;
    width: 100%;
    background-color: #4d5347;
    display: flex;
    justify-content: center;
}

.bottom_area a {
    color: white;
}

.bottom_area>.content_center_area {
    margin: 0px;
}

.half_area>.bottom_logo {
    margin: 16px calc(100% -160px) 16px 16px;
    width: 160px;
    height: 60px;
}

.electric_link_button {
    position: relative;
    width: calc(100% - 32px);
    padding: 16px;
    background-image: url("https://www.es-tel.com/electric/common/img/background_img.jpg");
    background-position: center;
    background-size: cover;
    color: white;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    box-shadow: 0px 500px 0px 0px rgba(0, 0, 0, 0.3) inset;
}

@media screen and (max-width: 768px) {
    .menu_area {
        height: 60px;
        overflow: hidden;
        flex-direction: column;
    }

    .menu_area>li:nth-child(n+2) {
        border-left: solid 1px #4d5347;
    }

    #menu_button {
        display: flex;
    }
}