@charset "utf-8";
/* * {
  outline: 2px solid rgba(255, 0, 0, 0.5);
} */

/* A Modern CSS Reset */
*,*::before,*::after{box-sizing:border-box}body,h1,h2,h3,h4,p,figure,blockquote,dl,dd{margin:0}ul[role="list"],ol[role="list"]{list-style:none}html:focus-within{scroll-behavior:smooth}body{min-height:100vh;text-rendering:optimizeSpeed;line-height:1.5}a:not([class]){text-decoration-skip-ink:auto}img,picture{max-width:100%;display:block}input,button,textarea,select{font:inherit}@media(prefers-reduced-motion:reduce){html:focus-within{scroll-behavior:auto}*,*::before,*::after{animation-duration:.01ms !important;animation-iteration-count:1 !important;transition-duration:.01ms !important;scroll-behavior:auto !important}}

:root {
  --content-width: 1280px;
  --main-text: #222;
  --link-text: #222;
  --color-blue1: #034196;
  --color-blue2: #629ce9;
  --color-red1: #e60012;
  --color-red2: #e69a9a;
  --bg-blue1: #c5deff;
  --bg-blue2: #f1f7ff;

  --font-min: "Zen Old Mincho", serif;
}

@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Bold.woff2") format("woff2");
  font-weight: 700;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-SemiBold.woff2") format("woff2");
  font-weight: 600;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Medium.woff2") format("woff2");
  font-weight: 500;
  font-display: swap;
}
@font-face {
  font-family: "Noto Sans JP";
  src: url("../fonts/NotoSansJP-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: "Zen Old Mincho";
  src: url("../fonts/ZenOldMincho-Regular.woff2") format("woff2");
  font-weight: 400;
  font-display: swap;
}

html {
  font-size: 62.5%;
}
body,h1,h2,h3,h4,h5,h6,
p,th,td,dt,dd,li {
  font-size: 1.6rem;
  font-family: "Helvetica Neue",
  Arial, "Noto Sans JP","Hiragino Kaku Gothic ProN", "Hiragino Sans", Meiryo, sans-serif;
  line-height: 2;
  color: var(--main-text);
}
h1,h2,h3,h4,h5,h6,
/*dt,th,*/b,strong {
  font-weight: 700;
}

body {
  display: flex;
  flex-flow: column;
  min-height: 100vh;
  overflow-x: clip;
  transform: none !important;
}
main {
  flex: 1;
}
ul,
ol {
	margin: 0;
  padding: 0;
  list-style: none;
}
table {
  border-collapse: collapse;
}
th {
  font-weight: 400;
  vertical-align: top;
}
a,
a:link,
a:visited {
  color: var(--link-text);
  text-decoration: none;
}
#breadcrumbs a,
#pagetop a,
a#fancybox-close,
a#fancybox-next,
a#fancybox-prev {
  border: none;
}
@media (hover: hover) {
  /* リンクの場合 */
  a:any-link:hover {
    opacity: .7;
  }
  /* ボタンの場合 */
  button:enabled:hover {
    opacity: .7;
  }
  /* 特定できない場合 
  .button:where(:any-link, :enabled, summary):hover {
  }*/
}
a[href^="tel:"] {
  pointer-events: none;
  cursor: default;
  color: inherit;
  text-decoration: none;
}
@media screen and (max-width: 1024px) {
  a[href^="tel:"] {
    pointer-events: auto;
    cursor: pointer;
  }
}

ul.list_kome li {
  position: relative;
  padding-left: 1em;
}
ul.list_kome li::before {
  content: "※";
  position: absolute;
  top: 0;
  left: 0;
  width: 1em;
  height: 1em;
}

.w3em {
  display: inline-block;
  width: 3em;
  text-align-last: justify;
}

.auto_break {
  display: inline-block;
}

@media screen and (max-width: 539px) {
  p,th,td,dt,dd,li {
    font-size: 1.4rem;
  }
}

/**
  header
**/
/* header {
  background: rgba(245,245,220,.2);
} */
header {
  position: sticky;
  top: 0;
  z-index: 1;
  border-bottom: 1px solid #dcdcdc;
  box-shadow: 0 4px 4px rgba(0,0,0,.25);
  background: #fff;
}
header .inner {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto;
  padding: 0 20px;
  width: min(1280px, 100%);
  height: 110px;
}
/* header.fixed .inner {
  padding: 10px 0;
} */

header .base {
  display: flex;
  align-items: center;
  column-gap: 60px;
}

header .action {
  display: flex;
  flex-direction: column;
  justify-content: end;
}
header .action .quick-nav {
  display: flex;
}
header .action .quick-nav li:not(:first-of-type):not(:last-of-type) {
  margin-left: 5px;
}
header .action .quick-nav li:last-of-type {
  margin-left: 14px;
}
header .action .quick-nav li a img {
  width: auto;
  height: 28px;
}


/* @media screen and (min-width: 1020px) and (max-width: 1280px) {
  header {
    padding-right: .5em;
    padding-left: .5em;
  }
} */


/**
  logo
**/
header .base .logo {
  width: 320px;
  height: auto;
}
header .base .catch {
  font-size: 1.4rem;
  line-height: 1.2;
  text-align: center;
}

/**
  navigation
**/
/* .menu-global-container {
  width: min(1000px, 100%);
} */
#menu-global {
  position: relative;
  display: flex;
  justify-content: space-between;
  margin: 0 auto;
}
#menu-global a,
#menu-global a:visited,
#menu-global a:active,
#menu-global a:hover {
  border:none;
}
/*#menu-global {
  display: flex;
  justify-content: space-between;
  margin: 0;
}*/
#menu-global li {
  position: relative;
}
#menu-global > li a {
  display: flex;
  align-items: center;
  padding: 0 19px;
  height: 50px;
}
#menu-global > li:first-of-type a {
  padding-left: unset;
}
#menu-global > li:last-of-type a {
  padding-right: unset;
}
#menu-global .sub-menu {
  display: flex;
  flex-wrap: wrap;
  position: absolute;
  top: 50px;
  left: 50%;
  width: fit-content;
  width: 500px;
  opacity: 0;
  visibility: hidden;
  text-align: center;
}
#menu-global > .menu-item:hover .sub-menu {
  opacity: 1;
  transform: translateY(0%) translateX(-50%);
  visibility: visible;
  z-index: 999;
  /* top: 50px;
  left: 50%; */
}
#menu-global > .menu-item:hover .sub-menu::before {
  content: "";
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 26px;
  height: 15px;
  clip-path: polygon(50% 0, 100% 100%, 0 100%);
  background: var(--color-blue2);
}
/* #menu-global > .menu-item:hover .sub-menu li {
  border: 2px solid var(--color-blue2);
  background: #fff;
}
#menu-global > .menu-item:hover .sub-menu li:hover {
  background: #dee6ff;
} */
#menu-global > .menu-item:hover .sub-menu li a {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: start;
  padding-left: 20px;
  width: 250px;
  height: 120px;

  color: var(--color-blue1);

  /* border: 2px solid var(--color-blue2); */
  background: #fff;
}
#menu-global > .menu-item:hover .sub-menu li:first-of-type a {
  border: 2px solid var(--color-blue2);
}
#menu-global > .menu-item:hover .sub-menu li:nth-of-type(2) a {
  border-top: 2px solid var(--color-blue2);
  border-right: 2px solid var(--color-blue2);
  border-bottom: 2px solid var(--color-blue2);
}
#menu-global > .menu-item:hover .sub-menu li:nth-of-type(3) a {
  border-right: 2px solid var(--color-blue2);
  border-bottom: 2px solid var(--color-blue2);
  border-left: 2px solid var(--color-blue2);
}
#menu-global > .menu-item:hover .sub-menu li:nth-of-type(4) a {
  border-right: 2px solid var(--color-blue2);
  border-bottom: 2px solid var(--color-blue2);
}
#menu-global > .menu-item:hover .sub-menu li a:hover {
  background: #dee6ff;
  opacity: 1;
}
/* #menu-global > .menu-item:hover .sub-menu li:first-of-type,
#menu-global > .menu-item:hover .sub-menu li:nth-of-type(4) {
  background: #d3e6ff;
}
#menu-global > .menu-item:hover .sub-menu li:nth-of-type(2),
#menu-global > .menu-item:hover .sub-menu li:nth-of-type(3) {
  background: #ccdcf0;
} */
#menu-global a::after {
  content: attr(data-desc);
  display: block;
  color: var(--main-text);
  font-size: 1.4rem;
}

.drawerBtn,
header .call,
.hbg-menu {
  display: none;
}

@media screen and (max-width: 1420px) {
  #menu-global > .menu-item:nth-of-type(4):hover .sub-menu {
    /* left: unset;
    right: 0; */
    transform: translateY(0%) translateX(0);
    left: -375px;
  }
  #menu-global > .menu-item:nth-of-type(4):hover .sub-menu::before {
    left: 85%;
  }
}

@media screen and (max-width: 1279px) {
  header .base {
    column-gap: 40px;
  }
  header .base .logo {
    width: 270px;
  }
  header .action .quick-nav li a img {
    height: 26px;
  }
  #menu-global > li a {
    padding: 0 10px;
  }
}
@media screen and (max-width: 1229px) {
  header .base {
    column-gap: 20px;
  }
}
@media screen and (max-width: 1199px) {
  /* header .base {
    column-gap: 10px;
  } */
  header .base .logo {
    width: 240px;
  }
  header .base .catch {
    font-size: 1.2rem;
  }
}

@media screen and (max-width: 1024px) {
  header .inner {
    padding: 0 0 0 10px;
    /* width: calc(100vw - 6px); */
    width: 100%;
    height: 80px;
  }
  header .base .logo {
    width: 210px;
  }
  header .base .catch {
    display: none;
  }
  header .action .quick-nav {
    display: none;
  }

  body.menu-open header {
    padding-right: var(--sbw);
  }
  body.menu-open main,
  body.menu-open footer {
    padding-right: var(--sbw, 0px);
  }


  .drawerBtn {
    display: block;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
  }
  body.menu-open .drawerBtn {
    right: var(--sbw, 0px);
  }
  .drawerBtn > div {
    width: 28px;
    height: auto;

    position: relative;
    height: 20px;
  }
  .drawerBtn span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--color-blue1);
    transition: .3s;
    border-radius: 2px;

    position: absolute;
  }

  .drawerBtn span:nth-of-type(1) {
    top: 0;
  }
  .drawerBtn span:nth-of-type(2) {
    top: 9px;
  }
  .drawerBtn span:nth-of-type(3) {
    bottom: 0;
  }


  /* .drawerBtn span + span {
    margin-top: 7px;
  }
  .drawerBtn.on span {
    transform-origin: center;
  }
  .drawerBtn.on span:nth-of-type(1) {
    transform: rotate(135deg) translate(6px, -6px);
  }
  .drawerBtn.on span:nth-of-type(2) {
    opacity: 0;
  }
  .drawerBtn.on span:nth-of-type(3) {
    transform: rotate(-135deg) translate(6.5px, 6px);
  } */

  .drawerBtn.on span:nth-of-type(1) {
  top: 9px;
  transform: rotate(45deg);
}

.drawerBtn.on span:nth-of-type(2) {
  opacity: 0;
}

.drawerBtn.on span:nth-of-type(3) {
  bottom: auto;
  top: 9px;
  transform: rotate(-45deg);
}



  .overlay {
    display: none;
    position: fixed;
    top: 80px;
    width: 100%;
    height: 100%;
    background: rgba(225, 225, 225, 0.6);
    z-index: 9;
  }
  .overlay.on {
    display: block;
    animation: show 0.2s linear 0s;
  }

  .menu-global-container {
    display: none;
  }

  header .call {
    display: block;
    position: absolute;
    top: 50%;
    right: 55px;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
  }
  body.menu-open header .call {
    right: calc(55px + var(--sbw, 0));
  }
  header .call img {
    width: 100%;
  }

  .hbg-menu {
    display: none;
    position: fixed;
    top: 80px;
    right: 0;
    z-index: 10;
    visibility: hidden;
    padding: 35px 10px 60px;
    width: min(395px, 100vw);
    /* height: calc(100vh - 80px); */
    max-height: calc(100dvh - 80px);
    overflow-y: auto;
    background: var(--color-blue2);
    transition: all .3s;
    transform: translateX(100%);
  }
  @supports (scrollbar-gutter: stable) {
    .hbg-menu {
      scrollbar-gutter: stable;
    }
  }
  @supports not (scrollbar-gutter: stable) {
    .hbg-menu {
      overflow-y: scroll;
    }
  }
  .hbg-menu.on {
    display: block;
    visibility: visible;
    transition: all .3s;
    transform: translateX(0);
  }
  .hbg-menu a {
    font-weight: 700;
  }

  #menu-hbg1 {
    display: flex;
    justify-content: center;
    column-gap: 5px;
    margin-bottom: 20px;
  }
  #menu-hbg1 a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    width: 180px;
    height: 50px;
    font-size: 1.4rem;
  }
  #menu-hbg1 li:first-of-type a {
    color: #fff;
    background: var(--color-blue1);
  }
  #menu-hbg1 li:last-of-type a {
    color: var(--color-blue2);
    background: #fff;
  }

  #menu-hbg2 {
    margin-bottom: 35px;
    border-top: 1px solid #d3e6ff;
  }
  #menu-hbg2 li {
    position: relative;
  }
  #menu-hbg2 > li {
    border-bottom: 1px solid #d3e6ff;
  }
  #menu-hbg2 li.menu-item-has-children::after {
    content: '';
    display: block;
    position: absolute;
    top: 25px;
    right: 15px;
    width: 9px;
    height: 9px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(135deg);
  }
  #menu-hbg2 li.menu-item-has-children ul {
    display: none;
    padding: 10px 0;
    background: rgba(3, 65, 150, .2);
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
  }
  #menu-hbg2 li.menu-item-has-children.on ul {
    display: block;
    transition: all .3s;
    -webkit-transition: all .3s;
    -moz-transition: all .3s;
    -o-transition: all .3s;
  }
  #menu-hbg2 li:not(.menu-item-has-children)::after {
    content: '';
    display: block;
    position: absolute;
    top: 50%;
    right: 20px;
    width: 9px;
    height: 9px;
    border-top: solid 2px #fff;
    border-right: solid 2px #fff;
    transform: rotate(45deg) translateY(-50%);
    pointer-events: none;
  }
  #menu-hbg2 a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 60px;
    color: #fff;
  }

  #menu-hbg3 {
    display: flex;
    justify-content: center;
  }
  #menu-hbg3 a {
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 6px;
    width: 180px;
    height: 50px;
    color: #fff;
    background: var(--color-red2);
  }
}

@media screen and (max-width: 389px) {
  #menu-hbg1 {
    flex-direction: column;
    align-items: center;
    row-gap: 20px;
  }
}


/**
pagetop
**/
.pagetop {
  position: fixed;
  display: none;
  /*display: flex;*/
  justify-content: center;
  align-items: center;
  right: 5%;
  bottom: 10%;
  border: 1px solid #ccc;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #fff;
  transition: .15s ease-in-out;
  z-index: 2;
}
@media screen and (max-width: 767px) {
  .pagetop {
    right: .5em;
    bottom: 2em;
  }
}

/**
  footer
**/
/* footer .inner {
  margin-top: 100px;
} */
footer #menu-footer {
  display: flex;
  justify-content: center;
  margin-bottom: 25px;
}
footer #menu-footer li {
  font-weight: 500;
}
footer #menu-footer li:not(:last-of-type) {
  position: relative;
  margin-right: 3em;
}
footer #menu-footer li:not(:last-of-type)::after {
  content: "　｜　";
  position: absolute;
  top: 0;
  right: -3em;
  width: 3em;
  height: 1em;
}
footer #menu-footer li a {
  text-decoration: underline;
}

footer .information {
  padding: 23px 0 16px;
  border-top: 4px solid var(--color-blue1);
  background: rgba(98, 156, 233, .1);
}

footer .information dl {
  display: flex;
  flex-direction: column;
  align-items: center;
  row-gap: 23px;
}
footer .information dl dt img.wide {
  width: auto;
  height: 78px;
}
footer .information dl dt img.slim {
  display: none;
}
footer .information dl dd {
  font-size: 1.4rem;
}

footer .copyright {
  margin-top: 23px;
  font-size: 1.1rem;
  font-family: var(--text-min);
  font-style: normal;
  text-align: center;
}

@media screen and (max-width: 767px) {
  footer #menu-footer li {
    font-size: 1.4rem;
  }
  footer .information dl dt img.wide {
    display: none;
  }
  footer .information dl dt img.slim {
    display: block;
    width: auto;
    height: 47px;
  }
}

/**
  General Settings
**/
#breadcrumbs {
  margin: 32px auto;
  width: min(1280px, 98%);
  font-size: 1.4rem;
}

.page_mv {
  position: relative;
  display: flex;
  /*margin-bottom: 30px;*/
  margin: 0 calc(50% - 50vw) 30px;
  margin: 0 calc(50% - 50vw);
  height: 300px;
  font-weight: 700;
  text-align: center;
  background: rgba(0,0,0,.2);
}
.page_mv .inner {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}
.page_mv h1 {
  font-size: 2.2rem;
  color: #fff;
}
.page_mv h1 span {
  display: block;
  font-size: 1.6rem;
}

main {
  margin: auto;
  /* padding: 0 1em; */
  width: min(var(--content-width), 100%);
}
/*main div, main table, main p, main dl, main ul, main ol, main figure, main video, main iframe {
  width: 100% !important;
}*/
main h2 {
  font-size: 2.6rem;
}
main h3 {
  font-size: 2rem;
}

/**
  Shared Style
**/

/**
 * 箇条書き
**/
ul.disc li,
ul.kome li,
ul.square li {
  position: relative;
  padding-left: 1em;
}
ul.disc li,
ul.kome li {
  padding-left: 1em;
}
ul.square li {
  padding-left: 1.5em;
}
ul.disc li::before,
ul.kome li::before,
ul.square li::before {
  position: absolute;
}
ul.disc li::before,
ul.kome li::before {
  top: 0;
  left: 0;
  width: 1em;
}
ul.disc li::before {
  content: "・";
}
ul.kome li::before {
  content: "※";
}
ul.square li::before {
  content: "";
  top: 5px;
  left: 0;
  width: 16px;
  height: 16px;
  background: url('../images/common/list_square.png') no-repeat center / contain;
}
@media screen and (max-width: 539px) {
  ul.square li::before {
    top: 4px;
    width: 14px;
    height: 14px;
  }
}

ol.blue_marker {
  list-style: none;
  /* padding-left: 1.25em; */
  padding-left: 2em;
}
ol.blue_marker li {
  font-size: 2rem;

  line-height: calc(32 / 20);
  margin-bottom: 18px;

  position: relative;
}
/* ol.blue_marker li::marker {
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-blue1);
  font-family: "游ゴシック体", YuGothic;
} */
ol.blue_marker li::before {
  content: counter(list-item) ".";
  position: absolute;
  top: 2px;
  left: -1.5em;
  font-size: 2.6rem;
  font-weight: 700;
  color: var(--color-blue1);
  font-family: "游ゴシック体", YuGothic;
  line-height: 1;
}

@media screen and (max-width: 767px) {
  ol.blue_marker li {
    font-size: 1.8rem;
  }
  /* ol.blue_marker li::marker {
    font-size: 2.2rem;
  } */
  ol.blue_marker li::before {
    font-size: 2.2rem;
  }
}


/**
 * 番号付きフロー
**/
ul.flow_num {
  counter-reset: number;
}
ul.flow_num li {
  position: relative;
  margin-left: 20px;
  padding: 8px 0 40px 40px;
  border-left: 2px dotted blue;
}
ul.flow_num li::before {
  counter-increment: number 1;
  content: counter(number);
  background: blue;
  width: 40px;
  height: 40px;
  text-align: center;
  font-size: 1.8rem;
  font-family: 'Roboto Condensed', Arial, Helvetica, "sans-serif";
  line-height: 40px;
  border-radius: 50%;
  color: #fff;
  position: absolute;
  top: 0;
  left: -20px;
}
@media screen and (max-width: 767px) {
  ul.flow_num li {
    margin-left: 15px;
    padding: 4px 0 40px 30px;
  }
  ul.flow_num li::before {
    width: 30px;
    height: 30px;
    font-size: 1.6rem;
    line-height: 30px;
    left: -15px;
  }
}

/**
 * FAQアコーディオン
**/
dl.acrd {
  margin: 1em auto 3em;
}
dl.acrd dt,
dl.acrd dd {
  position: relative;
  padding-left: 1.25em;
}
/*dl.acrd.faq dt,
dl.acrd.faq dd {
  padding-left: 1.25em;
}*/
dl.acrd dt {
  margin: 1em 0 .25em;
  padding-bottom: .25em;
  padding-right: 1.25em;
  border-bottom: 1px solid rgba(0,0,0,.2);
  cursor: pointer;
}
dl.acrd.faq dt::before {
  position: absolute;
  content: "Q";
  width: 1em;
  height: 1em;
  top: 0;
  left: 0;
  color: var(--sub-text);
}
dl.acrd dt::after {
  position: absolute;
  content: "▼";
  width: 1em;
  height: 1em;
  right: 0;
  top: 0;
  color: var(--sub-text);
}
dl.acrd dt.on::after {
  content: "▲";
}
dl.acrd dd {
  display: none;
}
dl.acrd.faq dt.on + dd::before {
  position: absolute;
  content: "A";
  width: 1em;
  height: 1em;
  top: 0;
  left: 0;
  color: var(--sub-text);
}

/**
  テーブルのスタイルを上書き
**/
.wp-block-table th,
.wp-block-table td {
  border: none;
}
.wp-block-table table {
  border-top: 1px solid #ccc;
  border-left: 1px solid #ccc;
}
.wp-block-table th,
.wp-block-table td {
  border-right: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
}


/*
  Common Styles for Subpages
*/
.subpage_mv {
  margin: 0 calc(50% - 50vw);
  background-image: url('../images/common/hero_general.jpg');
  background-repeat: no-repeat;
  background-position: right top;
  background-size: 1246px 250px;
  /* background-color: var(--color-blue1); */
  background-color: #3274CD;
}
.subpage_mv .inner {
  position: relative;
  display: flex;
  align-items: center;
  /* margin: 0 auto 110px; */
  margin: 0 auto;
  padding-left: 70px;
  width: min(1280px, 100%);
  height: 250px;
  background: linear-gradient(117deg, #3274CD 36%, rgba(50, 116, 205, 0) 60%) no-repeat;
}
/* .subpage_mv .inner::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 50%;
  background: linear-gradient(117deg, #3274CD 42%, rgba(50, 116, 205, 0) 100%) no-repeat;
} */

.home-care .subpage_mv {
  /* background-color: var(--color-red2); */
  background-color: #E69A9A;
}
.home-care .subpage_mv .inner {
  /* background-image: url('../images/common/hero_gradient_red.png'); */
  background: linear-gradient(117deg, #E69A9A 36%, rgba(230, 154, 154, 0) 60%) no-repeat;
}

.subpage_mv .inner h1,
.subpage_mv .inner h2 {
  font-size: 4.5rem;
  font-weight: 700;
  color: #fff;
}

@media screen and (max-width: 1024px) {
  .subpage_mv .inner {
    padding-left: 40px;
    background: linear-gradient(117deg, #3274CD 36%, rgba(50, 116, 205, 0) 50%) no-repeat;
  }
  .home-care .subpage_mv .inner {
    background: linear-gradient(117deg, #E69A9A 36%, rgba(230, 154, 154, 0) 50%) no-repeat;
  }
}



.section-title1 {
  /* margin-bottom: 105px; */
  margin-bottom: 80px;
  text-align: center;
}
.section-title1 span {
  position: relative;
  display: block;
  font-weight: 700;
}
.section-title1 span:first-of-type {
  font-size: 3.8rem;
  color: var(--color-blue1);
  line-height: 1.2;
}
.section-title1 span:first-of-type span {
  /* margin-top: -1.5em; */
  margin-top: 3px;
  font-size: 2rem;
  font-weight: 500;
  /* line-height: 3.5; */
}
.section-title1 span:nth-of-type(2) {
  font-size: 2rem;
  font-family: var(--font-min);
  color: var(--color-blue2);
}
.section-title1 span:nth-of-type(2)::after {
  content: "";
  position: absolute;
  bottom: -6px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height :3px;
  background: var(--color-blue2);
}

.section-title1.red span:first-of-type {
  color: var(--main-text);
}
.section-title1.red span:nth-of-type(2) {
  color: var(--color-red2);
}
.section-title1.red span:nth-of-type(2)::after {
  background: var(--color-red1);
}


.section-title2 {
  margin-bottom: 40px;
  padding: 10px 0 38px;
  font-size: 3.8rem;
  font-weight: 700;
  color: var(--color-blue1);
  text-align: center;
  background: url('../images/common/section-title2.png') no-repeat center bottom / 500px 100px;
}


.section-title3 {
  position: relative;
  margin-bottom: 20px;
  font-size: 3rem;
  font-weight: 500;
}
.section-title3::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  z-index: -1;
  width: 100%;
  height: 1px;
  background: #a2a2a2;
}
.section-title3 span {
  display: inline-block;
  padding-right: 30px;
  background: #fff;

  letter-spacing: 0.1em;
}

.gradation-title {
  display: flex;
  align-items: center;
  margin-bottom: 45px;
  padding-left: 30px;
  /* width: min(440px, calc(100% - 2em)); */
  /* width: min(500px, calc(100% - 2em)); */
  width: min(500px, 100%);
  height: 40px;
  font-size: 2.4rem;
  font-weight: 700;
  letter-spacing: .1em;
  line-height: 1;
  color: #fff;
  background: linear-gradient(90deg, #034196 50%, rgba(255, 255, 255, 0) 100%);
}

.gradation-title.beige {
  background: linear-gradient(90deg, #bfa790 50%, rgba(255, 255, 255, 0) 100%);
}
.gradation-title.sky {
  background: linear-gradient(90deg, #629CE9 40%, rgba(145.73, 186.10, 239.69, 0.80) 69%, rgba(255, 255, 255, 0) 100%);
}


@media screen and (max-width: 1024px) {
  .subpage_mv {
    background-position: right -240px top;
  }
}


@media screen and (max-width: 767px) {
  .subpage_mv {
		background-size: 767px auto;
    background-position: right 150px top;
  }

  .subpage_mv .inner {
    padding-left: 20px;
    height: 130px;
  }

	
  .subpage_mv .inner h1,
  .subpage_mv .inner h2 {
    font-size: 2.4rem;
  }
}

@media screen and (max-width: 767px) {
  .section-title1 {
    margin-bottom: 50px;
  }
  .section-title1 span:first-of-type,
  .section-title2 {
    font-size: 2.8rem;
  }
  .section-title1 span:nth-of-type(2) {
    font-size: 1.4rem;
  }
  .section-title2 {
    margin-bottom: 30px;
  }
  .section-title1 span:first-of-type span {
    font-size: 1.6rem;
  }
  .section-title3 {
    font-size: 2rem;
  }
  .section-title3 span {
    padding-right: 20px;
  }
  .gradation-title {
    padding-left: 10px;
    font-size: 2rem;
  }
}

@media screen and (max-width: 539px) {
  .subpage_mv {
    background-position: right -230px top;
  }

  .section-title1 span:first-of-type,
  .section-title2 {
    font-size: 2.2rem;
  }
  .section-title2 {
    padding-bottom: 30px;
    background-size: contain;
  }
  .gradation-title {
    font-size: 1.8rem;
  }
}


/*
  診療時間テーブル
*/

table.clinic_hours {
  margin: 0 auto;
  width: min(700px, calc(100% - 20px));
}
table.clinic_hours th,
table.clinic_hours td {
  text-align: center;
  vertical-align: middle;
  font-weight: 500;
}
table.clinic_hours thead th {
  height: 15px;
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  font-size: 1.8rem;
}
table.clinic_hours thead th:first-of-type {
  width: 160px;
  color: #fff;
  background: var(--color-blue2);
}
table.clinic_hours thead th:not(:first-of-type) {
  width: 270px;
  background: var(--bg-blue1);
}
table.clinic_hours thead th:last-of-type {
  border-right: unset;
}

table.clinic_hours tbody th,
table.clinic_hours tbody td {
  height: 80px;
  line-height: 1.2;
}
table.clinic_hours tbody th {
  border-right: 1px solid #fff;
  border-bottom: 1px solid #fff;
  font-size: 2rem;
  background: var(--bg-blue1);
}
table.clinic_hours tbody tr:last-of-type th {
  border-bottom: unset;
}

table.clinic_hours tbody td {
  border-right: 1px solid var(--bg-blue1);
  border-bottom: 1px solid var(--bg-blue1);
  background: var(--bg-blue2);
}
table.clinic_hours tbody td:last-of-type {
  border-right: unset;
}
table.clinic_hours tbody tr:last-of-type td {
  border-bottom: unset;
}
table.clinic_hours tbody td span {
  display: block;
}
table.clinic_hours tbody td span:first-of-type {
  font-size: 2.4rem;
}
table.clinic_hours tbody td span:last-of-type {
  font-size: 1.6rem;
}
table.clinic_hours tbody tr:last-of-type td:last-of-type span:first-of-type {
  display: inline-block;
  width: 3em;
  font-size: 1.8rem;
  text-align-last: justify;
}
table.clinic_hours caption {
  caption-side: bottom;
}
table.clinic_hours caption ul {
  margin-top: 15px;
  text-align: left;
}
table.clinic_hours caption ul li {
  font-size: 1.8rem;
}
table.clinic_hours caption ul li.notice {
  color: #f50000;
}

@media screen and (max-width: 767px) {
  table.clinic_hours thead th:first-of-type {
    width: 20%;
  }
  table.clinic_hours thead th:not(:first-of-type) {
    width: 40%;
  }
  table.clinic_hours thead th,
  table.clinic_hours tbody th,
  table.clinic_hours tbody td span:last-of-type,
  table.clinic_hours tbody tr:last-of-type td:last-of-type span:first-of-type,
  table.clinic_hours caption ul li {
    font-size: 1.4rem;
  }
  table.clinic_hours tbody td span:first-of-type {
    font-size: 1.9rem;
  }
}

@media screen and (max-width: 414px) {
  table.clinic_hours tbody td span:first-of-type {
    font-size: 1.6rem;
  }
  table.clinic_hours tbody td span:last-of-type {
    font-size: 1.1rem;
  }
}


/*
  リンクボタン
*/
.btn_l,
.btn_s {
  margin: 30px 0;
}
.btn_l a,
.btn_s a {
  position: relative;
  display: flex;
  align-items: center;
  border-radius: 6px;
  line-height: 1.2;
  font-size: 2.4rem;
  font-weight: 700;
  color: #fff;
}
.btn_l a {
  justify-content: center;
  margin: 0 auto;
  width: min(600px, calc(100% - 40px));
  height: 100px;
}
.btn_s a {
  padding-left: 45px;
  width: 320px;
  height: 80px;
}
.btn_l a::after,
.btn_s a::after {
  content: "";
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 10px;
  height: 20px;
  background: url('../images/common/arrow_btn_right.png') no-repeat center / contain;
}
.btn_l a::after {
  /* right: 50px; */
  right: 30px;
}
.btn_s a::after {
  right: 25px;
}
.btn_l.red a,
.btn_s.red a {
  background: var(--color-red2);
}
.btn_l.blue a,
.btn_s.blue a {
  background: var(--color-blue1);
}

@media screen and (max-width: 767px) {
  .btn_l a {
    flex-direction: column;
    row-gap: 8px;
  }
  .btn_s a {
    padding-left: 20px;
  }
  .btn_l a,
  .btn_s a {
    font-size: 1.8rem;
  }
}
@media screen and (max-width: 539px) {
  .btn_l a,
  .btn_s a {
    height: 60px;
    font-size: 1.6rem;
  }
  .btn_l a::after,
  .btn_s a::after {
      right: 10px;
  }
}


.lb-disable-scrolling html,
.lb-disable-scrolling body {
  scroll-behavior: auto !important;
  scroll-snap-type: none !important;
  scroll-padding-top: 0 !important;
}
.lb-disable-scrolling html {
  overflow-y: auto !important;
}
/* Lightboxを常に viewport 中央に固定 */
#lightbox {
  position: fixed !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
}

/* スマホでのはみ出し防止 */
#lightbox img {
  max-width: 90vw;
  max-height: 90vh;
}
/* iOS対策（fixedズレ防止） */
@supports (-webkit-touch-callout: none) {
  #lightbox {
    transform: translate3d(-50%, -50%, 0);
  }
}

/*
  subpage style .page .archive .single
*/
body:not(.home) section:not(.sec_mv):not(.subpage_mv) .inner {
  margin: 0 auto;
  padding-bottom: 100px;
  width: min(980px, calc(100% - 40px));
}
body:not(.home) section.has_bg .inner {
  padding-top: 100px;
}
body:not(.home) section.has_bg + section .inner {
  padding-top: 100px;
}

body:not(.home) section.subpage_mv + section .inner {
  padding-top: 100px;
}
body:not(.home) section:last-of-type:not(.sec_mv):not(.subpage_mv) .inner {
  padding-bottom: 180px;
}

@media screen and (max-width: 1024px) {
  body:not(.home) section:not(.sec_mv):not(.subpage_mv) .inner {
    padding-bottom: 80px;
  }
  body:not(.home) section.has_bg .inner {
    padding-top: 80px;
  }
  body:not(.home) section.has_bg + section .inner {
    padding-top: 80px;
  }

  body:not(.home) section.subpage_mv + section .inner {
    padding-top: 80px;
  }
  body:not(.home) section:last-of-type:not(.sec_mv):not(.subpage_mv) .inner {
    padding-bottom: 120px;
  }
}

@media screen and (max-width: 767px) {
  body:not(.home) section:not(.sec_mv):not(.subpage_mv) .inner {
    padding-bottom: 60px;
  }
  body:not(.home) section.has_bg .inner {
    padding-top: 60px;
  }
  body:not(.home) section.has_bg + section .inner {
    padding-top: 60px;
  }

  body:not(.home) section.subpage_mv + section .inner {
    padding-top: 60px;
  }
  body:not(.home) section:last-of-type:not(.sec_mv):not(.subpage_mv) .inner {
    padding-bottom: 80px;
  }
}

@media screen and (max-width: 414px) {
  body:not(.home) section:not(.sec_mv):not(.subpage_mv) .inner {
    width: calc(100% - 30px);
  }
}

/*
  404
*/
.sec_404 .inner {
  width: min(560px, calc(100% - 40px)) !important;
}
