figure img {
  height: auto !important;
}
span.wp-block-cover__background.has-background-dim {
  background-color: transparent !important;
}
html {
  overflow: auto;
}
.bread-crumb-text {
  color: black;
  font-size: 0.8125rem !important;
  padding: 0 !important;
}
li.pdf-link a::after {
  content: "";
  display: inline-block;
  width: 24px;
  height: 24px;
  background-image: url("/katoh/assets/images/sample/pdf.png");
  background-size: contain;
  background-repeat: no-repeat;
  margin-left: 4px;
}
.company-visual {
  position: relative;
  display: block;
  text-align: center;
  overflow: hidden;
}
.company-visual .wp-block-cover__inner-container {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-150%, -50%);
  z-index: 2;
  color: white;
  padding: 1em;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
  font-family: "游明朝", "Demibold", serif;
}
.company-visual .wp-block-cover__inner-container p {
  font-size: 1.5rem;
  margin-bottom: 10px;
}
.company-visual .wp-block-cover__background {
  position: absolute;
  inset: 0;
  z-index: 1;
}

.company-fuji {
  position: relative;
  width: 100%;
  max-width: 100%;
  overflow: hidden;
  margin-top: -40px;
  min-height: 300px;
}

.company-fuji img.wp-block-cover__image-background {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
}

.wp-block-cover.company-visual {
  position: relative;
  overflow: hidden;
  width: 100%;
}

.wp-block-cover.company-visual img {
  max-width: 100%;
  height: auto;
}

figure.wp-block-table {
  margin-left: 0;
  margin-right: 0;
}

@media (min-width: 768.1px) {
  .contact-field {
    margin: 0 calc(50% - 550px) 32px calc(50% - 550px);
  }
}
@media (max-width: 768px) {
  .company-fuji {
    min-height: 200px;
    margin-top: -1.44rem;
  }
  .company-fuji img.wp-block-cover__image-background {
    height: 200px;
  }
  .company-visual .wp-block-cover__inner-container {
    transform: translate(-100%, -50%);
  }
}
.company-p {
  text-align: center;
}
section.content3 {
  width: 100svw;
  width: 100cqw;
  min-width: 1200px;
  max-width: 100svw;
  /* min-height: calc(100svh - 682px); */
  overflow: hidden;
  position: relative;
  display: flex;
  justify-content: center;
  margin: 100px 0 70px 0;

  .content3-wrap {
    width: 1100px;
    max-width: 1100px;
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
  }

  .content3-column {
    background-repeat: no-repeat;
    background-size: 52px;
    padding-left: 70px;

    &.icon1 {
      background-image: url(../images/top/content3_icon1.svg);
    }

    &.icon2 {
      background-image: url(../images/top/content3_icon2.svg);
    }

    &.icon3 {
      background-image: url(../images/top/content3_icon3.svg);
    }

    .content3-column-heading {
      height: 52px;
      font-size: 1.125rem;
      color: #003366;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }

    .content3-column-detail {
      font-size: 0.875rem;
      color: #333333;
      line-height: 1.5rem;
      margin-bottom: 0.5rem;
    }

    .content3-column-phone {
      height: 46px;
      padding-left: 36px;
      font-size: 1.625rem;
      color: #003366;
      background-image: url(../images/top/content3_icon4.svg);
      background-repeat: no-repeat;
      background-size: 26px;
      background-position-y: 10px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }

    .content3-column-mail {
      height: 46px;
      padding-left: 36px;
      font-size: 0.875rem;
      color: #003366;
      background-image: url(../images/top/content3_icon5.svg);
      background-repeat: no-repeat;
      background-size: 26px;
      background-position-y: 10px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }

    .content3-column-link {
      height: 46px;
      padding-left: 36px;
      font-size: 0.875rem;
      color: #003366;
      background-image: url(../images/top/content3_icon6.svg);
      background-repeat: no-repeat;
      background-size: 26px;
      background-position-y: 10px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
    }

    a,
    a:visited,
    a:active {
      text-decoration: none;
      color: #003366;
    }

    a:hover {
      text-decoration: underline;
      color: #003366;
    }
  }
}

@media (max-width: 780px) {
  section.content3 {
    min-width: auto;
    margin: 3.07rem 0 0 0;

    .content3-wrap {
      flex-direction: column;
      align-items: center;

      .content3-column {
        width: 24.2rem;
        background-size: 3.07rem;
        padding-left: 4.23rem;
        margin-bottom: 3.07rem;

        .content3-column-heading {
          height: auto;
          font-size: 1.3rem;
          margin-bottom: 0.76rem;
        }

        .content3-column-detail {
          height: auto;
          font-size: 1rem;
          line-height: 1.7rem;
          margin-bottom: 0.76rem;
        }

        .content3-column-phone {
          height: 2.07rem;
          padding-left: 3.2rem;
          margin-bottom: 0.76rem;
          font-size: 1.73rem;
          background-size: 2.07rem;
          background-position-y: 0;
          display: flex;
          justify-content: flex-start;
          align-items: center;
        }

        .content3-column-mail {
          height: 2.07rem;
          padding-left: 3.2rem;
          margin-bottom: 0.76rem;
          font-size: 1rem;
          background-size: 2.07rem;
          background-position-y: 0;
          display: flex;
          justify-content: flex-start;
          align-items: center;
        }

        .content3-column-link {
          height: 1.53rem;
          padding-left: 2.3rem;
          font-size: 1rem;
          background-size: 1.53rem;
          background-position-y: 0;
          display: flex;
          justify-content: flex-start;
          align-items: center;
        }
      }
    }
  }
}

/* ----------------（お問い合わせ）---------------- */

.contact-field {
  width: 100%;
  min-width: 1100px;
  width: auto;
}
@media (max-width: 780px) {
  .contact-field {
    overflow-x: scroll;
    min-width: auto;
  }
}

.contact-field h2 {
  margin: 50px 0 30px 0;
  padding: 0 0 0 0;
}

.contact-field h3 {
  margin: 0 0 0 0;
  padding: 30px 0 0 23px;
}

.contact-field ul {
  margin: 0 0 0 0;
  padding: 0 0 0 15px;
  list-style-type: none;
}

.contact-field li {
  margin: 0 0 0 0;
  padding: 0 30px 0 0;
  float: left;
}

.contact-field p.proviso {
  margin: 5px 0 0 0;
  padding: 0 0 0 15px;
  font-size: 100%;
  line-height: 1.5;
}

.contact-field p span {
  color: #c00;
}

.contact-field table {
  width: 880px;
  margin: 30px 0 0 0;
  padding: 0;
  border-collapse: collapse;
  border-bottom: 1px dotted #ccc;
}

.contact-field th {
  width: 30%;
  min-width: 300px;
  margin: 0 0 0 0;
  padding: 10px 15px 10px 15px;
  text-align: left;
  font-weight: normal;
  font-size: 100%;
  line-height: 1.5;
  border-top: 1px dotted #ccc;
}

.contact-field th span {
  margin: 0 0 0 10px;
  padding: 2px 5px 2px 5px;
  color: #fff;
  background: #c00;
  line-height: 1;
  -moz-border-radius: 2px; /* Firefox */
  -webkit-border-radius: 2px; /* Safari and Chrome */
  border-radius: 2px; /* Opera 10.5+, future browsers, and now also Internet Explorer 6+ using IE-CSS3 */

  behavior: url(css/ie-css3.htc); /* This lets IE know to call the script on all elements which get the 'box' class */
}

.contact-field td {
  margin: 0;
  padding: 10px 0 10px 20px;
  font-size: 100%;
  line-height: 1.5;
  background: #fff;
  border-top: 1px dotted #ccc;
}

.contact-field td span {
  padding: 5px 0 0 0;
  color: #999;
  line-height: 1.5;
}

.contact-field td input,
.contact-field td textarea {
  padding: 3px 0 3px 0;
  border: 1px solid #9cc;
  font-size: 108%;
  line-height: 1.5;
}

.contact-field td.wakunone input {
  border: none;
}

.contact-field td textarea {
  margin: 10px 0 0 0;
  padding: 0;
}

.contact-field .privacy {
  width: 600px;
  margin: 50px auto 0 auto;
  padding: 20px;
  border: 5px solid #ccc;
}

.contact-field .privacy h4 {
  margin: 0 0 0 0;
  padding: 0;
  font-size: 100%;
  line-height: 1.5;
  font-weight: normal;
}

.contact-field .privacy p {
  margin: 0 0 0 0;
  padding: 0;
  font-size: 93%;
  line-height: 1.5;
  font-weight: normal;
  color: #666;
}

.contact-field .submitBtn {
  margin: 50px 0 0 0;
  padding: 0 0 0 0;
  text-align: center;
}

.contact-field #verisign {
  margin: 0 0 0 0;
  padding: 30px 0 0 0;
  text-align: center;
}

.contact-field .thanks h2 {
  margin: 0;
  padding: 0 0 0 0;
  font-size: 123.1%;
  line-height: 1.5;
}

.contact-field .thanks p {
  margin: 20px 0 0 0;
  padding: 0 0 0 0;
  font-size: 108%;
  line-height: 1.5;
}

#thanksGaiyo h2 {
  margin: 40px 0 10px 0;
  padding: 0 0 0 0;
  font-size: 108%;
  line-height: 1.5;
}

#thanksGaiyo table {
  width: 680px;
  margin: 0;
  padding: 0 0 0 0;
  border-bottom: 1px solid #ccc;
  border-right: 1px solid #ccc;
}

#thanksGaiyo tr {
  margin: 0;
  padding: 0 0 0 0;
  vertical-align: middle;
}

#thanksGaiyo th {
  margin: 0;
  padding: 5px 10px 5px 10px;
  vertical-align: middle;
  background: url(/images/bg_search_gray.gif);
  font-size: 100%;
  font-weight: normal;
  line-height: 1.5;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
  text-align: left;
}

#thanksGaiyo td {
  margin: 0;
  padding: 5px 10px 5px 10px;
  font-size: 100%;
  line-height: 1.5;
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}

/* Contact Form 7 のテーブルレイアウトをスマホ対応に */
@media screen and (max-width: 768px) {
  #contact table {
    width: 100%;
    display: block;
  }

  #contact table tr {
    display: block;
    margin-bottom: 1em;
  }

  #contact table th,
  #contact table td {
    display: block;
    width: 100%;
  }

  #contact input[type="text"],
  #contact input[type="email"],
  #contact textarea,
  #contact select {
    width: 100%;
    box-sizing: border-box;
  }

  .privacy {
    max-width: fit-content;
  }

  .wpcf7-radio .wpcf7-list-item {
    display: block;
    margin-bottom: 0.5em;
  }

  .wpcf7-list-item-label {
    white-space: normal;
    word-break: break-word;
  }
  .privacy h4 {
    position: relative;
    padding-left: 1.5em !important; /* ::before の分だけ余白を確保 */
  }
}

/* ----------------（お問い合わせ）---------------- */
