/* CSS Document */
html, body {
  margin: 0;
  padding: 0;
}

ul, ol {
  list-style-type: none;
}

body {
  margin: 0px;
  font-size: 17px;
  line-height: 1.6em;
  text-align: left;
  font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
}

.inner {
  max-width: 1080px;
  width: 100%;
  margin: 0 auto;
}

.bold {
  font-weight: bold;
}

.center {
  text-align: center;
}

.flex_box {
  display: flex;
  gap: 20px;
}

h2 {
  background-color: #1E658E;
  color: #FFF;
  padding-top: 0.8em;
  padding-bottom: 0.8em;
  text-align: center;
  margin: 0px;
  font-weight: 200;
}

h3 {
  margin: 2em 0 1em;
}
h3.box_color {
  background-color: #1E658E;
  color: #FFF;
  font-weight: normal;
  padding-top: 0.4em;
  padding-right: 0.8em;
  padding-bottom: 0.4em;
  padding-left: 0.8em;
  display: inline-block;
}

footer {
  background-color: #1E658E;
  color: #FFF;
  padding-top: 2em;
  padding-bottom: 8em;
}
footer .footer_inner {
  width: 90%;
  margin-right: auto;
  margin-left: auto;
}
footer .footer_inner a {
  color: #fff;
  text-decoration: underline;
}

.bold {
  font-weight: bold;
}

#tracking_md {
  display: none;
}

.pc {
  display: block;
}

.sp {
  display: none;
}

.head_catch_text {
  font-size: 24px;
  text-align: center;
  font-weight: bold;
  line-height: 1.7em;
}

.work_point {
  margin-bottom: 100px;
}
.work_point .flex_box .flex_box_contents {
  padding: 25px;
  box-sizing: border-box;
  background: #f3fbff;
  display: flex;
  flex-direction: column;
  width: 33.3333333333%;
}
.work_point .flex_box .flex_box_contents .h3_head_wrap {
  text-align: center;
  border-bottom: 1px dashed #1E658E;
  padding-bottom: 20px;
  margin-bottom: 20px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  flex: 1;
  height: 100%;
  min-height: 0%;
}
.work_point .flex_box .flex_box_contents .h3_head_wrap h3 {
  margin: 0;
}
.work_point .flex_box .flex_box_contents .h3_head_wrap h3 span.h3_marker {
  padding: 0 10px;
  background: linear-gradient(transparent 50%, #ffffff 50%);
}
.work_point .flex_box .flex_box_contents .h3_head_wrap p {
  font-size: 14px;
  line-height: 1.4;
}
.work_point .flex_box .flex_box_contents p {
  margin: 0 0 16px;
}
.work_point .flex_box .flex_box_contents .text_contents {
  font-size: 16px;
  flex: 3;
  height: 100%;
  min-height: 80%;
  margin-top: auto;
}
.work_point .flex_box .flex_box_contents .text_contents ul {
  padding-left: 1em;
}
.work_point .flex_box .flex_box_contents .text_contents ul li {
  list-style: disc;
}
.work_point .flex_box .flex_box_contents .text_contents ul li::marker {
  font-size: 12px;
}
.work_point .flex_box .flex_box_contents .marker {
  font-weight: bold;
  display: inline;
  background: #fff9cb;
}
.work_point .flex_box .flex_box_contents:nth-of-type(3) .text_contents p:first-of-type {
  margin-top: 16px;
}

.storeview.flex_box {
  padding: 0;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.storeview.flex_box li {
  width: 49%;
}
.storeview.flex_box li img {
  width: 100%;
}

.bread_nav ul {
  display: flex;
}
.bread_nav ul li {
  list-style: none;
  margin-right: 10px;
}
.bread_nav ul li:after {
  content: ">";
  margin-left: 10px;
}
.bread_nav ul li:last-of-type:after {
  content: "";
}

dl.qa_area {
  margin: 1.5em 1.5em 0;
}
dl.qa_area dt {
  margin-bottom: 0.5em;
  font-weight: bold;
}
dl.qa_area dt:before {
  content: "Q";
  font-size: 16px;
  background: #1E658E;
  display: inline-block;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 5px;
  text-align: center;
  flex-shrink: 0;
}
dl.qa_area dd {
  display: flex;
  margin-bottom: 1.5em;
  line-height: 1.4em;
}
dl.qa_area dd:before {
  font-weight: bold;
  content: "A";
  font-size: 16px;
  background: #F15A25;
  display: inline-block;
  color: #fff;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  margin-right: 5px;
  text-align: center;
  line-height: 1.8em;
  flex-shrink: 0;
}

.wpcf7 {
  width: 100%;
  border: 1px solid #ddd;
  background: #fafafa;
  padding: 0;
  margin: 0 0 2.5em !important;
}
.wpcf7 form {
  margin: 1.5em 1.5em 0;
}
.wpcf7 p {
  margin-bottom: 1em;
  font-size: 12px;
}
.wpcf7 input, .wpcf7 textarea {
  width: auto;
  box-sizing: border-box;
  width: 100%;
  border: 1px solid #ccc;
  line-height: 1.2;
  padding: 8px;
}
.wpcf7 select, .wpcf7 input[type=checkbox], .wpcf7 input[type=radio] {
  width: auto;
  max-width: 97%;
  border: 1px solid #ccc;
  padding: 8px;
}
.wpcf7 select, .wpcf7 .wpcf7-list-item-label {
  line-height: 1.2;
  font-size: 14px;
}
.wpcf7 input:focus, .wpcf7 textarea:focus {
  outline: 0;
  border: 1px solid #bbb;
  box-shadow: inner 0 0 5px rgba(0, 0, 0, 0.5);
}
.wpcf7 input.wpcf7-submit {
  position: relative;
  display: block;
  width: 250px;
  height: 50px;
  margin: 30px auto 0;
  background-color: #F15A25;
  background-repeat: no-repeat;
  cursor: pointer;
  border: 0 !important;
  color: #fff;
  text-align: center;
  text-decoration: none;
  font-size: 18px;
  line-height: 1.5;
  outline: 0;
  transition: all 0.3s;
}

.wpcf7-list-item {
  display: block;
}

.wpcf7 input.wpcf7-submit, .wpcf7 input.wpcf7-submit::before, .wpcf7 input.wpcf7-submit::after {
  box-sizing: border-box;
}

.wpcf7 input.wpcf7-submit:hover {
  background-color: #666;
}

.wpcf7 .wpcf7-not-valid {
  background: pink;
}

.wpcf7 .wpcf7-response-output {
  margin: 10px 0 0;
  padding: 8px 35px 8px 14px;
  border-radius: 4px;
}

.wpcf7 .wpcf7-validation-errors {
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid #eed3d7;
}

.wpcf7 .wpcf7-mail-sent-ok {
  color: #3a87ad;
  background-color: #d9edf7;
  border: 1px solid #bce8f1;
}

.form {
  margin: 0px;
}

.form_midashi {
  margin-top: 1em;
}

input[type=text], input[type=tel], input[type=email] {
  width: 98%;
  margin-right: auto;
  margin-left: auto;
  font-size: 17px;
  padding-top: 0.4em;
  padding-bottom: 0.4em;
}

@media screen and (max-width: 991px) {
  #tracking_md {
    width: 100%;
    display: block;
    position: fixed;
    bottom: 0;
    left: 0;
    box-shadow: 0px -2px 10px rgba(0, 0, 0, 0.75);
  }
  #tracking_md a {
    background-color: #F15A25;
    width: 100%;
    padding: 15px 0;
    box-sizing: border-box;
    display: block;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-size: 20px;
  }
  .container-fluid {
    position: relative;
    margin: 0 auto;
  }
  #tracking_md .row:last-child div:last-child a {
    display: block;
  }
  .img-fluid {
    max-width: 95%;
    height: auto;
  }
}
@media screen and (max-width: 800px) {
  .inner {
    max-width: 95%;
  }
  header .inner {
    max-width: none;
  }
  .head_catch_text {
    font-size: 20px;
  }
  .flex_box {
    flex-direction: column;
    align-items: center;
    gap: 20px;
  }
  .flex_box p.flex_text {
    margin: 0 1em 1em;
  }
  .entry_form_textwrap {
    text-align: left;
    margin: 0 1em;
  }
  .work_point .flex_box .flex_box_contents {
    width: 100%;
  }
  .br::before {
    content: "\a";
    white-space: pre;
  }
  .storeview.flex_box {
    flex-direction: row;
    align-items: flex-start;
    gap: 10px;
  }
  .storeview.flex_box li {
    width: 48.5%;
  }
  .storeview.flex_box li img {
    max-width: 100%;
    vertical-align: top;
  }
  #customfooter {
    margin-bottom: 25%;
  }
  #customfooter a {
    color: #fff;
    text-decoration: none;
  }
  .link_field .line_field {
    width: 100%;
  }
  .recruiting_tab ul li a {
    font-size: 16px;
  }
  dl.qa_area {
    margin: 1.5em 0 0;
  }
  dl.qa_area dt {
    margin-bottom: 0.5em;
    font-weight: bold;
    text-indent: -1.8em;
    padding-left: 2em;
  }
  dl.qa_area dt:before {
    font-size: 14px;
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 5px;
    text-indent: 0em;
  }
  dl.qa_area dd {
    line-height: 1.4em;
    margin: 0 0 1.5em 20px;
  }
  dl.qa_area dd:before {
    font-size: 14px;
    width: 25px;
    height: 25px;
    margin-right: 5px;
    line-height: 1.8em;
  }
  footer .inner img {
    display: block;
    width: auto;
  }
}/*# sourceMappingURL=style.css.map */

/* ------------------------------------------------------------
   リプラ整骨院用の追記。
   まこと整骨院の title_img.jpg は文字を画像に焼き込んでいたため、
   写真の差し替えができるよう同じ見た目を HTML で組み直しています。
   幅に合わせて文字も縮むよう、サイズは cqw（枠の幅に対する%）で指定。
------------------------------------------------------------ */
.title_visual {
  position: relative;
  container-type: inline-size;
  aspect-ratio: 1280 / 850;
  background: url(../img/title_bg.jpg) center / cover no-repeat;
  overflow: hidden;
  font-weight: bold;
  color: #222;
  line-height: 1.3;
}
.title_visual::before {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.35);
}
.title_visual > * {
  position: relative;
}
.title_visual .title_catch {
  margin: 0;
  padding-top: 4.5cqw;
  text-align: center;
  font-size: 5.6cqw;
  line-height: 1.45;
  letter-spacing: 0.02em;
  text-shadow: 0 0 1.2cqw #fff, 0 0 1.2cqw #fff, 0 0 2.4cqw #fff;
}
.title_visual .title_catch small {
  font-size: 0.72em;
}
.title_visual .title_worries {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 13cqw;
  display: flex;
  justify-content: center;
  gap: 2cqw;
  margin: 0;
  padding: 0;
}
.title_visual .title_worries li {
  width: 15.6cqw;
  height: 15.6cqw;
  border-radius: 50%;
  background: #1E658E;
  outline: 0.25cqw solid rgba(30, 101, 142, 0.6);
  outline-offset: 0.35cqw;
  color: #fff;
  font-size: 2cqw;
  font-weight: normal;
  line-height: 1.45;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.title_visual .title_lead {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 11cqw;
  margin: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.85);
  font-size: 3.6cqw;
}

/* 写真の縦横比がまちまちなので、元ページ（600×400）と同じ 3:2 にそろえる */
.storeview.flex_box li img {
  aspect-ratio: 3 / 2;
  object-fit: cover;
  vertical-align: top;
}
.storeview.flex_box li img.pos_low {
  object-position: 50% 75%;
}

footer .footer_logo {
  width: 260px;
  max-width: 80%;
  height: auto;
}
footer a {
  color: #fff;
}

.form_result {
  margin: 1.5em 0;
  padding: 1em 1.5em;
  border-radius: 4px;
  line-height: 1.7;
}
.form_result.is_ok {
  color: #2a6b8f;
  background-color: #d9edf7;
  border: 1px solid #bce8f1;
}
.form_result.is_ng {
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid #eed3d7;
}
.form_hp {
  position: absolute;
  left: -9999px;
}

  /* エラーメッセージのスタイル */
.wpcf7-not-valid {
    border-color: #ff0000 !important;
    background-color: #ffeeee !important;
}

.wpcf7-not-valid-tip {
    display: block;
    color: #ff0000;
    font-size: 12px;
    margin-top: 5px;
    line-height: 1.5;
}

/* フォームのアニメーション */
.wpcf7-not-valid {
    animation: shake 0.3s;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}
