@charset "utf-8";

/* =========================

  base

=========================*/
.subpage {
  position: relative;
}
.subpage .section__contents p a {
  color: var(--accentcolor);
  border-bottom: 1px solid var(--accentcolor);
  padding-bottom: 2px;
}
.subpage strong {
  font-weight: 700;
}
.subpage .section__contents a {
  color: var(--accentcolor);
  text-decoration: underline;
}
.subpage .section__contents .btn a,
.wp-block-button .wp-block-button__link {
  color: #FFFFFF;
  text-decoration: none !important;
}
.subpage .section__contents .btn a:hover,
.wp-block-button .wp-block-button__link:hover {
  color: var(--maincolor);
  opacity: 1.0;
}
@media screen and (max-width:750px) {
}

/* ------------------------
  kv
------------------------*/
.sub__kv {
  width: 92%;
  text-align: center;
  aspect-ratio: 1800 / 470;
  background-size: cover;
  position: relative;
  border-radius: 3vw;
  z-index: 1;
  margin: auto;
}
.sub__kv::before {
  content: "";
  width: 100%;
  aspect-ratio: 1800 / 470;
  border-radius: 3vw;
  background-image: linear-gradient(#3E9595, #EFD25F);
  opacity: .4;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 2;
}
.subkv01 {
  background-image: url(../images/subkv01.jpg);
  background-position: center;
}
.subpage__kv__ttl {
  color: #FFFFFF;
  max-width: 1600px;
  width: 90%;
  height: fit-content;
  font-family: var(--font);
  text-align: left;
  position: absolute;
  bottom: 0;
  top: 0;
  left: 0;
  right: 0;
  margin: auto;
  z-index: 3;
}
.subpage__kv__ttl h1 {
  font-size: clamp(32px, 6vw, 46px);
  line-height: 1.4em;
}
.subpage__kv__ttl .subttl {
  font-size: 1.5em;
  display: block;
}
@media screen and (max-width:750px) {
  .sub__kv {
    width: 100%;
  }
  .subpage .sub__kv,
  .subpage .sub__kv::before {
    width: 100%;
    height: 215px;
    border-radius: 0;
  }
  .subpage .sub__kv {
    margin-top: 5px;
  }
  .subpage .sub__kv__inner {
    padding: 12px 12px 12px 24px;
  }
  .subpage__kv__ttl h1 {
    font-size: 2em;
  }
  .subpage__kv__ttl .subttl {
    font-size: 1em;
  }
}

/* ------------------------
  contents
------------------------*/
.subpage .section__contents:first-child {
  margin-top: 114px;
}
iframe.movie {
  display: block;
  border-radius: 5px;
}
@media screen and (max-width:950px) {
  iframe.movie {
    width: 100%;
  }
}
@media screen and (max-width:750px) {
  iframe.movie {
    height: 182.8125px;
  }
}

/* ------------------------
  ttl
------------------------*/
.subpage h2 {
  font-family: var(--font);
  width: calc(100% - 32px);
  font-size: clamp(26px, 4vw, 36px);
  font-weight: 500;
  line-height: 1.4em;
  padding: 16px;
  margin: 100px 0 40px;
  border-top: 2px solid var(--border-color);
  border-bottom: 2px solid var(--border-color);
  position: relative;
}
.subpage h2::before {
  content: "";
  position: absolute;
  width: 85px;
  height: 2px;
  background: var(--accentcolor);
  left: 0;
  top: -2px;
}
.subpage h2::after {
  content: "";
  position: absolute;
  width: 85px;
  height: 2px;
  background: var(--accentcolor);
  left: 0;
  bottom: -2px;
}
.subpage h2:first-child {
  margin-top: 0;
}
.subpage h2.h2_ttl {
  font-size: clamp(32px, 5vw, 40px);
  margin-left: 20px;
}
.subpage h2.h2_ttl::before {
  width: 61px;
  height: 49px;
  content: "";
  position: absolute;
  background-image: url(../images/ttl_accessory.svg);
  background-size: cover;
  top: 34%;
  left: 0;
  transform: translate(-50%, -50%);
  background-color: transparent;
  z-index: -1;
}
.subpage h2.h2_ttl {
  margin-left: 30px;
  border: none;
}
.subpage h2.h2_ttl::after {
  content: none;
}
.subpage h2 strong,
.subpage h3 strong {
  font-weight: 500;
}
.subpage h3 {
  font-size: clamp(22px, 3vw, 32px);
  line-height: 1.4em;
  margin: 50px 0 30px;
  padding: 10px 0 10px 30px;
}
.subpage h4 {
  font-size: 1.1em;
  position: relative;
  padding-left: 30px;
  margin-bottom: 8px;
}
.subpage h4::before {
  content: "";
  width: 20px;
  height: 2px;
  background-color: var(--maincolor);
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  margin: auto;
}
@media screen and (max-width:750px) {
  .subpage h2 {
    margin: 60px 0 30px;
  }
  .subpage h2, .subpage h3 {
    margin: 40px 0 20px;
  }
  .subpage h2:first-child {
    margin-top: 0;
  }
  .subpage h2 {
    line-height: 1.4em;
  }
}

/* ------------------------
  breadcrumbs
------------------------*/
.breadcrumbs {
  width: 1600px;
  font-size: 15px;
  margin: 20px auto auto;
}
.breadcrumbs a {
  color: var(--accentcolor);
}
.breadcrumbs a:hover {
  opacity: 0.5;
}
@media screen and (max-width:1600px) {
  .breadcrumbs {
    width: 90%;
    padding: 0;
    margin-bottom: 0;
  }
}
@media screen and (max-width:750px) {
  .breadcrumbs {
    font-size: 14px;
  }
}

/* ------------------------
  list
------------------------*/
ul.wp-block-list {
  width: fit-content;
  margin: 0 0 50px;
  padding: 30px;
  display: list-item;
  background-color: #EEF8F4;
  border-radius: 1vw;
}
ul.wp-block-list li {
  text-indent: -20px;
  padding-left: 25px;
  margin-bottom: 10px;
}
ul.wp-block-list li:before {
  content: "●";
  color: var(--border-color);
  font-size: 14px;
  margin-right: 8px;
  vertical-align: bottom;
}
ul.wp-block-list li strong {
  font-weight: 600;
}
ul.wp-block-list li > ul {
  padding: 5px;
  margin: 0;
}
ul.wp-block-list li > ul li::before {
  content: "○";
}
ol.wp-block-list {
  list-style-type: decimal;
  padding-left: 24px;
}
ol.wp-block-list li {
  margin-bottom: 16px;
}
ol.wp-block-list li::marker {
  color: var(--maincolor);
  font-size: 1.2em;
  font-weight: 600;
}
ol.wp-block-list li > ul {
  margin-top: 0;
}
ol.wp-block-list li > ul li {
  margin-bottom: 0px;
}
@media screen and (max-width:750px) {
  ul.wp-block-list {
    margin: 0 0 30px;
    padding: 20px;
  }
  ul.wp-block-list li {
    margin-bottom: 8px;
  }
}

/* ------------------------
  anchor
------------------------*/
.wp-block-list:has(.anchor){
  border: 1px solid #000000;
  margin: 0 auto 100px;
  padding: 20px 50px;
  background-color: transparent;
}
.wp-block-list li.anchor {
  font-weight: bold;
  display: inline-block;
  position: relative;
  margin-right: 25px;
}
.wp-block-list li.anchor::before {
  width: 6px;
  height: 6px;
  top: auto;
  left: 0;
  right: 0;
  bottom: auto;
  margin: auto;
}
.wp-block-list li.anchor::before {
  content: "";
  width: 6px;
  height: 6px;
  border-top: solid 1px #CCCCCC;
  border-right: solid 1px #CCCCCC;
  position: absolute;
  top: 0;
  bottom: 0;
  transform: rotate(135deg);
  display: inline-block;
  right: -13px;
  left: auto;
}
.wp-block-list li.anchor a {
  width: 100%;
  display: block;
}
.anchor li {
  width: 24.2%;
  margin: 0 12px 12px 0;
  display: table;
}
.anchor li:nth-child(4n), .anchor li:last-child {
  margin-right: 0;
}
.anchor li a {
  width: 200px;
  height: 42px;
  font-size: 15px;
  line-height: 1.4em;
  text-align: left;
  display: table-cell;
  vertical-align: middle;
  padding: 20px 30px 20px 20px;
  position: relative;
}
.anchor li a:hover {
  background-color: #F5F5F5;
}
.anchor li a:after {
  content: "";
  width: 8px;
  height: 8px;
  border-top: solid 1px #CCCCCC;
  border-right: solid 1px #CCCCCC;
  position: absolute;
  right: 20px;
  top: 0;
  bottom: 0;
  margin: auto;
  transform: rotate(135deg);
}
@media screen and (max-width:1200px) {
  .anchor {
    width: calc(100% - 50px);
    padding: 0 25px;
  }
  .anchor li {
    width: 23.9%;
  }
  .anchor li a {
    width: 15vw;
    font-size: 14px;
    padding: 15px 26px 15px 15px;
  }
}
@media screen and (max-width:950px) {
  .wp-block-list:has(.anchor) {
    margin: 0 0 60px;
    padding: 10px;
  }
  .wp-block-list li.anchor {
    width: calc(100% - 25px);
    padding: 0 0 5px;
    text-indent: 0;
  }
  .anchor li:nth-child(2n) {
    margin-right: 0;
  }
  .section__content__innerblock .anchor {
    display: block;
    width: 100%;
    padding: 0;
  }
  .section__content__innerblock .anchor li {
    margin: 0 2% 2% 0;
    display: table;
    width: 100%;
  }
}

/* ------------------------
  wp-block-media-text
------------------------*/
.wp-block-media-text {
  margin-bottom: 0;
}
.wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
  padding: 0 8% 0 0 !important;
}
@media screen and (max-width:750px) {
  .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content {
    width: 100%;
    padding-left: 0 !important;
  }
  .wp-block-media-text.has-media-on-the-right>.wp-block-media-text__content,
  .wp-block-media-text.is-stacked-on-mobile>.wp-block-media-text__content {
    padding: 0 !important;
    margin-top: 15px;
  }
  .wp-block-media-text h3 {
    margin-top: 0;
  }
}

/* ------------------------
  flow
------------------------*/
.vk_flow .vk_flow_frame {
  border: none !important;
  padding: 2.5rem !important;
  counter-reset: number 0;   
  background-color: #FFFFFF;
  border-radius: 20px;
}
.vk_flow .vk_flow_frame_text_title {
  color: var(--maincolor);
  font-size: 1.4em !important;
  line-height: 1.2;
  font-weight: 400;
  border-bottom: 2px dotted #C0DFF4 !important;
  padding-bottom: 20px !important;
  margin-bottom: 30px !important;
  counter-increment: mycounter;
}
.vk_flow .vk_flow_frame_text_title > span.step {
  color: #ED9CB7;
  font-size: 22px;
  font-weight: 200;
  margin-right: 20px;
}
.vk_flow .vk_flow_frame_text_title > .step .num {
  font-size: 1.5em;
  margin-left: 5px;
}
.vk_flow.vk_flow-arrow-on::after {
  background-size: 110px 110px !important;
  height: 62px !important;
  width: 67px !important;
  margin: 10px auto !important;
}
@media screen and (max-width:750px) {
  .vk_flow .vk_flow_frame {
    padding: 1.5rem !important;
  }
  .vk_flow .vk_flow_frame_text_title {
    margin: 0 0 10px !important;
    padding: 0 0 10px !important;
  }
  .vk_flow .vk_flow_frame_text_title > span.step {
    font-size: 20px;
    margin-right: 6px;
    display: block;
    margin-bottom: 8px;
  }
}

/* ------------------------
  FAQ
------------------------*/
.vk_faq {
  border: none !important;
  margin: 2rem auto !important;
}
.vk_faq .vk_faq_content {
  padding: 1.5rem 1.5rem 1.5rem 4rem !important;
  background-color: #EEF8F4;
}
.vk_faq .vk_faq_title {
  border: none !important;
  padding: 1rem 1rem 1rem 4rem !important;
}
.vk_faq .vk_faq_title:before,
.vk_faq .vk_faq_content:before {
  font-family: 'Noto Sans JP', sans-serif, 'ヒラギノ角ゴ Pro W3', 'Hiragino Kaku Gothic Pro','メイリオ', 'Meiryo', '游ゴシック', 'Yu Gothic', 'ＭＳ Ｐゴシック', 'MS PGothic', sans-serif !important;
  font-size: 1.8em !important;
  font-weight: bold !important;
}
.vk_faq .vk_faq_title:before {
  color: var(--maincolor) !important;
  content: "Q." !important;
  left: 35px !important;
}
.vk_faq .vk_faq_content:before {
  color: var(--accentcolor) !important;
  content: "A." !important;
  top: 1.5rem !important;
  margin: auto;
  left: 35px !important;
}
.vk_faq .vk_faq_title p,
.vk_faq .vk_faq_content p {
  margin-left: 20px;
}
.vk_faq .vk_faq_title p {
  font-size: 1.25rem !important;
}
.vk_faq .vk_faq_content .wp-block-list {
  border: 1px solid var(--maincolor);
}
@media screen and (max-width:750px) {
  .vk_faq {
    margin: 0rem auto !important;
  }
  .vk_faq .vk_faq_title {
    padding: 1rem 1rem 1rem 2rem !important;
  }
  .vk_faq .vk_faq_content {
    padding: 1.5rem 1.5rem 1.5rem 2rem !important;
  }
  .vk_faq .vk_faq_title:before {
    left: 8px !important;
  }
  .vk_faq .vk_faq_content:before {
    left: 10px !important;
  }
}

/* ------------------------
  contents margin
------------------------*/
.subpage .section__contents {
  margin-top: 100px;
}
.subpage .section__contents:last-child {
  margin-bottom: 215px;
}
.section__content__innerblock {
  margin-bottom: 60px;
}
.section__content__innerblock:last-child {
  margin-bottom: 0;
}
@media screen and (max-width:750px) {
  .section__contents, .subpage .section__contents {
    margin-top: 60px;
  }
  .subpage .section__contents:last-child {
    margin-bottom: 90px;
  }
  .section__content__innerblock {
    margin-bottom: 40px;
  }
}


/* =========================

  news

=========================*/
.post_contents a {
  color: #ED9CB7;
  text-decoration: underline;
}
#news_post .post_contents,
#column_post .post_contents {
  background-color: #FFFFFF;
  border-radius: 20px;
}
#news_list .news_item, #column_list .column_item {
  margin-bottom: 20px;
  text-align: left;
}
#news_list .news_item:last-child,
#column_list .column_item:last-child  {
  margin-bottom: 0;
}
#news_list .news_item_inner a, #column_list .column_item_inner a {
  color: var(--fontcolor);
  border: none;
  background-color: #FFFFFF;
  border-bottom: 2px solid var(--border-color);
  padding: 20px;
  margin-bottom: 20px;
  display: block;
  text-decoration: none;
}
#news_list .news_item_inner a:hover, #column_list .column_item_inner a:hover {
}
#news_list .news_item_inner dd, #column_list .column_item_inner dd {
  width: 20%;
}
#news_list .news_item_inner h3, #column_list .column_item_inner h3 {
  width: 80%;
  font-size: 16px;
  font-weight: normal;
  padding-bottom: 0;
  border: none;
  margin: 0;
}
#news_list .news_item_inner .ttl,
#column_list .column_item_inner .ttl {
  font-size: 1.2em;
  font-weight: 600;
}
#news_list .news_item_inner h3::after {
  content: none;
}
#news_list .day_cat,
#column_list .day_cat {
  display: flex;
}
#news_post .post_ttl,
#column_post .post_ttl {
  margin: 0 0 50px;
  padding-bottom: 20px;
  border-bottom: 2px solid var(--maincolor);
}
#news_post .post_ttl .ttl,
#column_post .post_ttl .ttl {
  width: 100%;
  margin: 0;
  padding: 0;
}
#news_post .post_ttl .ttl::before,
#column_post .post_ttl .ttl::before {
  content: none;
}
#news_post .post_contents, #news_post h2,
#column_post .post_contents, #column_post h2 {
  text-align: left;
}
#news_post .date, #column_post .date {
  color: var(--maincolor);
  margin-bottom: 15px;
  display: block;
}
#news_post h2, #column_post h2 {
  width: 100%;
}
#news_post h2.wp-block-heading, #column_post h2.wp-block-heading {
  width: calc(100% - 32px);
}
#news_post h2.h2_ttl, #column_post h2.h2_ttl {
  width: 94%;
  margin: auto;
  border: none;
}
#news_post h2.h2_ttl::after, #column_post h2.h2_ttl::after {
  content: none;
}

#news_post .news_content_box h1,
#news_post .news_content_box h2,
#news_post .news_content_box h3,
#news_post .news_content_box h4,
#column_post .column_content_box > h1,
#column_post .column_content_box > h2,
#column_post .column_content_box > h3,
#column_post .column_content_box > h4 {
  line-height: 1.4em;
}
#news_post .news_content_box h1,
#column_post .news_content_box > h1,
#column_post .column_content_box > h1 {
  font-size: 50px;
  line-height: 1.0;
}
/* #news_post .news_content_box h2,
#column_post .news_content_box > h2,
#column_post .column_content_box > h2 {
  width: calc(100% - 50px);
  border: none;
} */
#news_post .news_content_box h3,
#column_post .news_content_box > h3,
#column_post .column_content_box > h3 {
  font-size: 1.8em;
}
#news_post .news_content_box h4,
#column_post .news_content_box > h4,
#column_post .column_content_box > h4 {
  font-size: 1.5em;
}
.news_content_box a:hover, .column_content_box a:hover {
  opacity: 0.6;
}
/* ul ol */
.news_content_box ul, .news_content_box ol,
.column_content_box ul, .column_content_box ol,
.search_post_content_box ol {
  margin: 0 0 50px;
}
.news_content_box ol, .column_content_box ol, .search_post_content_box ol {
  list-style: decimal;
  width: fit-content;
  padding-left: 3rem !important;
}

/* 画像 */
.news_content_box img, .column_content_box img {
  border-radius: 5px;
}
.news_content_box img.alignleft, .column_content_box img.alignleft {
  width: 350px;
  float: left;
}
.news_content_box img.alignright, .column_content_box img.alignright {
  width: 350px;
  float: right;
}

/* 引用 */
.news_content_box blockquote, .column_content_box blockquote {
  position: relative;
  margin-bottom: 40px;
  padding: 38px 15px 15px;
  box-sizing: border-box;
  font-style: italic;
  text-align: left;
  background: #efefef;
  color: #555555;
}
.news_content_box blockquote:before, .column_content_box > blockquote:before {
  display: inline-block;
  position: absolute;
  top: 13px;
  left: 15px;
  content: "\f10d";
  font-family: FontAwesome;
  color: #cfcfcf;
  font-size: 28px;
  line-height: 1;
  font-weight: 900;
}
.news_content_box blockquote p, .column_content_box > blockquote p {
  padding: 0;
  margin-bottom: 5px;
  line-height: 1.7;
}
.news_content_box blockquote cite, .column_content_box > blockquote cite {
  display: block;
  text-align: left;
  color: #888888;
  font-size: 0.9em;
}

/* 前の記事、次の記事 */
.page_back_next {
  margin-top: 115px;
}
.page_back_next li {
  margin-right: 20px;
}
.page_back_next li:last-child {
  margin-right: 0;
}
.back_next a {
  color: var(--maincolor);
  background-color: transparent;
  padding: 10px 20px;
  border-radius: 10px;
  border: 1px solid var(--maincolor);
  display: block;
}
.back_next a:hover {
  color: #FFFFFF;
  background-color: var(--maincolor);
}
.page_back_next .btn_wrap {
  margin-top: 0 !important;
}
@media screen and (max-width:750px) {
  #news_list .news_item_inner a,
  #column_list .news_item_inner a {
    display: block;
  }
  #news_post h2.h2_ttl::before, #column_post h2.h2_ttl::before {
    left: 5px;
  }
  #news_list .news_item_inner dd,
  #news_list .news_item_inner h3,
  #column_list .news_item_inner dd,
  #column_list .news_item_inner h3 {
    width: 100%;
    font-size: 14px;
  }
  #news_post .post_ttl, #column_post .post_ttl {
    margin-bottom: 40px;
  }
  .news_content_box img.alignleft,
  .news_content_box img.alignright,
  .column_content_box img.alignleft,
  .column_content_box img.alignright {
    width: 100%;
    float: unset;
  }
  .news_content_box ul, .news_content_box ol,
  .column_content_box ul, .column_content_box ol,
  .search_post_content_box ol {
    margin-bottom: 20px;
  }
  .page_back_next {
    margin-top: 60px;
  }
  .back_next a {
    padding: 8px 15px;
  }
}

/* =========================

  404

=========================*/
#error404 {
  text-align: center;
  padding-top: 50px;
}
#error404 h2 {
  font-size: 4em;
  line-height: 1.0em;
}
#error404 h3 {
  font-size: 2em;
  line-height: 1.4em;
  margin-bottom: 50px;
}
#error404 .error404_txt {
  margin-bottom: 60px;
}
#error404 .error404_txt p {
  text-align: center;
}
#error404 h2::before {
  vertical-align: baseline;
}


/* =========================

  form

=========================*/
#contact_form .section__contents__inner {
  max-width: 900px;
  margin: auto;
  width: 90%;
}
.form {
  background-color: #FFFFFF;
  border-radius: 20px;
  margin-bottom: 50px;
  padding: 60px 50px;
  counter-reset: ttl_num;
  border: 3px solid var(--maincolor);
}
.form p {
  text-align: center;
  margin-bottom: 0;
}
.form dl {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  padding-bottom: 20px;
}
.form dl dt {
  width: 30%;
  font-weight: bold;
}
.form dl dt p,
.form dd p {
  text-align: left;
}
.form dd input,
.form dd textarea {
  width: 430px;
  border-radius: 100vh;
  border: 1px solid var(--border-color);
  padding: 10px 30px;
}
.form dd textarea {
  border-radius: 15px;
}
.form dd input[type="checkbox"] {
  width: auto;
}
[type="submit"] {
  background-color: var(--maincolor);
  color: #FFFFFF;
  border: 2px solid var(--maincolor);
  padding: 14px 72px;
  font-size: 1.0em;
  border-radius: 100vw;
}
[type="submit"]:hover {
  transition: all 0.3s ease 0s;
  cursor: pointer;
  opacity: 0.6;
}
.form dd ::placeholder {
  color: var(--border-color);
}
input[type="text"]:focus,
input[type="email"]:focus,
textarea:focus {
  border: 2px solid var(--border-color);
  outline: 0;
}
.privacy_policy {
  height: 300px;
  overflow: scroll;
  background-color: #FFFFFF;
  border-radius: 15px;
}
.privacy_policy .privacy_policy_inner {
  font-size: 14px;
  padding: 60px;
}
.wpcf7-not-valid-tip {
  font-size: 14px !important;
  text-align: left;
  padding-left: 30px;
}
.wpcf7 form.invalid .wpcf7-response-output, .wpcf7 form.unaccepted .wpcf7-response-output, .wpcf7 form.payment-required .wpcf7-response-output {
  color: var(--accentcolor);
  font-weight: bold;
  text-align: center;
  margin-top: 70px;
  padding: 10px;
  border-color: var(--accentcolor) !important;
}
.wpcf7 form.sent .wpcf7-response-output {
	border-color: var(--accentcolor) !important;
}
span.wpcf7-spinner {
  display: none;
}
.wpcf7-list-item:first-child {
  margin-left: 0;
}
input[type="radio"] {
  width: fit-content !important
}
select.wpcf7-form-control.wpcf7-select {
  padding: 5px 14px 5px 5px;
}
#home_medical_form .form dl {
  display: block;
}
#home_medical_form .form dl dt {
  width: 100%;
  margin-bottom: 10px;
}
#home_medical_form .form dd input, 
#home_medical_form .form dd textarea {
  width: 600px;
}
#home_medical_form input[type="checkbox"] {
  width: auto;
  width: fit-content !important;
}
#home_medical_form .form dl dt p {
  margin-bottom: 5px !important;
}
#home_medical_form .form dl dt:before {
  counter-increment: ttl_num;
  content: counter(ttl_num) ".";
}
@media screen and (max-width:950px) {
  .form dl dt {
    margin-right: 15px;
  }
  .form dd {
    width: 100%;
  }
  .form dd input, .form dd textarea,
  #home_medical_form .form dd input, #home_medical_form .form dd textarea {
    width: calc(100% - 42px);
  }
}
@media screen and (max-width:750px) {
  .form {
    padding: 30px 20px;
    border: 2px solid var(--maincolor);
  }
  .form dl {
    display: block;
    padding-bottom: 0;
  }
  .form dl dt {
    width: 100%;
    margin: 0 0 10px 0;
  }
  .form dd input, .form dd textarea,
  #home_medical_form .form dd input, #home_medical_form .form dd textarea {
    width: calc(100% - 42px);
    padding: 10px 20px;
  }
  .privacy_policy .privacy_policy_inner {
    font-size: 13px;
    padding: 30px;
  }
  .wpcf7-not-valid-tip {
    font-size: 12px !important;
    padding-left: 0;
  }
  .wpcf7-list-item {
    display: block !important;
    margin: 0 !important;
  }
  #contact_form .section__contents__inner .text_center p {
    text-align: center;
  }
}

/* =========================

  complete

=========================*/
#complete {
  margin-top: 215px;
}
#complete h2 {
  display: inline-block;
}
@media screen and (max-width:750px) {
  #complete {
    margin-top: 110px;
  }
}

/* =========================

  page navi

=========================*/
.wp-pagenavi {
  text-align: center;
  margin-top: 60px
}
.wp-pagenavi a, .wp-pagenavi span {
	color: var(--maincolor);
	background-color: #FFFFFF;
	padding: 12px 15px;
	margin: 0 5px;
	white-space: nowrap;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--maincolor);
  border-radius: 100vh;
}
.wp-pagenavi a:hover{
	color: #FFFFFF;
	background-color: var(--maincolor);
}
.wp-pagenavi span.current {
	color: #FFFFFF;
	background-color: var(--maincolor);
}
.wp-pagenavi span.pages,
.wp-pagenavi a.last, .wp-pagenavi a.first {
  border-radius: 4px;
}
.page_back_next {
  margin: 100px auto;
  overflow: hidden;
  clear: both;
}
.page_back_next .page_back_next_inner {
  display: flex;
  justify-content: center;
  align-items: center;
}
.page_back_next .page_back_next_inner li {
  margin-right: 30px;
}
.page_back_next .page_back_next_inner li:last-child {
  margin-right: 0;
}
.page_back_next .back a,
.page_back_next .next a {
  color: var(--maincolor);
  font-weight: bold;
  display: block;
  padding: 10px;
  width: 30px;
  height: 30px;
  text-align: center;
  border-radius: 100vh;
  border: 1px solid var(--maincolor);
}
.page_back_next .back a:hover,
.page_back_next .next a:hover {
  color: #FFFFFF;
  background-color: var(--maincolor);
  opacity: 1.0;
}
.page_back_next .page_back_next_inner .btn_wrap {
  margin-top: 0;
}
.page_back_next .page_back_next_inner .btn_wrap .btn a {
  border: 1px solid var(--maincolor);
  font-weight: normal;
}
@media screen and (max-width:750px) {
  .wp-pagenavi span.pages,.wp-pagenavi a.first,
  .wp-pagenavi a.last {
    display: none;
  }
  .wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 14px;
  }
  .page_back_next {
    margin: 20px auto;
  }
  .page_back_next .back a,
  .page_back_next .next a {
    line-height: 2em;
  }
}

/* =========================

  page navi

=========================*/
.wp-pagenavi {
  text-align: center;
  margin: 60px auto;
}
.wp-pagenavi a, .wp-pagenavi span {
	color: var(--maincolor);
	background-color: transparent;
	padding: 12px 19px;
	margin: 0 5px;
	white-space: nowrap;
	-webkit-transition: 0.2s ease-in-out;
	-moz-transition: 0.2s ease-in-out;
	-o-transition: 0.2s ease-in-out;
	transition: 0.2s ease-in-out;
	text-align: center;
	text-decoration: none;
	border: 1px solid var(--maincolor);
  border-radius: 5px;
}
.wp-pagenavi a:hover{
	color: #FFFFFF;
	background-color: var(--maincolor);
}
.wp-pagenavi span.current {
	color: #FFFFFF;
	background-color: var(--maincolor);
}
.wp-pagenavi span.pages,
.wp-pagenavi a.last, .wp-pagenavi a.first {
  border-radius: 4px;
}
@media screen and (max-width:750px) {
  .wp-pagenavi {
    margin-top: 40px;
  }
  .wp-pagenavi span.pages,.wp-pagenavi a.first,
  .wp-pagenavi a.last {
    display: none;
  }
  .wp-pagenavi a, .wp-pagenavi span {
    display: inline-block;
    margin-bottom: 10px;
    padding: 6px 14px;
  }
}