/* lp01.scss */
.entry-content {
  font-family: "Noto Sans JP", sans-serif;
}
.entry-content h2,
.entry-content h3,
.entry-content h4,
.entry-content h5,
.entry-content h6 {
  color: #004288;
  margin: 2em auto 1em;
}
.entry-content h2:first-child,
.entry-content h3:first-child,
.entry-content h4:first-child,
.entry-content h5:first-child,
.entry-content h6:first-child {
  margin-top: 0;
}
.entry-content h2 {
  font-size: 1.8em;
}
.entry-content h3 {
  font-size: 1.6em;
}
.entry-content h4 {
  font-size: 1.4em;
}
.entry-content h5 {
  font-size: 1.3em;
}
.entry-content h6 {
  font-size: 1.2em;
}

strong {
  font-weight: 800;
}

p:first-of-type {
  margin-top: 0;
}

input,
select,
textarea {
  border: 1px solid #ddd;
  padding: 0.75em;
  font-size: 1em;
  width: 100%;
  box-sizing: border-box;
  border-radius: 10px;
  margin: 5px 0;
}

.bg-blue {
  position: relative;
  margin-bottom: 100px;
}
.bg-blue:after {
  content: "";
  display: block;
  position: absolute;
  bottom: -100px;
  left: 0;
  width: 100%;
  height: 100px;
  background-color: #00308c;
  z-index: -1;
  clip-path: polygon(50% 100%, 0 0, 100% 0);
}

.bg-work {
  background-image: url("/wp/wp-content/themes/sgstaff/image/lp01/bk_gray.webp");
  background-position: center;
  background-size: cover;
  background-repeat: repeat-y;
}

.counter01 {
  counter-reset: count01;
}
.counter01 > .wp-block-columns {
  counter-increment: count01;
}
.counter01 > .wp-block-columns h3:before {
  content: counter(count01) ". ";
}

.counter02 {
  counter-reset: count02;
}
.counter02 > .wp-block-group {
  counter-increment: count02;
}
.counter02 > .wp-block-group h3 {
  position: relative;
}
.counter02 > .wp-block-group h3:before {
  content: counter(count02);
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -1.75em;
  background: #6aafe0;
  color: white;
  width: 1.75em;
  height: 1.75em;
  line-height: 1.75;
  border-radius: 100%;
}

.counter03 {
  counter-reset: count03;
}
.counter03 > .wp-block-column {
  counter-increment: count03;
  position: relative;
}
.counter03 > .wp-block-column:before {
  content: counter(count03);
  display: block;
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  top: -1em;
  background: #6aafe0;
  color: white;
  width: 1.75em;
  height: 1.75em;
  line-height: 1.75;
  border-radius: 100%;
  font-size: 1.4em;
  font-weight: 700;
  text-align: center;
}

span.red {
  margin: 0 0.5em;
  font-size: 0.8em;
  color: red;
}

.lp-mailform {
  background: white;
  box-shadow: 0 2px 6px #ccc;
  border-radius: 10px;
  padding: 1.75em;
}
.lp-mailform p {
  margin: 0 !important;
}
.lp-mailform .mailform_lp-container01 {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.25em;
}
@media (max-width: 800px) {
  .lp-mailform .mailform_lp-container01 {
    grid-template-columns: 1fr;
  }
}
.lp-mailform .mailform_lp-send input.wpcf7-submit {
  color: white;
  background-color: #ff8100;
  border: none;
  box-shadow: 0 2px 6px #ccc;
  transition: all 0.3s;
}
.lp-mailform .mailform_lp-send input.wpcf7-submit:hover {
  background-color: black;
  box-shadow: 0 0px 0px #ccc;
}
.lp-mailform .wpcf7cp-btns {
  display: flex;
  justify-content: center;
  gap: 1em;
  margin-top: 1em;
}
.lp-mailform .wpcf7cp-btns button {
  color: white;
  border: none;
  box-shadow: 0 2px 6px #ccc;
  transition: all 0.3s;
  font-size: 16px;
  padding: 0.75em 1.5em;
  border-radius: 5px;
}
.lp-mailform .wpcf7cp-btns button.wpcf7cp-cfm-edit-btn {
  background-color: #666;
}
.lp-mailform .wpcf7cp-btns button.wpcf7cp-cfm-submit-btn {
  background-color: #ff8100;
}
.lp-mailform .wpcf7cp-btns button:hover {
  background-color: black;
  box-shadow: 0 0px 0px #ccc;
}

.grid-inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5em;
  margin: 2em auto;
}
@media (max-width: 800px) {
  .grid-inner {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .grid-inner {
    grid-template-columns: 1fr;
  }
}

article.achievements-card {
  position: relative;
  box-shadow: 0 3px 6px rgba(16, 78, 151, 0.4);
  border-radius: 20px;
  z-index: 0;
}
article.achievements-card .thumb {
  padding: 0.5em;
  text-align: center;
}
article.achievements-card .thumb img {
  border-radius: 20px;
}
article.achievements-card h3 {
  margin: 0;
  padding: 0.1em 0.5em;
  background: #ccc;
  color: white;
  font-size: 1em;
}
article.achievements-card h3.building-mansion-apartment {
  background-color: #004288;
}
article.achievements-card h3.detached-house {
  background-color: #6aafe0;
}
article.achievements-card h3.other-public-facilities {
  background-color: #f49114;
}
article.achievements-card .summary {
  padding: 0.5em 0.5em 1em;
}
article.achievements-card .tag-area {
  position: relative;
  z-index: 999;
}
article.achievements-card .tag-area a {
  display: inline-block;
  margin-right: 0.25em;
  padding: 0.1em 0.5em;
  background: #6aafe0;
  border-radius: 3px;
  font-size: 0.9em;
  color: white;
  transition: 0.3s ease 0s;
}
article.achievements-card .tag-area a:hover {
  background: #004288;
  color: white;
}
article.achievements-card > a {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}
article.achievements-card > a i {
  position: absolute;
  top: 0;
  right: 0;
  width: 20px;
  height: 20px;
}
article.achievements-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  z-index: -5;
  display: block;
  width: 100%;
  height: 100%;
  background: white;
  border-radius: 20px;
  transition: 0.3s ease 0s;
}
article.achievements-card:hover::after {
  background: rgba(153, 200, 237, 0.4);
}