@charset "utf-8";
/****************
doc
****************/
:root {
  --serif: "Noto Serif", "Noto Serif JP", serif;
  --main_color: #301d06;
  --color_br: #634d3b;
  --color_lbr: #a59181;
  --hov_color: #fabe00;
  --bg_main: #00368e;
  --bg_y: #f4dd69;
  --bg_lb: #4b7b9a;
  --color_mainB: #8D6A28;
  --color_lb: #527389;
  --space_b: 100px;
  --space_lll: 80px;
  --space_llm: 60px;
  --space_ll: 40px;
  --space_ml: 24px;
  --space_mdouble: 16px;
  --space_m: 8px;
  --space_s: 4px;
  --font_m: 1.2rem;
  --font_lm: 1.5rem;
}
html {
  scroll-behavior: smooth;
}
body {
  font-family: "Noto Sans", "Noto Sans JP", serif;
  font-feature-settings: "palt";
  color: var(--main_color);
  font-weight: 400;
}
#page_top {
  position: fixed;
  bottom: 2%;
  right: 1%;
  mix-blend-mode: luminosity;
  z-index: 2;
}
#page_top a {
    background: #d3e9f5;
    text-align: center;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: inline-block;
    border: 1px solid #3f5971;
    transition: .3s;
}
#page_top a:before {
    content: "";
    display: inline-block;
    width: 21px;
    height: 21px;
    border-top: 4px solid #3f5971;
    border-left: 4px solid #3f5971;
    transform: rotate(45deg);
    position: relative;
    top: 40%;
}
#page_top a:hover {
    background-color: #ececec;
    color: #4778ba;
    border: 1px solid #4778ba;
    text-decoration: none;
}
#page_top.hidden {
  opacity: 0;
}
#page_top.fade-in {
  opacity: 1;
  transition: opacity 0.5s ease-in-out;
}
#page_top.fade-out {
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
}
.sitemame {
  font-size: 13px;
  font-weight: normal;
  line-height: 1.5;
}
.copy {
  font-size: .8rem;
  text-align: center;
}
.overlay {
  content: "";
  display: block;
  width: 0;
  height: 0;
  background-color: rgba(0, 0, 0, 0.5);
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity .5s;
}
.overlay.open {
  width: 100%;
  height: 100%;
  opacity: 1;
}
html.open, body.open {
  overflow: hidden;
}
.sp {
  display: none;
}
.humberger {
  height: 56px;
  position: fixed;
  width: 56px;
  cursor: pointer;
  background: #fff;
  border: 1px solid;
  border-radius: 6px;
  z-index: 100;
  right: 8px;
  top: 8px;
}
.humberger.open .humberger__line {
  background-color: transparent;
}
.humberger.open .humberger__line::before {
  top: 0;
  transform: rotate(45deg);
}
.humberger.open .humberger__line::after {
  top: 0;
  transform: rotate(-45deg);
}
.humberger.open .humberger__text::before {
  content: "閉じる";
  }
.humberger__line {
  display: block;
  height: 2px;
  position: absolute;
  top: 18px;
  left: 50%;
  transform: translateX(-50%);
  width: 30px;
  background-color: var(--bg_main);
  transition: 0.4s;
}
.humberger__line:before,
.humberger__line:after {
  content: "";
  display: block;
  height: 100%;
  position: absolute;
  width: 100%;
  background-color: var(--bg_main);
  transition: inherit;
}
.humberger__line:before {
  top: -7px;
}
.humberger__line:after {
  top: 7px;
}
.humberger__text {
  position: absolute;
  bottom: 9px;
  left: 50%;
  transform: translateX(-50%);
  width: 100%;
}
.humberger__text::before {
  content: "メニュー";
  text-align: center;
  font-size: 10px;
}
.header__nav-area {
  position: fixed;
  top: 0;
  right: -100%;
  z-index: 90;
  height: 100svh;
  width: min(500px, 100%);
  visibility: hidden;
  padding-top: 60px;
  background-color: #fff;
  transition: 0.4s;
  display: flex;
  flex-direction: column;
}
.header__nav-area.open {
  right: 0;
visibility: visible;
}
.sp-navigation__link {
    font-size: 1.7rem;
    position: relative;
}
.sp-navigation {
    padding: 0 min(7vw, 32px);
}
.sp-nav__list {
    margin-left: 2vw;
    font-size: 1.4rem;
    margin-top: 8px;
}
.sp-navigation__list li + li {
    margin-top: min(3vw, 16px);
    padding-top: min(3vw, 16px);
    border-top: 2px dotted;
}
.sp-nav__list {
    margin-left: 2vw;
    font-size: 1.4rem;
    margin-top: 8px;
}
.sp-nav__list li {
    display: flex;
    align-items: center;
    gap: 1vw;
}
.sp-nav__list li:before {
    content: "";
    width: .5rem;
    height: 1px;
    background: #000;
}

.global-navigation {
  padding-top: 40px;
  padding-right: 25px;
  padding-bottom: 120px;
  padding-left: 25px;
}
.sp_nav__footer {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    margin-top: auto;
    text-align: center;
}
.sp_nav__footer li + li {
    border-left: 1px solid #fff;
}
.sp_nav__footer li a {
    background: #3a80b1;
    color: #fff;
    display: inline-block;
    width: 100%;
    padding: min(5vw, 24px) 8px;
}
/**読み上げソフトにのみ表示**/
.read_only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

footer {
    position: sticky;
    top: 100svh;
}
.footer_reserve {
  background: #396c8d;
  color: #fff;
}
.footer_reserve__inner {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  align-items: center;
  width: min(1280px, 90%);
  margin-inline: auto;
  gap: 40px;
  padding: 60px 0;
}
.footer_reserve__txt hgroup {
  font-family: var(--serif);
  position: relative;
}
.footer_reserve__info {
  margin-top: 16px;
  padding-top: 16px;
  border-top: 1px solid;
}
.footer_reserve__txt h2 {
  font-size: 2rem;
}
.reserve_content {
  border: 1px solid;
  padding: 16px;
  border-radius: 10px;
  background: #385f81;
  font-family: var(--serif);
  height: 100%;
  text-align: center;
}
.reserve_content h3 {
  margin-bottom: 8px;
  padding-bottom: 8px;
  position: relative;
  font-weight: 400;
}
.reserve_content h3:after {
  content: "";
  width: 30px;
  height: 1px;
  background: #fff;
  position: absolute;
  bottom: 0;
  left: 50%;
  translate: -50% 0;
}
.phone_num {
  font-size: 1.5rem;
  display: block;
}
.inner__main {
  width: min(1280px, 90%);
  margin-inline: auto;
  margin-bottom: 100px;
}
.checkup header {
    padding: 24px 32px;
}
.checkup .header_logo {
    display: flex;
    align-items: center;
    gap: 16px;
}
.breadcrumbs_list {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  background: #ededed;
  width: fit-content;
  padding: 2px 16px;
  font-size: .8rem;
}
.breadcrumbs_list li +li:before {
    content: "/";
    padding-right: 8px;
}
.doc_main {
    display: grid;
    grid-template-columns: 29% 1fr;
    width: min(1000px, 100%);
    padding: 0 0 5vw 0;
    margin-left: auto;
    margin-top: 120px;
    border-image: linear-gradient(to right, #cae8f4, #e8f2fa) fill 0 / 0 / 0 4lvi;
    margin-right: calc(50% - 49vw);
}
.message {
  font-family: var(--serif);
  font-size: 2.2rem;
  line-height: 2;
  text-align: right;
}
.content__inner_title {
  font-family: var(--serif);
  color: var(--color_mainB);
  font-size: 2rem;
}
.features__title {
  font-family: var(--serif);
  color: var(--color_mainB);
  font-size: 2.5rem;
  text-align: center;
  position: relative;
  border-bottom: 3px solid;
  width: fit-content;
  margin-inline: auto;
  padding-inline: 1em;
  padding-bottom: 8px;
}
.features__title:before, .features__title:after {
  position: absolute;
  content: '';
  left: 50%;
  width: 0;
  height: 0;
  border-width: 20px 20px 0;
  border-style: solid;
}
.features__title:before {
  bottom: -22px;
  border-color: var(--color_mainB) transparent transparent;
}
.features__title:after {
  bottom: -19px;
  border-color: #fff transparent transparent;
}
.doc_main hgroup {
  font-family: var(--serif);
  margin-top: -14%;
  margin-bottom: 60px;
  display: flex;
  flex-direction: column;
  grid-column: 1/ 3;
  letter-spacing: 0.5rem;
}
.title_img {
    margin-left: calc(50% - 50vw);
    grid-row: 2 / 3;
}
.title_img img {
    width: min(800px, 60%);
    margin-left: auto;
}
.title_content {
    grid-row: 2 / 4;
    margin-top: auto;
    margin-bottom: auto;
    margin-right: 8vw;
}
.title_content p {
    margin-top: 24px;
    line-height: 1.8;
    letter-spacing: .1rem;
}
.top_doc hgroup p {
    color: var(--color_lb);
    font-size: 3.1rem;
    font-weight: bold;
    line-height: 1;
}
.doc_main hgroup p {
    font-size: 3.9rem;
}
.right {
    margin-left: 9vw;
}
.doc_main hgroup h1 {
    color: var(--color_mainB);
    font-size: 2rem;
    margin-left: 10vw;
    order: 2;
}
.img__wrap {
    display: grid;
    grid-template-columns: min(380px, 40%) min(500px, 50%);
    grid-template-rows: 1fr 150px 1fr;
    column-gap: clamp(10px, 5vw, 10%);
    margin-left: auto;
    width: 70%;
    margin-top: -5vw;
    margin-bottom: -5vw;
}
.title_img_02 {
    grid-row: 2;
}
.title_img_03 {
    grid-row: 1 / 3;
}
.news_list__wrap {
    margin-inline: 2vw;
    padding: 16px 32px;
    border: 1px solid var(--bg_lb);
    border-radius: 16px;
}
.news_list li {
  padding: 16px 8px;
  display: flex;
  align-items: center;
  gap: var(--space_m);
}
.news_list li a {
  color: #9b5500;
}
.news_list li a:after {
  content: "";
  width: 1rem;
  height: 22px;
  position: absolute;
  margin-left: 4px;
}
.news_list li a[target="_blank"]:after {
  background: url(/subcontents/wp-content/themes/theme-under/img/icon_blank.svg) center 0px no-repeat;
  background-size: 13px;
}
.news_list li a[href$="pdf"]:after, a[href$="PDF"]:after {
  background: url(/subcontents/wp-content/themes/theme-under/img/icon_pdf.svg) center no-repeat;
  background-size: 13px;
}
.news_list li a[href$="doc"]:after, a[href$="docx"]:after, a[href$="DOC"]:after, a[href$="DOCX"]:after {
  background: url(/subcontents/wp-content/themes/theme-under/img/icon_doc.svg) center no-repeat;
  background-size: 13px;
}
.news_list li a[href$="xls"]:after, a[href$="xlsx"]:after, a[href$="XLS"]:after, a[href$="XLSX"]:after {
  background: url(/subcontents/wp-content/themes/theme-under/img/icon_xlsx.svg) center no-repeat;
  background-size: 13px;
}
.news_list li + li {
    border-top: 1px dashed var(--color_mainB);
}
.news_content {
    width: min(1024px, 100%);
    margin-inline: auto;
    margin-bottom: 120px;
    margin-top: 60px;
}
.top_news_title {
    font-size: 3.5rem;
    margin-bottom: 16px;
    font-family: var(--serif);
    color: var(--color_mainB);
}
.for_news {
    width: fit-content;
    margin: 16px 2vw 0 auto;
    display: flex;
    align-items: center;
    gap: 16px;
    color: var(--color_mainB);
    font-weight: bold;
    font-family: var(--serif);
    font-size: 1.2rem;
}
.for_news:before {
    content: "";
    width: 90px;
    height: 1px;
    background: var(--color_mainB);
}
.message_area {
  padding: 32px 24px;
}
.text-content {
    width: min(900px, 100%);
}
.content {
  margin-bottom: 64px;
}
.content + .content {
    margin-top: 120px;
}
.text-content:nth-child(odd) {
    margin-left: auto;
}
.text-content:nth-child(even) {
    margin-right: auto;
}
.content_detail, .block_cotent {
    margin: 48px 2vw;
}
.block_cotent {
    margin: 32px 2vw;
}
.content_detail, .block_cotent {
  font-size: 1.1rem;
  letter-spacing: 0.05rem;
  line-height: 1.8;
}
.content_detail ul, .block_cotent ul,
.content_detail ol, .block_cotent ol {
    margin-top: 8px;
    margin-bottom: 8px;
    margin-inline-start: 1.5rem;
}
.content_detail ul a, .block_cotent ul a,
.content_detail ol a, .block_cotent ol a {
    border-bottom: 1px solid var(--color_mainB);
}
.content_detail ul a:hover, .block_cotent ul a:hover,
.content_detail ol a:hover, .block_cotent ol a:hover {
    color: #834006;
}
.content_detail ul, .block_cotent ul {
    list-style: disc;
}
.content_detail ul > li::marker, .block_cotent ul > li::marker {
    color: var(--color_mainB);
}
.content_detail p:not([class]) + *:not([class]) {
  margin-top: 16px;
}
.block_btn {
  width: fit-content;
  min-width: 250px;
  text-align: center;
}
* + .block_btn {
  margin-top: 24px;
}
.block_btn a {
  padding: 8px 16px;
  background: #396c8d;
  display: inline-block;
  width: 100%;
  color: #fff;
  border-radius: 7px;
  transition: .3s ease-in;
}
.block_btn a:hover {
  background: #134061;
}
.content__inner * + h3, .content__inner * + h4 {
    margin-top: 24px;
}
.content__inner h3 {
    font-size: 1.7rem;
  }
.content__inner h4 {
    font-size: 1.5rem;
  }
.content__inner h3, .content__inner h4 {
    font-family: var(--serif);
    margin-bottom: 8px;
}
.reverse {
    display: grid;
}
.reverse h2 {
    grid-row: 2;
    color: var(--color_mainB);
    font-family: var(--serif);
}
.top_doc .reverse h2 {
  font-size: 2.5rem;
}
.detail_doc .reverse h2 {
  font-size: 2.3rem;
}
.course_section {
    margin-top: 80px;
}
.reverse {
    margin-bottom: 40px;
}
.course_item {
    width: min(1000px, 100%);
    margin-inline: auto;
    padding: 1.5vw 2vw;
    background: linear-gradient(to right, #e8f2fa, #cae8f4);
    border: 1px solid #ddd;
    display: grid;
    grid-template-columns: 1fr 200px;
    gap: 32px;
    align-items: center;
}
.course_item + .course_item {
    margin-top: 32px;
}
.course_name {
    color: var(--color_mainB);
    font-size: 2rem;
    font-family: var(--serif);
    margin-bottom: 16px;
}
.price_wrap {
    background: #ffffffab;
    padding: 16px;
    height: 200px;
    width: 100%;
}
.price_wrap h4 {
    font-family: var(--serif);
    border-bottom: 4px double;
    padding-bottom: 4px;
    margin-bottom: 16px;
}
.menu a, .option a {
  display: inline-block;
  width: 100%;
  text-align: center;
  padding: 4px;
}
.menu, .option {
    width: 100%;
}
.menu a {
    background: var(--bg_lb);
    color: #fff;
}
.option a {
    background: #ffe6a0;
}
.option {
    margin-top: 8px;
}
.price_wrap p {
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 8px;
    text-align: right;
}
.course_txt {
    margin-bottom: 16px;
}
.read_more {
    font-size: 1.1rem;
    margin-top: auto;
    width: fit-content;
    margin-left: auto;
}
.read_more a {
    background: var(--bg_lb);
    color: #fff;
    padding: 4px 16px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 1px 1px 3px 1px #555f6775;
}
.read_more a:after {
    content: "";
    width: 20px;
    height: 20px;
    background: url(/subcontents/wp-content/themes/theme-under/img/arrow_w.svg) no-repeat center;
    background-size: 16px;
}
.course_item__info {
    display: flex;
    flex-direction: column;
}
.top_doc .menu_table {
    border-spacing: 0;
    width: 100%;
    border-collapse: collapse;
    min-width: 1000px;
}
.menu_table th, .menu_table td {
    padding: 10px 7px;
    border: 1px solid #cbcbcb;
    font-size: 13px;
    line-height: 1.5;
    vertical-align: middle;
}
/*.menu_table th:before {
    content: "";
    position: absolute;
    border: 1px solid #cbcbcb;
    top: -1px;
    left: -1px;
    width: calc(100% + 1px);
    height: calc(100% + 1px);
}*/
.menu_table thead th {
  background: var(--bg_lb);
  color: #fff;
  font-weight: bold;
  text-align: center;
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1;
}
.menu_table thead th:first-child {
  z-index: 2;
}
.menu_table tbody th {
  background: #fdf3e9;
  font-weight: 500;
}
.menu_table tbody th:not(.colspan_th) {
  text-align: left;
}
.first_th {
  position: -webkit-sticky;
  position: sticky;
  left:0;
  width: 130px;
}
.second_th {
  position: -webkit-sticky;
  position: sticky;
  left: 130px;
  width: 140px;
}
.top_doc .menu_table tbody td {
  text-align: center;
}
.menu_table th.colspan_th {
    position: sticky;
    left: 0;
}
.rowspan_th {
  position: -webkit-sticky;
  position: sticky;
  left: 0;
}
.scroll_area {
  overflow: auto;
  width: 100%;
  height: 75vh;
  border: 1.2vw solid #836c59;
  margin-bottom: 64px;
}
.option_list__wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(354px, 1fr));
  gap: 1vw;
  max-height: 500px;
  overflow-y: auto;
  border: 12px solid #cad4dd;
  box-shadow: inset 3px 3px 15px 3px #e5e5e5;
  padding: 32px;
}
.option_item {
  padding: 1.3vw;
  background: #f3f3f3;
  display: flex;
  flex-direction: column;
}
.option_item h3 {
    font-family: var(--serif);
    font-size: 1.3rem;
    margin-bottom: 8px;
}
.option_price {
  text-align: right;
  font-size: 1.5rem;
  font-family: var(--serif);
  font-weight: 500;
  margin-top: auto;
}
.course_flag {
    display: flex;
    flex-wrap: wrap;
    font-size: .8rem;
    gap: 4px;
    margin-top: 8px;
}
.course_flag li {
    padding: 2px 4px;
}
.flag_54 {background: #ffa41d;}
.flag_72 {background: #fdd6f1;}
.flag_73 {background: #91f3f3;}
.flag_74 {background: #dddddd;}
.flag_75 {background: #9bd9a3;}
.flag_76 {background: #c7d6f9;}
button {
    cursor: pointer;
    background: none;
    border-width: 0;
}
.faq__q:before, .faq__q:after{
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    background-color: #187fc4;
    transform: translateY(-50%);
}
.faq__q:after {
    height: 12px;
    right: 5px;
    width: 2px;
    transition: transform 0.4s;
}
.faq__q:before {
    height: 2px;
    right: 0;
    width: 12px;
}
.faq__q.-active::after {
  transform: translateY(-50%) rotate(-90deg);
}
.accordion {
  height: 0;
  overflow: hidden;
  visibility: hidden;
  transition: height 0.3s ease-out;
}

.accordion.-active {
  visibility: visible;
}
.faq__item + .faq__item {
    border-top: 1px solid var(--color_mainB);
}
.faq_item__a {
    padding: 1vw 4vw;
}
.faq__q {
  cursor: pointer;
  position: relative;
  width: 100%;
  text-align: left;
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 16px;
}
.faq_icon {
    font-size: 3rem;
    font-family: var(--serif);
    font-weight: 500;
    color: var(--color_mainB);
}
.fadein {
  opacity: 0;
  transform: translate(0,0);
  transition: all 1.5s;
}
.fadein-bottom{
  transform: translate(0,30px);
}
.scrollin{
  opacity: 1;
  transform: translate(0, 0);
}
.flow_list, .scroll_area, .option_list__wrap, .faq__wrap {
    margin-inline: 2vw;
}
.flow_list li {
  display: grid;
  align-items: center;
  gap: 16px;
  background: linear-gradient(to right, #e8f2fa, #cae8f4);
  padding: 16px 40px 16px 16px;
  border-radius: 30rem;
  grid-template-columns: 130px 90px 1fr;
}
.flow_list li + li {
  margin-top: 24px;
}
.flow_num {
  display: flex;
  background: #ffffff87;
  border-radius: 36px;
  width: 110px;
  align-items: center;
  color: #1a5e55;
  font-size: 2.5rem;
  font-family: "Playfair Display", serif;
  justify-content: space-between;
  height: 60px;
  padding: 8px 16px;
  gap: 16px;
}
.flow_num img {
  width: 53px;
  height: 55px;
  margin-bottom: -10px;
  margin-right: -7px;
}
.main_content, .content_detail, .course_txt, .block_cotent {
  & p:not([class]) + p:not([class]) {
    margin-top: 8px;
  }
}
.breadcrumbs__wrap {
  margin-bottom: 30px;
}
.pagetitle, .single_catetitle {
  display: flex;
  flex-direction: column;
  font-family: var(--serif);
}
.pagetitle {
  margin-bottom: 30px;
}
.single_catetitle {
  margin-bottom: 16px;
}
.pagetitle h1, .cate_name {
    color: var(--color_mainB);
    font-size: 2.5rem;
    order: 2;
}
.cate_name {
  line-height: 1.2;
  font-weight: bold;
}
.pagetitle p, .cate_en {
  color: var(--color_lb);
  font-size: 3rem;
  font-weight: bold;
  line-height: 1;
}
.single_catetitle h1 {
  order: 3;
  margin-top: 16px;
}
.main_content {
  margin-bottom: 60px;
  padding: 24px;
  background: #bed6eb52;
  letter-spacing: .2vw;
  line-height: 1.8;
  width: min(1280px, 100%);
  margin-inline: auto;
}
.detail_doc .scroll_area {
  width: min(900px, calc(100% - 2vw));
}
.detail_doc .menu_table {
  border-spacing: 0;
  width: 100%;
  border-collapse: collapse;
  /*min-width: 800px;*/
}
.detail_doc .reverse p {
  color: var(--color_lb);
  font-size: 2.4rem;
  font-weight: bold;
  line-height: 1;
}
.title_num {
  color: #007187;
  font-size: 4rem;
  font-style: italic;
  font-family: var(--serif);
}
.feature_list {
  font-size: 1.7rem;
  font-family: var(--serif);
  margin-top: -10px;
  margin-left: 1vw;
}
.features__item {
  display: grid;
  column-gap: 4vw;
  margin-top: 80px;
}
.content_img {
  margin-top: auto;
}
.odd_item {
  grid-template-columns: 1fr min(400px, 40%);
}
.even_item {
  grid-template-columns: min(400px, 40%) 1fr;
}
.even_item .content_img {
  grid-area: 1;
}
.even_item .features__item__inner {
  grid-column: 2 / 3;
}
.schedule_wrap {
  display: flex;
  gap: 6vw;
  align-items: flex-start;
}
.time_schedule__item {
  display: flex;
  align-items: center;
  position: relative;
}
.time_schedule {
  list-style: none;
  margin-left: 5rem;
  padding-left: 33px;
  border-left: 3px solid #446fad;
}
.time {
  text-align: right;
  width: 40px;
  display: inline-flex;
  justify-content: flex-end;
  flex-basis: 5rem;
  width: 5rem;
  margin-right: 24px;
  margin-left: -8em;
  position: relative;
}
.time:after {
  content: "";
  position: absolute;
  right: -32px;
  top: 8px;
  background: #446fad;
  width: 11px;
  height: 11px;
  border-radius: 10px;
}
.schedule_title {
    margin-left: 16px;
}
.time_schedule__item + .time_schedule__item {
  margin-top: 16px;
}
.detailpage_content {
  margin-bottom: 64px;
}
.detailpage_content h2 {
    margin-top: 64px;
  }
.detailpage_content h3 {
    margin-top: 32px;
}
.doc_detail_price .dl_wrap {
    display: grid;
    grid-template-columns: 100px 1fr;
    column-gap: 8px;
    border: 1px solid #b4bdcc;
    align-items: center;
    font-size: 1.2rem;
}
.doc_detail_price dt {
    background: var(--bg_lb);
    color: #fff;
    text-align-last: justify;
    padding-inline: 16px;
    margin: 4px;
}
.doc_detail_price .dl_wrap + .dl_wrap {
    border-top: none;
}
.doc_detail_price {
    margin-bottom: 24px;
}
.images {
    display: grid;
    grid-template-columns: repeat(auto-fit, 190px);
    gap: 24px;
    justify-content: center;
    margin-top: 24px;
}
.images figure img {
    max-height: 250px;
    width: 100%;
    object-fit: contain;
}
.images figcaption {
    text-align: center;
    margin-top: 4px;
}
.images li {
    display: flex;
    flex-direction: column;
    margin-top: auto;
}
.detail_top {
    width: min(1000px, 100%);
    margin-left: 3vw;
}
.pagination {
    margin-top: 60px;
}
a.page-numbers, .page-numbers.current {
    text-decoration: none;
    color: #333;
    border: 1px solid #aaa;
    display: inline-block;
    border-radius: 6px;
    padding: 0.5em 0.8em;
    -webkit-transition: .3s;
    transition: .3s;
}
.page-numbers {
    display: -ms-flexbox;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    justify-content: center;
}
.page-numbers.current, a.page-numbers:hover {
    background-color: #4277bd;
    color: #fff;
}
.doc_news_all {
    width: min(1000px, 100%);
    margin-inline: auto;
    background: #ffffff;
    padding: 1vw 2vw;
    border: 1px solid var(--bg_lb);
    border-radius: 16px;
    min-height: 250px;
}
@media screen and (max-width: 999px) {
  .footer_reserve__inner {
    grid-template-columns: repeat(2, 1fr);
  }
  .footer_reserve__txt {
    grid-column: 1/3;
  }
  .detail_top {
    margin-left: revert;
  }
  .title_content {
    margin-right: 3vw;
  }
}

@media screen and (max-width: 767px) {
  .checkup header {
    padding: 3vw;
  }
  .checkup .header_logo img {
    width: 50px;
  }
  .header_site_name {
      font-size: 0.8rem;
  }
  .sp {
    display: revert;
  }
  .doc_main {
    display: block;
    margin-top: 30vw;
  }
  .doc_main hgroup {
    margin-bottom: 30px;
  }
  .doc_main hgroup h1 {
    margin-left: revert;
  }
  .doc_main hgroup p {
    font-size: 10vw;
    margin-top: -9%;
  }
    .title_content {
    margin-right: revert;
  }
  .img__wrap {
    display: none;
  }
  .title_img {
    margin-bottom: 30px;
    margin-left: revert;
    margin-right: revert;
  }
  .message {
    text-align: left;
    line-height: 1.5;
    font-size: 6.7vw;
  }
  .message_area {
    padding: 24px 0 0;
  }
  .top_doc hgroup p {
    font-size: 2.8rem;
  }
  .top_doc .reverse h2, .top_news_title, .features__title {
    font-size: 2rem;
  }
  .features__title {
    padding-inline: revert;
  }
  .title_num {
    font-size: 3rem;
  }
  .content_detail {
    margin: 16px 2vw;
  }
  .content_detail , .block_cotent {
    font-size: 1rem;
    line-height: 1.5;
  }
  .feature_list {
    font-size: 1.4rem;
  }
  .feature_list .br {
    display: revert;
  }
  .course_item {
    grid-template-columns: 1fr;
    gap: 8px;
    padding: 24px;
  }
  .price_wrap {
    width: 80%;
    margin-inline: auto;
  }
  .read_more {
    margin-bottom: 16px;
  }
  .option_item {
    display: block;
  }
  .course_flag {
    flex-wrap: wrap;
  }
  .faq_icon {
    font-size: 6vw;
  }
  .news_list__wrap {
    padding: 16px 16px;
  }
  .news_list li {
    flex-wrap: wrap;
    gap: 0;
  }
  .news_list li a {
    padding: 4px 0;
    width: 100%;
  }
  .content + .content, .features__item {
    margin-top: 6vw;
  }
  .features__item {
    display: revert;
  }
  .first_th, .second_th {
    position: revert;
    width: 30px;
  }
  .menu_table th {
      padding: 4px;
  }
  .menu_table td {
      width: 60px;
      padding: 4px;
  }
  .menu_table th.colspan_th {
    left: auto;
  }
  .flow_list h3 {
    font-size: 1.8rem;
  }
  .news_list__wrap {
    padding: 16px;
    margin-inline: revert;
  }
  .flow_list li {
    grid-template-columns: 110px 1fr;
    padding: 23px 5vw;
    border-radius: 1rem;
  }
  .flow_list li p {
      grid-column: 1/3;
  }
  .flow_num {
    margin-left: auto;
  }
  .faq__wrap {
    margin-inline: revert;
  }
  .faq__q {
    padding-left: 0;
  }
  .reserve_content {
    grid-column: 1/3;
  }
  .schedule_wrap {
    display: block;
  }
  .time_schedule {
    padding-left: 20px;
  }
  .option_list__wrap {
    padding: 8px;
    grid-template-columns: 1fr;
  }
  .pagetitle p, .cate_en {
    font-size: 2rem;
  }
  .pagetitle h1, .cate_name {
    font-size: 2rem;
  }
  .single_catetitle h1 {
    font-size: 1.5rem;
  }
  .main_content {
    padding: 3vw;
    margin-bottom: 10vw;
  }
  .reverse {
    margin-bottom: 8vw;
  }
  .detailpage_content h2 {
    margin-top: 10vw;
  }
  .detailpage_content h3 {
    margin-top: 8vw;
  }
  .content__inner_title {
    font-size: 2rem;
  }
  .doc_main {
    z-index: -10;
    position: relative;
  }
  .doc_main hgroup {
    margin-bottom: 0;
  }
  .title_img {
      z-index: -1;
      position: relative;
      margin-inline: calc(50% - 50vw);
  }
  .title_img:before {
      content: "";
      width: 100%;
      height: 100%;
      display: block;
      position: absolute;
      top: -2px;
      left: 0;
      background: linear-gradient(to top, transparent 14%, transparent 15%, #e6f3ff 100%);
  }
}

@media screen and (max-width: 500px) {
  .top_doc .reverse h2, .top_news_title, .features__title, .course_name, .detail_doc .reverse h2, .content__inner_title {
    font-size: 1.5rem;
  }
  .top_doc hgroup p, .detail_doc .reverse p {
    font-size: 2.5rem;
  }
  .content__inner h3 {
    font-size: 1.3rem;
}
  .price_wrap {
    width: 100%;
  }
  .dl_wrap dd {
    font-size: 1rem;
  }
}


/*Safari 14.0.1 未満だけに適用される CSS*/
@media not all and (min-resolution:.001dpcm) {
  @supports (not (translate: none)) {
    .footer_reserve__inner, .inner__main, .features__title, .news_list__wrap, .news_content, .course_item,
    .main_content, .price_wrap, .read_more{
      margin-left: auto;
      margin-right: auto;
    }
    .flow_list, .scroll_area, .option_list__wrap, .faq__wrap {
      margin-left: 2vw;
      margin-right: 2vw;
    }
    .features__title {
      padding-left: 1em;
      padding-right: 1em;
    }
    .news_list li {
      padding-left: var(--space_m);
      padding-right: var(--space_m);
    }
    .doc_detail_price dt {
      padding-left: 16px;
      padding-right: 16px;
    }
    .doc_main {
      -webkit-border-image: 16 -webkit-repeating-linear-gradient(#cae8f4, #e8f2fa);
    }
    .doc_detail_price dt {
    text-align: center;
    }
    @media screen and (max-width: 767px) {
      .price_wrap{
        margin-left: auto;
        margin-right: auto;
      }
      .news_list__wrap, .faq__wrap{
        margin-left: revert;
        margin-right: revert;
      }
      .title_img {
        margin-left: calc(50% - 50vw);
        margin-right: calc(50% - 50vw);
      }
      .features__title {
        padding-left: revert;
        padding-right: revert;
      }
    }
  }
}