/**
 * File: subp.css
 * Usage: トップページ以外の共通スタイルを定義します。
 * Example: サブページ共通のヘッダーなど
*/

.ly_header {
  position: fixed;
  top: 5px;
  left: 5px;
  right: 5px;
  width: calc(100% - 10px);
}

.ly_subp {
  padding-top: 80px;
  padding-bottom: 80px;
}

.bl_pageFvInner {
  position: relative;
  aspect-ratio: 375 / 160;
  display: flex;
  align-items: center;
  color: #fff;
}

.bl_pageFvInner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #658086;
  opacity: 0.2;
}

.bl_pageFvInner h1 {
  position: absolute;
  bottom: 30px;
  left: 0;
  width: 100%;
  text-align: center;
  z-index: 1;
  font-size: 24px;
  line-height: 1.6;
  letter-spacing: 0.05em;
  font-weight: 400;
  -webkit-text-stroke: 1px;
  font-family: 'ZenKakuGothicNew', sans-serif;
  text-shadow: 0px 2px 1.5px rgba(0, 0, 0, 0.160784);
}

.bl_pageFvInner .bl_pageFvImg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.ly_slogan {
  padding-block: 47px 44px;
  text-align: center;
}

.ly_slogan h2 {
  font-size: 20px;
  line-height: 1.5;
  letter-spacing: 0.05em;
  font-weight: 500;
  text-decoration: underline;
  text-decoration-thickness: 4px;
  text-underline-offset: -2px;
}

/* ========= 症例ピックアップ =========== */

.ly_treatmentCase {
  padding: 48px 15px 20px;
}

.bl_treatmentCaseCont {
  margin-top: 32px;
  display: flex;
  flex-direction: column;
  gap: 9px;
}

/* ダミー事例投稿 */
.bl_case_dummy {
  display: flex;
  gap: 18px;
  align-items: center;
}

.bl_case_dummy_img {
  overflow: hidden;
  max-width: 168px;
}

.bl_case_dummy_img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bl_case_dummy_text {
  font-size: 14px;
}

/* ========= 治療の流れ =========== */

.ly_flow {
  padding-bottom: 50px;
  position: relative;
}

.ly_flow::before {
  content: '';
  top: 1px;
  left: 0;
  width: 100%;
  height: 100%;
  max-height: 32px;
  position: absolute;
  background: url(../img/top/message-top.svg) no-repeat top center;
  background-size: cover;
  transform: translateY(-100%);
}

.ly_flow .el_flowBottom {
  display: none;
}

/* ========= ステップタイトル =========== */

.el_stepTtl {
  display: flex;
  flex-direction: column;
  margin-bottom: 6px;
}

.el_stepTtl span {
  font-size: 14px;
  line-height: 40px;
  color: #f3b098;
}

.el_stepTtl h2 {
  font-size: 20px;
  font-weight: 400;
  -webkit-text-stroke: 0.8px;
  color: #41b3cb;
  letter-spacing: 0.05em;
}

.el_stepTtl h2 small {
  font-size: 14px;
}

/*  ======== 料金 =========== */

.ly_cta {
  margin-block: 40px;
}

.el_categoryLabel {
  font-size: 12px;
  width: fit-content;
  color: #fff;
  background: #93bbcd;
  padding-inline: 5px;
}

.el_secHeader {
  display: flex;
  flex-direction: column;
  gap: 4px;
  letter-spacing: 0.05em;
  margin-block: 14px;
}

.el_secHeader span {
  font-size: 12px;
  color: #f3b098;
  font-weight: 700;
}

.el_secHeader h2 {
  font-size: 24px;
  font-weight: 400;
  -webkit-text-stroke: 0.8px;
  line-height: 1.6;
  color: #41b3cb;
}

.el_secHeader h2 small {
  font-size: 16px;
  line-height: 2.5;
}

/*  ======== お問い合わせフォーム =========== */

.bl_contactformWrap {
  background: #e5f3f7;
  padding: 80px 15px;
}

.bl_inputField {
  display: flex;
  flex-direction: column;
}

.bl_inputField:not(:nth-child(2)) {
  margin-top: 17px;
}

.bl_inputField label {
  font-size: 14px;
  line-height: 2.14;
  display: flex;
  gap: 10px;
  align-items: baseline;
}

.bl_inputField small {
  font-size: 12px;
  color: #8b8b8b;
}

.bl_inputField input:not([type='radio']),
.bl_inputField textarea {
  width: 100%;
  height: 40px;
  padding: 10px 8px;
  border: none;
  border-radius: 0;
  background: #fff;
  accent-color: #41b3cb;
}

.bl_inputField input[type='radio'] {
  width: 18px;
  height: 18px;
}

.wpcf7-list-item {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wpcf7-form-control.wpcf7-radio {
  display: flex;
  gap: 16px;
}

.bl_inputField textarea {
  height: 100px;
  resize: none;
}

.bl_formSubmit {
  position: relative;
  width: 100%;
  max-width: 320px;
}

.bl_formSubmit .el_btn_point::after {
  position: absolute;
  content: '';
  width: 8px;
  height: 8px;
  background: #fff;
  border-radius: 50%;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  transition: background 0.3s ease;
}

.bl_formSubmit input {
  appearance: none;
  background: none;
  border: none;
  color: #fff;
  font-size: 14px;
  letter-spacing: 0.05em;
  width: 100%;
  height: 100%;
  cursor: pointer;
}

.bl_formSubmit:hover input {
  color: #e7cb7a;
}

.wpcf7-spinner {
  display: none;
}

.wpcf7-form-control-wrap {
  position: relative;
  display: block;
}

.wpcf7-form-control-wrap:has(input[aria-required='true']) input {
  padding-left: 50px;
}

.wpcf7-form-control-wrap:has(input[aria-required='true'])::after {
  position: absolute;
  top: 9px;
  left: 8px;
  background: #ea3737;
  color: #fff;
  content: '必須';
  font-size: 10px;
  padding: 3px 7px;
}

.search-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 300px;
  margin-bottom: 24px;
}

.el_searchInput {
  width: 100%;
  padding: 5px 10px;
  border: 1px solid #ddd;
  font-size: 14px;
}

.el_searchBtn {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  width: 20px;
  height: 20px;
}

.el_searchBtn:hover {
  color: #000;
}

@media screen and (min-width: 768px) {
  .breadcrumb {
    padding-inline: 20px;
    display: flex;
    font-size: 12px;
    height: 50px;
    align-items: center;
    color: #666;
    gap: 4px;
  }

  .breadcrumb li {
    display: flex;
    align-items: center;
    gap: 4px;
  }

  .breadcrumb li a:hover {
    text-decoration: underline;
  }

  .breadcrumb li:not(:first-child)::before {
    content: '>';
  }

  .el_secHeader {
    width: fit-content;
  }

  .el_secHeader span {
    font-size: 14px;
  }

  .el_secHeader h2 {
    font-size: 30px;
    line-height: 1.5;
    letter-spacing: 0.1em;
  }

  .el_mdGrid {
    max-width: 1000px;
    margin-inline: auto;
    display: grid;
    gap: 46px 76px;
    grid-template-columns: 1fr 2.1fr;
    grid-template-rows: repeat(2, auto);
  }

  .ly_header {
    position: sticky;
    top: 0;
    left: 0;
    right: 0;
    width: 100%;
  }

  .bl_pageFv {
    padding-inline: 20px;
  }

  .bl_pageFvInner {
    aspect-ratio: unset;
    width: 100%;
    height: 250px;
    border-radius: 20px;
    overflow: hidden;
  }

  .bl_pageFvInner::after {
    background: linear-gradient(
      90deg,
      rgba(101, 128, 134, 1) 0%,
      rgba(255, 255, 255, 0.3) 100%
    );
    opacity: 0.4;
    border-radius: 20px;
  }

  .bl_pageFvInner h1 {
    left: 100px;
    bottom: 50%;
    transform: translateY(50%);
    width: fit-content;
    font-size: 40px;
  }

  /* ========= 症例ピックアップ =========== */

  .ly_treatmentCase {
    padding-top: 160px;
  }

  .bl_treatmentCaseCont {
    display: flex;
    flex-direction: row;
    gap: 20px;
    max-width: 1000px;
    margin-inline: auto;
  }

  .bl_case_dummy {
    flex-direction: column;
    flex: 1;
  }

  .bl_case_dummy_img {
    max-width: unset;
  }

  /* ========= よくある質問 =========== */

  .ly_qaSubp {
    padding-block: 120px;
  }

  /* ========= 治療の流れ =========== */

  .ly_flow {
    padding-block: 105px 100px;
  }

  .ly_flow::after,
  .ly_flow::before {
    content: unset;
  }

  /* ========= ステップタイトル =========== */

  .el_stepTtl h2 {
    font-size: 24px;
    letter-spacing: 0.05em;
  }

  /*  ======== 料金 =========== */

  .ly_cta {
    margin-block: 100px 140px;
  }

  /*  ======== お問い合わせフォーム =========== */

  .bl_contactformWrap {
    padding-block: 100px 84px;
  }

  .bl_inputField label {
    font-size: 16px;
  }

  .bl_formSubmit {
    height: 44px;
  }

  .bl_inputField:not(:nth-child(2)) {
    margin-top: 28px;
  }

  .bl_inputField input {
    height: 50px;
    font-size: 16px;
  }

  .bl_inputField textarea {
    font-size: 16px;
  }

  .bl_inputField input:not([type='radio']),
  .bl_inputField textarea {
    height: 50px;
  }

  .bl_inputField input,
  .bl_inputField textarea {
    padding-block: 15px;
  }

  .bl_inputField textarea {
    height: 200px;
    font-size: 16px;
  }

  .bl_formSubmit input {
    font-size: 20px;
  }

  .wpcf7-form-control-wrap:has(input[aria-required='true'])::after {
    top: 15px;
  }
}
@media screen and (min-width: 1280px) {
  .bl_pageFv,
  .breadcrumb {
    padding-inline: 40px;
  }
}
