/* モバイルファースト */

/* ⬇︎⬇︎⬇︎⬇︎　全体　⬇︎⬇︎⬇︎⬇︎ */
html {
  scroll-behavior: smooth;
}

body {
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN",
    "Hiragino Sans", Meiryo, sans-serif;
}

section {
  padding-top: 100px;
  padding-bottom: 100px;
}

#top__image {
  text-align: center;
  padding-top: 10px;
}

#top__image img {
  object-fit: cover;
  height: 800px;
  width: 90%;
  border-radius: 20px;
  margin: 0 auto;
}

/* ⬇︎⬇︎⬇︎⬇︎　PCでは表示しない場合　⬇︎⬇︎⬇︎⬇︎ */
.pc {
  display: none;
}

/* ⬇︎⬇︎⬇︎⬇︎　imgサイズ　⬇︎⬇︎⬇︎⬇︎ */
img {
  width: 100%;
}

/* ⬇︎⬇︎⬇︎⬇︎　h1,h2,h3,p　⬇︎⬇︎⬇︎⬇︎ */
h1 {
  height: 60px;
  font-size: 24px;
  line-height: 2;
  font-weight: bold;
  margin-left: 10px;
}

h2 {
  font-size: 18px;
  line-height: 1.8;
  padding-bottom: 100px;
  text-align: center;
  font-weight: bold;
}

h3 {
  font-size: 16px;
  line-height: 1.6;
}

p {
  font-size: 14px;
  line-height: 1.6;
}

#title > img{
  padding-top: 8px;
  height: 60px;
  width: 78px;
}

/* ⬇︎⬇︎⬇︎⬇︎　ハンバーガーメニュー　⬇︎⬇︎⬇︎⬇︎ */
@media screen and (max-width: 480px) {
  nav {
    display: block;
    width: 220px;
    position: fixed;
    background-color: #ffffff;
    top: 0;
    left: -300px;
    bottom: 0;
    transition: all 0.5s;
    z-index: 4;
    opacity: 0;
  }

  .open nav {
    left: 0;
    opacity: 1;
  }

  nav .inner {
    padding: 25px;
  }

  nav .inner ul {
    list-style: none;
    margin: 0;
    padding: 0;
  }

  nav .inner ul li {
    margin: 0;
    border-bottom: 1px solid #333;
  }

  nav .inner ul li a {
    display: block;
    text-decoration: none;
    color: #333;
    font-size: 16px;
    padding: 1rem;
    transition-duration: 0.2s;
  }

  nav .inner ul li a:hover {
    background-color: #e4e4e4;
  }

  .toggle-btn {
    display: block;
    position: fixed;
    top: 20px;
    right: 10px;
    width: 30px;
    height: 30px;
    z-index: 1;
    cursor: pointer;
  }

  .toggle-btn span {
    position: absolute;
    display: block;
    left: 0;
    width: 30px;
    height: 2px;
    background-color: #333;
    transition: all 0.5s;
    border-radius: 4px;
  }

  .toggle-btn span:nth-child(1) {
    top: 4px;
  }

  .toggle-btn span:nth-child(2) {
    top: 14px;
  }

  .toggle-btn span:nth-child(3) {
    bottom: 4px;
  }

  .open .toggle-btn span {
    background-color: #fff;
  }

  .open .toggle-btn span:nth-child(1) {
    transform: translateY(10px) rotate(-315deg);
  }

  .open .toggle-btn span:nth-child(2) {
    opacity: 0;
  }

  .open .toggle-btn span:nth-child(3) {
    transform: translateY(-10px) rotate(315deg);
  }

  #mask {
    display: none;
    transition: all 0.5s;
  }

  .open #mask {
    display: block;
    background-color: #000;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    position: fixed;
    opacity: 0.9;
    cursor: pointer;
    z-index: 3;
  }
}
/* ⬆︎⬆︎⬆︎ max width 480 px ⬆︎⬆︎⬆︎ */

/* ⬇︎⬇︎⬇︎⬇︎　強み　⬇︎⬇︎⬇︎⬇︎ */

ul.strong__list {
  margin: 0 auto;
  padding: 0;
  font: 16px "arial narrow", sans-serif;
  width: 370px;
  list-style: none;
}

ul.strong__list li {
  /* padding: 0.5em 1em 0.5em 2.3em; */
  padding: 20px 15px 10px 15px;
  margin-bottom: 5px;
  color: rgb(1, 55, 103);
  font-size: 16px;
  font-weight: bold;
  border-bottom: 1px solid rgba(129, 194, 250, 0.5);
  /* background-color: #000; */
}

/* ⬇︎⬇︎⬇︎⬇︎　事業内容　⬇︎⬇︎⬇︎⬇︎ */
#service {
  background-color: #efedec;
}

.service__list {
  display: flex;
  flex-flow: column;
  align-items: center;
  justify-content: center;
  /* flex-wrap: wrap; */
}

.service__item {
  height: 470px;
  width: 340px;
  /* background-color: #000; */
}

.service__img {
  margin-bottom: 20px;
  height: 225px;
  width: 340px;
  object-fit: cover;
  padding: 3px;
  border-radius: 10px;
}

.service__item > h3 {
  margin-bottom: 20px;
}

.service__item > p {
  margin-bottom: 60px;
}

.service__link {
  height: 80px;
  width: 340px;
  border-radius: 10px;
  object-fit: cover;
}


/* ⬇︎⬇︎⬇︎⬇︎　施工事例　⬇︎⬇︎⬇︎⬇︎ */
#portfolio {
  margin: 0 10px;
  padding-bottom: 20px;
}

.port__item{
  padding-bottom: 30px;
}

.port1 {
  border-radius: 10px;
}

#portfolio h3 {
  margin: 3px 0;
}

/* ⬇︎⬇︎⬇︎⬇︎　ご依頼の流れ　⬇︎⬇︎⬇︎⬇︎ */
#flow {
  padding-top: 150px;
  padding-bottom: 50px;
}

.flow__link {
  height: 150px;
  background-position: center;
  background-image: url("../image/flow.jpg");
  position: relative;
  /* background-color: #77b42d; */
  padding: 10px 0px;
  margin: 0 20px;
  border-radius: 10px;
}

/* .flow__link h2 {
  padding-top: 30px;
  padding-bottom: 10px;
  color: white;
} */

.flow__link p {
  padding-top: 80px;
  text-align: center;
  color: white;

}

.flow__link a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ⬇︎⬇︎⬇︎⬇︎　FAQ　⬇︎⬇︎⬇︎⬇︎ */
#faq {
  padding-bottom: 25px;
}

.faq__link {
  position: relative;
  background-color: #77b42d;
  padding: 10px 0px;
  margin: 0 20px;
  border-radius: 10px;
}

.faq__link h2 {
  padding-bottom: 10px;
}

.faq__link p {
  text-align: center;
}

.faq__link a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* ⬇︎⬇︎⬇︎⬇︎　会社案内　⬇︎⬇︎⬇︎⬇︎ */
.company__table {
  width: 100%;
}

.company__table th,
.company__table td {
  border: 1px solid #ccc;
  padding: 20px;
}

.company__table th {
  font-weight: bold;
  background-color: #dedede;
}

/* ⬇︎⬇︎⬇︎⬇︎　お問い合わせ　⬇︎⬇︎⬇︎⬇︎ */
#contact {
  height: 250px;
}

.tel {
  text-align: center;
  font-size: 35px;
  padding-bottom: 150px;
}

/* 会社案内のTEL番号等リンク部分 */
.contact__link {
  transition: letter-spacing 0.3s;
}

.contact__link:hover {
  letter-spacing: 0.05em;
}


/* ⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎ */
/* 481px以上に適用されるCSS（タブレット ＆ PC用） */
@media screen and (min-width: 481px) {
  body {
    max-width: 2000px;
    margin: 8px;
  }

  .pc {
    display: block;
  }

  .mobile {
    display: none;
  }

  h2 {
    font-size: 24px;
  }

  h3 {
    font-size: 20px;
  }

  p {
    font-size: 16px;
  }

  #title {
    position: fixed;
    left: 4%;
    z-index: 10;
  }

  #top__image {
    width: 100vw;
    max-width: none;
    margin-top: 70px;
    margin-left: calc(-50vw + 50%);
  }

  .toggle-btn {
    right: 5%;
  }

  /* ナビゲーション */


  header {
    position: fixed;
    height: 70px;
    width: 100%;
    top: 0;
    left: 0;
    background-color: white;
    opacity: 0.8;
    z-index: 8;
  }

  nav {
    position: fixed;
    width: 100%;
    top: 10px;
    z-index: 9;
  }

  .nav__list {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    padding-left: 25%;
    padding-right: 10%;
    height: 50px;
    font-weight: bold;
  }

  .nav__item {
    padding-right: 16px;
  }

  /* 強み */
  ul.strong__list {
    width: 80%;
    margin: auto;
  }

  ul.strong__list li {
    font-size: 22px;
    font-weight: bold;
  }

  /* サービス紹介 */
  #service {
    width: 100%;
  }

  .service__list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    /* justify-content: center; */
    align-items: center;
  }

  .service__item {
    height: 530px;
    width: 33.3%;
    /* background-color: #000; */
    padding: 10px;
  }

  .service__item > img {
    height: 300px;
    width: 100%;
  }

  /* 施工事例 */

  .port__item{
    width: 70%;
    margin: 0 auto;
  }

  .port__item > img {
    height: 600px;
    object-fit: cover;
  }

}



/* ⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎⬇︎ */
/* 481px以上960px以下に適用されるCSS（タブレット用） */
@media screen and (min-width: 481px) {
}
