@charset "UTF-8";
/*
Theme Name: artisticdecor
*/

/* カスタムプロパティ定義 */
:root {
  /* フォントの太さ */
  --Light: 300;
  --Regular: 400;
  --Medium: 500;
  --SemiBold: 600;
  --Bold: 700;
  --ExtraBold: 800;
  --Black: 900;

  /* 画面サイズ関連 */
  --min-window: 1200px;
  /* ウィンドウサイズがこれより小さい場合は */
}

/* html全体に関わるもの */
html,
body {
  margin: 0;
  letter-spacing: 0.1em;
  line-height: 1.8em;
  color: #333;
  font-family: "游ゴシック体", "Yu Gothic", YuGothic, "ヒラギノ角ゴ ProN",
    "Hiragino Kaku Gothic ProN", "メイリオ", "Meiryo", sans-serif;
  background-color: #fff;
  scroll-behavior: smooth;
  min-width: var(--min-window);
}

a {
  text-decoration: none;
  color: #337ab7;
  transition: 0.3s;

  &:hover {
    text-decoration: underline;
  }
}

a:hover {
  opacity: 0.6;
}

img {
  vertical-align: top;
}

section[id^="page"] {
  margin: 0 auto;
}

/* rechaptchaの非表示 */

/*
.grecaptcha-badge {
  visibility: hidden;
}
*/

header {
  width: 1045px;
  padding: 0 calc((100% - 1045px) / 2);
  height: 72px;
  margin: 0 auto;
  background-color: rgba(255, 255, 255);

  .header-top {
    height: 20px;
    margin: 5px 0 3px;
    color: #9e9e9e;
    font-size: 11px;
    padding: 0 15px;
  }

  .header-bottom {
    display: flex;
    width: 1045px;
    height: 50px;
    line-height: 50px;
    padding-right: 15px;
    /* justify-content: space-between; */
    align-items: center;
    top: -50px;
    left: 0;

    &.translucent {
      position: fixed;
      padding: 0 calc((100% - 1045px) / 2);
      background-color: rgba(255, 255, 255, 0.9);
      border-bottom: 1px solid #ededed;
      top: 0;
      left: 0;
    }

    .logo {
      margin-right: 100px;

      & a {
        & img {
          height: 44px;
          padding: 3px;
        }

        &:hover {
          opacity: 1;
        }
      }
    }

    & nav {
      & ul {
        display: flex;
        list-style-type: none;
        margin: 0;
        padding-inline-start: 0;

        & li {
          cursor: pointer;

          & a {
            color: #333;
            padding: 15px;
            font-size: 13px;

            &.active {
              color: #f00;
            }

            &:hover {
              color: #f00;
              text-decoration: none;
            }
          }
        }
      }
    }
  }
}

footer {
  .footer-top {
    display: flex;
    width: 1015px;
    font-size: 16px;
    color: #555;
    padding: 20px 15px;
    margin: 0 auto 80px;
    border-top: 1px solid #ededed;

    .item {
      color: #555;
      margin-left: 5px;
    }

    & span {
      margin-right: 5px;

      &:nth-child(n + 2) {
        &::before {
          content: "/";
        }
      }
    }
  }

  .footer-bottom {
    width: 1015px;
    padding: 10px calc((100% - 1015px) / 2);
    color: #fff;
    background-color: #f86d61;
    font-size: 12px;
    letter-spacing: 0.01em;
    text-align: center;

    & a {
      color: #fff;
    }
  }

  .btn-top {
    display: none;
    position: fixed;
    width: 25px;
    height: 28px;
    bottom: 10px;
    right: 10px;
    cursor: pointer;
    color: #000;

    &.active {
      display: inline-block;
    }
  }
}

#front-page-top {
  height: 500px;
  background-image: url("./images/top1.jpg");
  background-size: cover;
  background-position-x: 50%;
  background-attachment: fixed;

  .wrap {
    max-width: 1045px;
    height: 350px;
    padding: 120px 0;
    margin: 0 auto;
    text-align: center;

    .logo {
      width: 130px;
      margin-bottom: 20px;
    }

    .title-en {
      font-size: 35px;
      font-weight: var(--Bold);
      color: #fff;
      margin-bottom: 50px;
    }

    .title-ja {
      font-size: 24px;
      font-weight: var(--Bold);
      color: #fff;
    }
  }
}

#front-page-content {
  width: 82%;
  font-size: 15px;
  margin: 0 auto;
  padding: 50px 15px;

  & p {
    margin: 0 0 30px;
  }

  & h2 {
    font-size: 21px;
    font-weight: var(--Regular);
    line-height: 1.7em;
    border-bottom: 2px solid #ededed;
    margin: 20px 0 15px;
  }

  & a {
    font-weight: var(--Bold);
  }
}

#page-renew-top {
  height: 720px;
  background-image: url("./images/RENEW.png");
  background-size: cover;
  background-position-x: 50%;
  background-attachment: fixed;
}

#page-renew-content {
  width: 82%;
  padding: 0 15px;

  & img {
    max-width: 100%;
  }

  & p {
    margin: 0 0 50px;
  }
}

#page-silverbullet-top {
  height: 500px;
  background-image: url("./images/SilverBullet.jpg");
  background-size: cover;
  background-position-x: 50%;
  background-attachment: fixed;

  .wrap {
    max-width: 1000px;
    height: 350px;
    padding: 120px 0;
    margin: 0 auto;
    text-align: center;

    .title {
      font-size: 30px;
      font-weight: var(--Bold);
      color: #fff;
      margin-bottom: 60px;
    }

    .name {
      font-size: 24px;
      font-weight: var(--Bold);
      color: #fff;
      margin-bottom: 45px;
    }

    .detail {
      font-weight: var(--Bold);
      color: #fff;
      font-size: 14px;
      line-height: 1.6em;
    }
  }
}

#page-silverbullet-content {
  width: 82%;
  padding: 50px 15px;
  font-size: 15px;

  & img {
    width: 100%;
  }

  & h2 {
    color: #f44336;
    border: 1px solid #ddd;
    border-left: 5px solid #f44336;
    line-height: 1.7em;
    padding: 5px 15px;
    margin: 30px 0 25px;
    font-size: 25px;
    font-weight: var(--Regular);
  }

  & h3 {
    color: #333;
    line-height: 1.7em;
    border-bottom: 2px solid #ededed;
    font-size: 21px;
    font-weight: var(--Regular);
    border-bottom: 2px solid #ededed;
    margin: 20px 0 15px;
  }

  & p {
    margin: 0 0 30px;
  }

  .red-black {
    color: #c7243a;
    font-weight: var(--Bold);
  }

  .explain {
    font-weight: var(--Bold);
    text-align: center;
    margin-bottom: 30px;
  }

  .pathogenic-bacteria {

    /* display: flex;
    flex-direction: column;
    flex-wrap: wrap; */
    & ul {
      display: flex;
      flex-direction: column;
      flex-wrap: wrap;
      padding-inline-start: 20px;
      height: calc(1.8em * 8);
      line-height: 1.8em;

      & li {
        width: 33.3%;
      }
    }
  }

  .construction-wrap {
    display: flex;
    margin-bottom: 30px;

    .construction-image {
      display: inline-block;
      width: 463px;
    }
  }

  .case {
    padding-inline-start: 20px;
    margin-bottom: 30px;
  }
}

#page-decoration-top {
  height: 500px;
  background-image: url("./images/Decoration.jpg");
  background-size: cover;
  background-position-x: 50%;
  background-attachment: fixed;

  .wrap {
    max-width: 1000px;
    height: 350px;
    padding: 120px 0;
    margin: 0 auto;
    text-align: center;

    .title {
      font-size: 40px;
      font-weight: var(--Bold);
      color: #fff;
      margin-bottom: 60px;
    }

    .detail {
      font-size: 16px;
      font-weight: var(--Bold);
      color: #fff;
      margin-bottom: 15px;
    }
  }
}

#page-decoration-content {
  width: 82%;
  padding: 50px 15px;
  font-size: 15px;

  & h2 {
    color: #f44336;
    border: 1px solid #ddd;
    border-left: 5px solid #f44336;
    line-height: 1.7em;
    padding: 5px 15px;
    margin: 30px 0 25px;
    font-size: 25px;
    font-weight: var(--Regular);
  }

  & h3 {
    color: #333;
    line-height: 1.7em;
    border-bottom: 2px solid #ededed;
    font-size: 21px;
    font-weight: var(--Regular);
    border-bottom: 2px solid #ededed;
    margin: 20px 0 15px;
  }

  & p {
    margin: 0 0 30px;
  }

  .polyurethane {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 50px 30px;

    & img {
      width: 100%;
    }
  }

  .polyurethane-catalog {
    display: flex;
    margin-top: 50px;

    & img {
      width: 240px;
      margin-right: 20px;
    }
  }

  .button {
    display: inline-block;
    color: #fff;
    background-color: #babcbc;
    border-radius: 5px;
    padding: 10px 35px;
    text-align: center;
    margin: 10px 0;
    letter-spacing: 0.09em;
  }

  .samples {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 50px;

    & a {
      width: 23%;
      margin: 0 auto 50px 0;

      &.large {
        width: 48%;
      }
    }

    & img {
      width: 100%;
    }
  }
}

#page-profile-top,
#page-policy-top {
  height: 150px;
  background-image: url("./images/top2.jpg");
  background-size: cover;
  background-position: center;

  .wrap {
    line-height: 150px;
    text-align: center;
    font-size: 30px;
    color: #fff;
  }
}

#page-profile-content {
  width: 82%;
  padding: 50px 15px;
  font-size: 15px;

  .title {
    font-size: 24px;
    font-weight: var(--Bold);
    margin-bottom: 30px;
  }

  & h2 {
    color: #f44336;
    border: 1px solid #ddd;
    border-left: 5px solid #f44336;
    line-height: 1.7em;
    padding: 5px 15px;
    margin: 30px 0 25px;
    font-size: 25px;
    font-weight: var(--Regular);
  }

  & h3 {
    color: #333;
    line-height: 1.7em;
    border-bottom: 2px solid #ededed;
    font-size: 21px;
    font-weight: var(--Regular);
    border-bottom: 2px solid #ededed;
    margin: 20px 0 15px;
  }

  & p {
    margin: 0 0 30px;
  }

  & ul {
    margin-top: 0;
  }

  .office-image {
    width: 232px;
  }

  .map {
    width: 100%;
    height: 450px;
  }

  .president {
    width: 262px;
    float: left;
    margin-right: 1em;
  }

  .sign {
    text-align: right;

    & img {
      max-width: 100%;
    }
  }
}

#page-policy-content {
  width: 82%;
  padding: 50px 15px;
  font-size: 15px;

  & p {
    margin: 0 0 30px;
  }

  & ul {
    margin-top: 0;

    & li {
      margin-bottom: 30px;
    }
  }

  .date {
    text-align: right;
  }
}

#page-inquire-top {
  height: 500px;
  background-image: url("./images/inquire.jpg");
  background-size: cover;
  background-position: center;

  .wrap {
    max-width: 1000px;
    height: 350px;
    padding: 165px 0;
    margin: 0 auto;
    text-align: center;

    .title {
      font-size: 40px;
      font-weight: var(--Bold);
      color: #fff;
      margin-bottom: 20px;
    }

    .detail {
      font-weight: var(--Bold);
      color: #fff;
    }
  }
}

#page-inquire-content {
  width: 82%;
  padding: 50px 15px;
  font-size: 15px;

  & p {
    margin: 0 0 30px;
  }

  & h2 {
    color: #f44336;
    border: 1px solid #ddd;
    border-left: 5px solid #f44336;
    line-height: 1.7em;
    padding: 5px 15px;
    margin: 30px 0 25px;
    font-size: 25px;
    font-weight: var(--Regular);
  }

  .red {
    color: #f00;
  }

  .spam {
    margin: 90px 0 10px;
    font-size: 18px;
  }

  .contact-form {
    display: flex;
    flex-wrap: wrap;
    margin-bottom: 100px;

    .left {
      width: 25%;
      text-align: right;

      &::after {
        display: inline-block;
        content: "*";
        color: #a94442;
        margin: 0 20px 0 3px;
      }
    }

    .right {
      width: 75%;
    }

    & input,
    & textarea {
      width: 100%;
      padding: 6px 12px;
      margin-bottom: 20px;
      border: 1px solid #ccc;
      font-size: 14px;
      color: #555;

      &.name {
        display: inline-block;
        width: 15%;
        margin-right: 10px;
      }
    }

    & button {
      display: inline-block;
      color: #fff;
      background-color: #3bafda;
      border: none;
      border-radius: 5px;
      padding: 10px 50px;
      text-align: center;
      cursor: pointer;

      &.back {
        color: #3bafda;
        background-color: #fff;
      }
    }
  }

  .mw_wp_form {
    .error {
      display: block;
      color: #b70000;
      background: #ffeaea;
      padding: 0.3em 0.5em;
      margin-bottom: 10px;
    }
  }

  .mw_wp_form_input {
    .confirm-page {
      display: none;
    }
  }

  .mw_wp_form_confirm {
    .input-page {
      display: none;
    }

    .confirm-page {
      text-align: right;
      margin-top: 30px;
    }

    .left {
      text-align: left;
    }
  }
}
