@charset "UTF-8"
/* 共通部分 */
html {
  font-size: 100%;
}
body {
  font-family: "Yu Gothic Medium", "游ゴシック　Medium", YuGothic, "游ゴシック体", "ヒラギノ角ゴ Pro W3", sans-serif;
  line-height: 1.5;
  color: #432;
}
img {
  max-width: 100%;
  pointer-events: none;
  -webkit-touch-callout:none;
  -webkit-user-select:none;
  -moz-touch-callout:none;
  -moz-user-select:none;
  touch-callout:none;
  user-select:none;
}
li {
  list-style: none;
}
a {
  text-decoration: none;
  color: inherit;
}

/* 中央部分 */
.wrapper {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 4%;
}

/* ヘッダー部分 */
.page-header {
  display: flex;
  justify-content: space-between;
}
.logo {
  width: 380px;
  margin-top: 14px;
}
.tel {
  width: 240px;
  height: 40px;
  margin-top: 14px;
}
/* メニューバー */
.navbar {
  background-color: #339900;
  color: #ffffff;
  width: 100%;
  margin: 20px auto 0;
}
.navbar .menu {
  display: flex;
  position: relative;
}
.navbar .menu li {
  flex: 1;
  display: flex;
  text-align: center;
}
.navbar .menu a {
  flex: 1;
  justify-content: center;
  display: inline-flex;
  padding: 20px;
  position: relative;
}
.navbar .menu li:hover {
  background-color: #adcc33;
}
.navbar .menu li:hover .container {
  display: flex;
}
a.hasDropdown:after {
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  height: 0;
  width: 0;
  z-index: 3;
}
li:hover a.hasDropdown:after {
  content: '';
}
.container {
  display: none;
  position: absolute;
  top: 64px;
  left: 0;
  right: 0;
  background-color: #ffffff;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
  padding: 20px;
  text-align: left;
}
.container__list {
  flex: 1;
  display: flex;
  flex-wrap: nowrap;
  min-width: 0;
}
.container__listItem {
  flex: 0 0 25%;
  display: flex;
  padding: 20px;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
.container__listItem > div {
  color: #339900;
  text-decoration: underline;
  cursor: pointer;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}
/* HOME部分*/
.home-content {
  text-align: center;
}
.home-content p {
  font-size: 1.125rem;
  margin: 10px 0 42px;
}
/* 見出し */
.page-title {
  font-size: 5rem;
  font-family: 'Philosopher', serif;
  text-transform: uppercase;
  font-weight: normal;
}
/* ボタン */
.button {
  font-size: 1.375rem;
  background: #53ad19;
  color: #fff;
  border-radius: 5px;
  padding: 18px 32px;
}
.button:hover {
  background: #c6e8ce;
}
/* 大きな背景画像 */
.big-bg {
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}
#home {
  background-image: url(img/main_picture.jpg)
}
#home .page-title {
  text-transform: none;
}

/* メインコンテンツ部分 */
.message h4 {
  font-size: 1.5rem;
  text-decoration: underline;
  line-height: 3rem;
}
.message p {
  font-size: 1.2rem;
  line-height: 2.4rem;
}
/* 太陽光 */
.panel{
  display: flex;
  margin-top: 3%;
  margin-bottom: 3%;
  background: #eaf6fd;
}
.panel .grid {
  display: grid;
  gap: 0px;
  grid-template-columns: 1fr 1fr;
}
.panel img{
  width: 50%;
  height: auto;
  object-fit: cover;
}
.panel .message {
  width: 50%;
  height: 100%;
  padding: 1.5rem;
  align-self: center;
}
/* 蓄電池 */
.battery {
  display: flex;
  justify-content: space-between;
  margin-top: 3%;
  background: #f6f0cc;
}
.battery .message{
  width: 70%;
  height:100%;
  padding: 1.5rem;
}
.battery img{
  max-width: 30%;
  height: 100%;
  padding: 30px 50px 30px 0;
  object-fit: contain;
}
/* 電化 */
.eqih {
  margin-top: 3%;
  background: #f4dc17 url(img/food.jpg) no-repeat center bottom/cover;
  text-align: center;
  color: #fff;
}
/* 外装・内装 */
.reform {
  display: flex;
  height: 18%;
  margin-top: 3%;
  margin-bottom: 10%;
}
.reform .message {
  padding: 1rem;
  width: 60%;
  height: 100%;
  border-width: thick;
  border-style: dotted;
  border-color: #04a0e8;
  margin-right: 15px;
}
.reform .message h4{
  font-size: 1.5rem;
  text-decoration: underline;
  line-height: 3rem;
}
.reform .message p{
  font-size: 1rem;
  line-height: 2rem;
}
.reform img {
  width: 40%;
  height: 100%;
  object-fit: cover;
}

/* メインエリアとサイドエリアを分ける */
.main-area {width: 74%}
.aside-area {width: 22%}
.main-item {
  display: flex;
  justify-content: space-between;
  margin-bottom: 50px;
}

/* サイドバー */
.sub-title {
  margin-top: 20px;
}
.sub-title li {
  list-style-position: inside;
  list-style-image: url(img/leaf.png);
  font-weight: bolder;
  color: #80796c;
  border-bottom: 2px solid #80796c;
}
.sub-title p {
  font-size: 0.8rem;
  padding: 12px 10px;
}
.sub-title img {
  flex-direction: column;
  object-fit: contain;
}

/* Company */
#company {
  background-image: url(img/com_pic.jpg);
  height: 340px;
  margin-bottom: 20px;
}
#company .page-title {
  text-transform: uppercase;
  text-align: center;
}
.table-area h3 {
  background-color: #dddddd;
  border-width: 4px;
  border-style: outset;
  margin: 13px 0 0 0;
  padding: 0.5rem;
}
.table-area h4 {
  margin-top: 20px;
  padding-left: 0.5rem;
}
.table-area .gaiyo table {
  margin-left: 20px;
  width: 97%;
  max-width: 1600px;
  border-collapse: collapse;
  border: 1.5px #e2eba3 solid;
  margin-top: 10px;
  margin-bottom: 30px;
}
.table-area .enkaku .kochi table {
  margin-left: 20px;
  width: 97%;
  max-width: 1600px;
  border-collapse: collapse;
  border: 1.5px #dddddd solid;
  margin-bottom: 10px;
}
.table-area .enkaku .ecorus table {
  margin-left: 20px;
  margin-bottom: 20px;
  width: 97%;
  max-width: 1600px;
  border-collapse: collapse;
  border: 1.5px #e2eba3 solid;
}
.table-area tr td {
  border: none;
  padding: 1%;
}
.table-area table .table-first {
  font-weight: bold;
  width: 30%;
}
.table-area table .table-first span {
  font-weight: lighter;
  font-size: small;
}
.table-area table .table-green {
  background-color: #e2eba3;
}
.table-area table .table-gray {
  background-color: #dddddd;
}
.location {
  padding: 2% 0;
  display: flex;
  justify-content: space-between;
  border-bottom: 1.5px #dddddd solid;
}
.location .location-info {
  width: 22%;
}
.location .location-info h4 {
  border-bottom: 1.5px #e2eba3 solid;
}
.location .location-info p {
  padding: 6px 10px;
}
.location .location-map {
  width: 74%;
}
iframe {width: 100%;}

/* 太陽光発電システム */
#solar {
  background-image: url(img/dandelion.jpg);
  height: 340px;
  margin-bottom: 20px;
}
#solar .page-title {
  text-transform: uppercase;
  text-align: center;
  color: #ffbf1f;
}
#solar span {
  mix-blend-mode: color-dodge;
}
.solar-info {
  border: 2px solid #87888e;
  margin: 13px 0 0 0;
  padding-left: 0.5rem;
}
.solar-gaiyo {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.solar-gaiyo span {
  font-family: "游ゴシック　Medium";
  font-weight: bold;
  font-size: 2rem;
  color: #e3a44e;
}
.solar {
  text-align: center;
}
.solar img {
  width: 500px;
  margin-top: 10px;
}
.solar-clean {
  text-align: center;
  position: relative;
}
.clean {
  width: 150px;
  height: 150px;
  position: absolute;
  bottom: 20%;
  left: 30%;
}
.solar-system {
  text-align: center;
}
.solar-system img {
  width: 95%;
  margin-top: 10px;
}
.solar-message {
  text-align: left;
  margin: 0 10% 2rem 10%;
}
/* 蓄電池 */
#battery {
  background-image: url(img/tulip.jpg);
  height: 340px;
  margin-bottom: 20px;
}
#battery .page-title {
  text-transform: uppercase;
  text-align: center;
  color: #92cb97;
}
#battery span {
  mix-blend-mode: screen;
}
.battery-gaiyo {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.battery-gaiyo span {
  font-family: "游ゴシック　Medium";
  font-weight: bold;
  font-size: 2rem;
  color: #ff006f;
}
.solar-message span {
  font-size: small;
}
/* 電化 */
#IHandEQ {
  background-image: url(img/kuma.jpg);
  height: 340px;
  margin-bottom: 20px;
}
#IHandEQ .page-title {
  text-transform: uppercase;
  text-align: center;
  color: #ffbf1f;
}
#IHandEQ span {
  mix-blend-mode: color-dodge;
}
.denka-gaiyo {
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
}
.denka-gaiyo span {
  font-family: "游ゴシック　Medium";
  font-weight: bold;
  font-size: 2rem;
  color: #499149;
}
.denka-gaiyo img {
  max-width: 700px;
}
/* リフォーム */
#reform {
  background-image: url(img/water.jpg);
  height: 340px;
  margin-bottom: 20px;
}
#reform .page-title {
  text-transform: uppercase;
  text-align: center;
  color: #fff;
}
#reform span {
  text-shadow: 3px 2px 3px #3e687d;
}
/* お問い合わせ */
#contact {
  background-image: url(img/cat.jpg);
  background-color: #b3d0d7;
  background-blend-mode: screen;
  min-height:  100vh;
}
form div {
  margin-bottom: 14px;
}
label {
  font-size: 1.125rem;
  margin-bottom: 10px;
  display: block;
}
input[type="text"],
input[type="email"],
textarea {
  background: rgba(255,255,255,.5);
  border: 1px #fff solid;
  border-radius: 5px;
  padding: 10px;
  font-size: 1rem;
}
input[type="text"],
input[type="email"] {
  width: 100%;
  max-width: 240px;
}
textarea {
  width: 100%;
  max-width: 480px;
  height: 6rem;
}
input[type="submit"] {
  border: none;
  cursor: pointer;
  line-height: 1;
}

/* フッター */
footer {
  background: #34a404;
  text-align: center;
  padding: 26px 0;
}
footer p {
  color: #fff;
  font-size: 0.875rem;
}

/* 画面幅700px以下のとき */
@media (max-width: 700px){
  /* ヘッダー部分 */
  .page-header {
    flex-direction: column;
    align-items: center;
  }
  .logo {
    width: 80vw;
    margin-top: 14px;
  }
  .tel {
    width: 210px;
    height: 35px;
  }
  /* メニューバー */
  .navbar {
    background-color: #339900;
    font-size: 1rem;
    color: #ffffff;
    border-radius: 4px;
    width: 100vw;
    margin: 20px 0 0 0;
  }
  .navbar .menu {
    display: flex;
    position: relative;
  }
  .navbar .menu li {
    flex: 1;
    display: flex;
    text-align: center;
  }
  .navbar .menu a {
    flex: 1;
    justify-content: center;
    display: inline-flex;
    padding: 10px;
    position: relative;
  }
  .navbar .menu li:hover {
    background-color: #adcc33;
  }
  .navbar .menu li:hover .container {
    display: flex;
  }
  a.hasDropdown:after {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    height: 0;
    width: 0;
    z-index: 3;
  }
  li:hover a.hasDropdown:after {
    content: '';
  }
  .container {
    display: none;
    position: absolute;
    top: 40px;
    left: 0;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 0 rgba(0, 0, 0, 0.06);
    padding: 5px;
    text-align: left;
  }
  .container__list {
    flex: 1;
    display: flex;
    flex-wrap: nowrap;
    min-width: 0;
  }
  .container__listItem {
    flex: 0 0 25%;
    display: flex;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }
  .container__listItem > div {
    color: #339900;
    text-decoration: underline;
    cursor: pointer;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
  }

  /* HOMEコンテンツ部分 */
  .main-area, .aside-area{
    width: 100%;
  }
  .main-item {
    flex-direction: column;
  }
  .home-content .page-title {
    font-size: 1.5rem;
  }
  .home-content p {
    font-size: 0.9rem;
    margin-top: 20px;
  }
  .message h4 {
    font-size: 1.2rem;
    text-decoration: underline;
    line-height: 3rem;
  }
  .message p {
    font-size: 1rem;
    line-height: 1.5rem;
  }
  /* ボタン */
  .button {
    font-size: 1rem;
    background: #53ad19;
    color: #fff;
    border-radius: 5px;
    padding: 10px 20px;
  }
  .panel {
    flex-direction: column;
    align-items: center;
    margin-top: 13px;
    margin-bottom: 13px;
  }
  .panel .message {
    width: 100%;
    padding: 1rem 1rem 1.5rem 1rem;
    text-align: center;
  }
  .panel img {
    width: 100%;
    object-fit: cover;
  }
  .battery {
    flex-direction: column-reverse;
    align-items: center;
    margin-top: 13px;
  }
  .battery .message {
    width: 100%;
    padding: 0 1rem 1.5rem 1rem;
    text-align: center;
    }
  .battery img {
    width: 100%;
    padding: 13px;
  }
  .eqih {
    margin-top: 13px;
    padding: 3rem 0 5rem 0;
    height: 20rem;
    background: #f4dc17 url(img/food.jpg) no-repeat center bottom/cover;
    text-align: center;
    color: #fff;
  }
  .reform {
    flex-direction: column-reverse;
    align-items: center;
  }
  .reform .message{
    width: 100%;
    padding: 1rem 1rem 1.5rem 1rem;
    text-align: center;
    margin: 0;
  }
  .reform img{
    width: 100%;
    max-height: 30vh;
    object-fit: cover;
  }
  .reform .message h4 {
    font-size: 1.2rem;
    text-decoration: underline;
    line-height: 2.4rem;
  }
  .reform .message p {
    font-size: 1rem;
    line-height: 2rem;
  }
  .sub-title .grid {
    display: grid;
    gap: 5px;
    grid-template-columns: 1fr 1fr 1fr;
    margin-top: 5px;
    margin-bottom: 20px;
  }
  .sub-title .grid img {
    object-fit: contain;
  }

  /* 事業内容コンテンツ部分 */
  #solar {
    height: 11rem;
    margin-bottom: 20px;
  }
  #battery {
    height: 11rem;
    margin-bottom: 20px;
  }
  #IHandEQ {
    height: 11rem;
    margin-bottom: 20px;
  }
  #reform {
    height: 11rem;
    margin-bottom: 20px;
  }
  .page-title {
    font-size: 2.5rem;
  }
  .table-area img {
    width: 80vw;
  }
  /* Companyコンテンツ部分 */
  #company {
    background-image: url(img/com_pic.jpg);
    height: 11rem;
    margin-bottom: 20px;
  }
  .location {
    flex-direction: column;
  }
  .location .location-info {
    width: 100%;
  }
  .location .location-map {
    width: 100%;
    height: 20%;
  }
}
