#bg {
  display: block;
  position: fixed;
  width: 100vw;
  height: 100dvh;
  top:0;
  left:0;
  background-image: url("https://hqci.jp/wp-content/uploads/2025/07/AdobeStock_381552922-.webp");
  background-repeat: no-repeat;
  background-size: cover;
  background-attachment: scroll;
  background-position: center;
  z-index: -1;
}

@media screen and (max-width:770px) {
  #bg {
    background-image: url("https://hqci.jp/wp-content/uploads/2025/07/bgsp.webp");
  }
}

.corp-container {
  max-width: 990px;
}

.site-header {
  border-bottom: none;
}

.site-header:not(.mobile-menu) .site-branding {
  margin-bottom: 0;
}

.site-content {
  min-height: calc(100dvh - 240px);
}

.home .site-content {}

@media screen and (min-width:770px) {
  .site-content {
    min-height: calc(100vh - 240px);
  }
}

h1.entry-title {
  text-align: center;
}

div.profile {
  display: block;
  width: 90vw;
  max-width: 600px;
  box-sizing: border-box;
  background-color: #fff;
  padding: 10px 20px 10px 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 20px;
  border-radius: 16px;
  color: #333;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
  margin-top: 80px;
}

div.profile table {
  border: none;
  border-top: solid 1px #ccc;
}

div.profile th,
div.profile td {
  text-align: center;
  border: none;
  border-bottom: solid 1px #ccc;
  padding: 3px;
}

div.profile h1.name {
  font-family: 'Yu Mincho Light', 'YuMincho', 'Yu Mincho', '游明朝体', 'ヒラギノ明朝 ProN', 'Hiragino Mincho ProN', 'Times New Roman', sans-serif;
  margin: 0;
  line-height: 1;
  color: #333;
  text-align: center;
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 600;
}

div.profile img.mainphoto {
  display: block;
  width: 140px;
  height: 140px;
  border-radius: 70px;
  object-fit: cover;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 30px;
  margin-top: -80px;
  border: solid 1px #ccc;
  background-color: white;
}

div.profile h5 {
  background-color: #eee;
  text-indent: 0.4em;
  font-size: 16px;
  color: #000;
  margin-bottom: 5px;
}

div.profile p.caption {
  text-align: center;
  margin-top: 0;
  font-size: 12px;
}

div.profile table.member-card {
  margin-bottom: 0;
}

.cert-list {
  list-style-type: none;
  list-style-position: inside;
  margin-left: 0;
}

.cert-list a {
  color: #999;
}

.cert-list a:hover {
  color: #006400;
}

#fv {
  position: relative;
  min-height: 360px;
  aspect-ratio: 2.4;
}

#fv video {
  width: 100vw;
  height: 100%;
  object-fit: cover;
}

#fv .fvtext {
  position: absolute;
  width: fit-content;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  word-break: keep-all;
  overflow-wrap: break-word;
  text-align: center;
}

@media screen and (max-width:770px) {
  #fv {
    aspect-ratio: 0.9;
  }

  #fv video {
    width: 100vw;
    height: calc(100vw / 9 * 10);
    object-fit: cover;
  }

  #fv .fvtext {
    width: calc(100vw - 30px);
    left: 0;
    top: 50%;
    transform: translate(15px, -50%);
  }
}

.home h3.widget-title {
  color: #006400;
  font-family: "Rokkitt", serif;
  font-optical-sizing: auto;
  font-weight: 800;
  font-style: italic;
  font-size: 80px;
  line-height: 1;
  margin-bottom: -50px;
  transform: translateY(-40px);
  overflow-wrap: break-word;
  word-wrap: break-word;
}

@media screen and (max-width:770px) {
  .home h3.widget-title {
    font-size: 60px;
    line-height: 45px;
    transform: translateY(-20px);
    margin-bottom: -20px;

  }
}

.home h2 {
  font-family: "Hiragino Sans W3", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ ProN W3", "メイリオ", Meiryo, "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  font-weight: 100;
  line-height: 1.3;
  word-break: keep-all;
  overflow-wrap: anywhere;
}

.home .column {
  background-color: rgba(255, 255, 255, 0.9);
  border-radius: 30px;
  padding: 0 30px 40px 30px;
}

div.centerblock {
  display: block;
  width: fit-content;
  margin-left: auto;
  margin-right: auto;
}

div.centerblock h4,
div.centerblock ul {
  margin-bottom: 0;
}

.home input[type=email],
.home input[type=text] {
  width: 100%;
  border-radius: 60px;
}

.show .site-footer .site-info span:after {
  content: '' !important;
  display: inline-block;
  padding: 0 5px
}