@charset "utf-8";
/* CSS Document */

@media screen and (max-width: 1351px) {
  #newspage {
    flex-direction: column;
    align-items: center;
  }

  #newspage .sidebar {
    width: 200px;
    margin: 40px auto 0;
    text-align: center;
  }

  .sidebar ul {
    display: inline-block;
    text-align: left;
  }
}

@media screen and (max-width: 850px) {
  html {
    font-size: 8px;
  }
  body {
    max-width: 850px;
  }
  .top-section-ttl {
    width: 100%;
    height: 30rem;
    background: linear-gradient(rgba(7, 60, 120, 0.9), rgba(45, 107, 178, 0.9))
        left 0% top 0% / 100% auto no-repeat,
      url("../img/top-secttl-bg.png") left 0% top 0% / 100% auto no-repeat;
    position: relative;
  }
  .top-section-ttl .inner {
    width: calc(100% - 20rem);
    height: 30rem;
    margin: auto;
    border-left: 5px solid #c0c0c0;
    position: relative;
  }
  .top-section-ttl .inner h4 {
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 7rem;
    position: absolute;
    left: 8rem;
    bottom: 1rem;
  }
  .top-section-ttl .inner p {
    position: absolute;
    top: 5rem;
    left: 0;
    transform: rotate(90deg);
    font-size: 3.6rem;
    color: #c0c0c0;
  }

  /*---------- ヘッダー・メインビジュアル ----------*/
  #header {
    width: 100%;
  }
  #mainvisual {
    width: 100%;
    position: relative;
  }
  #mainvisual::after {
    content: "";
    width: 100%;
    height: 260px;
    background: #99ccff;
    position: absolute;
    bottom: -4rem;
    left: 0;
    z-index: -1;
  }
  .mainvisual-inner {
    height: 40vh;
    width: calc(100% - 12rem);
    margin-right: auto;
    background-image: url("../img/image3.jpg");
    background-size: cover;
    position: relative;
  }
  .catch-copy {
    position: absolute;
    top: 4rem;
    right: 2rem;
  }
  .catch-copy h2 {
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 4rem;
    text-shadow: 2px 2px 3px #c0c0c0;
  }
  .catch-copy h2 span {
    font-size: 2rem;
    margin: 16rem 6rem 0 0;
  }
  #header .inner {
    width: 95%;
    margin: 3rem auto;
    justify-content: space-between;
    align-items: center;
  }
  #header .inner h1 {
    width: 20%;
  }
  #header .inner nav {
    width: 60%;
  }
  #header .inner nav ul {
    justify-content: space-between;
  }
  .main-nav {
    width: 20%;
  }
  .main-nav a {
    display: block;
    font-size: 2rem;
    color: #333;
    text-align: center;
    line-height: 1.5;
  }
  #header .inner nav ul li a span {
    font-weight: normal;
    font-size: 1.6rem;
  }
  #header .inner nav ul li a:hover {
    color: #ccc;
  }

  /*---------- お知らせ ----------*/

  #news .container {
    width: 80%;
    margin: auto;
  }

  /*感染症対策リンク*/
  .covid19-link {
    width: 70%;
  }

  /*---------- ご挨拶 ----------*/
  #top-greeting {
    max-width: 768px;
    margin: 15rem auto 10rem auto;
  }
  #top-greeting .conainer {
    background: linear-gradient(rgba(7, 60, 120, 0.9), rgba(45, 107, 178, 0.9))
        left 0% top 0% / 100% auto no-repeat,
      url("../img/top-g-bg.png") left 0% top 0% / 70% auto no-repeat;
    position: relative;
  }
  .top-g {
    width: 35%;
    margin-right: auto;
    padding: 3rem;
    flex-direction: row-reverse;
  }
  .top-g h3 {
    writing-mode: vertical-rl;
    color: #fff;
    font-size: 4rem;
    line-height: 2;
  }
  .top-g-img {
    position: absolute;
    top: -5rem;
    right: 0;
    width: 50%;
  }
  #top-greeting .doctor-greeting {
    width: 90%;
    margin: auto;
    justify-content: space-between;
    padding-bottom: 5rem;
    align-items: center;
  }
  .doc-pic {
    width: 95%;
    margin: 2rem auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .doc-pic img {
    width: 45%;
  }
  .smallpic {
    width: 45%;
    margin-left: 0rem;
    margin-top: 0rem;
  }
  .doc-message {
    width: 100%;
  }
  .doc-message p {
    font-size: 2.2rem;
    color: #e1dede;
    line-height: 2;
  }

  /*--------- 理念 ---------*/
  #policy {
    margin: 10rem auto;
  }

  #policy .container {
    width: 100%;
    background: url("../img/bg00.png") left 0% top 0% / 100% auto repeat;
    padding: 10rem 0;
  }
  #policy .container .inner {
    width: 95%;
    margin: auto;
  }
  .policy-item {
    width: 100%;
    flex-wrap: nowrap;
    align-items: flex-start;
    margin: 10rem auto;
  }
  .policy-img {
    width: 50%;
  }
  .policy-content {
    width: 50%;
    z-index: 10;
    margin-left: -3rem;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #164a84;
    padding: 7rem 0 2rem 2rem;
  }

  /*---------- 特徴 ---------*/

  #features .container {
    padding: 10rem 0 15rem 0;
    background: url("../img/bg00.png") left 0% top 0% / 100% auto repeat;
  }
  #features .container .box1 {
    width: 90%;
    margin: 5rem auto;
  }
  .box1 {
    margin: 10rem auto 50rem auto;
  }
  .box1 .feature-item {
    width: 80%;
    margin: auto;
    position: relative;
  }
  .feature-img {
    width: calc(100% - 25%);
    position: relative;
    padding-top: 5rem;
  }
  .feature-ttl {
    position: absolute;
    top: 0rem;
    right: 0rem;
    width: 20%;
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem 1rem;
  }
  .feature-ttl h5 {
    writing-mode: vertical-rl;
    color: #333;
    font-size: 3.6rem;
    line-height: 1.5;
    white-space: nowrap;
  }
  .feature-ttl h5 .horizontal {
    writing-mode: horizontal-tb;
  }
  .feature-ttl h5 .line {
    font-size: 2.6rem;
    margin-top: 15rem;
    position: relative;
  }
  .feature-ttl h5 .line::before {
    content: "";
    height: 8rem;
    width: 1px;
    background: #164a84;
    position: absolute;
    top: -10rem;
    left: 50%;
    transform: translate(-50%);
  }
  .feature-txt {
    width: auto;
    background: #fff;
    padding: 6rem 8rem;
    box-sizing: border-box;
    box-shadow: 2px 2px 2px #c0c0c0;
    position: absolute;
    bottom: -24rem;
    right: -10rem;
  }
  .box1 .feature-txt {
    max-width: 700px;
  }
  .feature-txt p {
    font-size: 1.8rem;
    line-height: 2;
  }
  .box2 {
    width: 100%;
    margin: 24rem auto 10rem auto;
    gap: 2%;
  }
  .box2 .feature-item {
    width: 48%;
    position: relative;
  }
  .box2 .feature-item:last-child {
    margin-top: 10rem;
  }
  .box2 .feature-img {
    width: 80%;
    position: relative;
    padding-top: 5rem;
  }
  .box2 .feature-ttl {
    position: absolute;
    top: 0rem;
    right: 2rem;
    width: 15%;
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem 1rem;
  }
  .box2 .feature-txt {
    width: 90%;
    position: absolute;
    bottom: -30rem;
    left: 0rem;
  }
  /*スライドショー*/
  .slidshow {
    margin-top: 40rem;
  }

  /*-------- 診療案内 ----------*/
  #medical-info .top-section-ttl h4 {
    font-size: 5.6rem;
  }
  #medical-info .container {
    width: 100%;
    background: url("../img/bg002.png") left 0% top 0% / 100% auto repeat;
    padding: 10rem 0;
  }
  .medical-wrapper {
    width: 90%;
    margin: auto;
    justify-content: space-between;
  }
  .medical-item {
    width: 30%;
  }
  .medical-icon {
    width: 80%;
    margin: auto;
  }
  .medical-icon a {
    display: block;
  }
  .medical-item p {
    text-align: center;
    font-size: 2.8rem;
    line-height: 1;
  }
  .medical-item p span {
    font-size: 1.8rem;
  }
  .medical-wrapper .medical-item:nth-child(2) {
    margin-top: 10rem;
  }

  /*-------- フッター ---------*/
  #footer {
    margin-top: 10rem;
  }
  .foot-flex {
    width: 75%;
    margin: auto;
    padding: 5rem 0;
    align-items: center;
    flex-direction: column-reverse;
  }
  .foot-map {
    width: 100%;
  }
  .foot-map iframe {
    width: 100%;
    height: 30rem;
    margin: 5rem auto;
  }
  .foot-right {
    width: 100%;
  }
  .foot-logo {
    width: 60%;
    margin: auto;
  }
  .foot-right a {
    display: block;
    text-align: center;
    font-size: 4rem;
  }
  .foot-right a i {
    font-size: 3rem;
    margin-right: 1rem;
  }
  .foot-adress {
    text-align: center;
    font-size: 2rem;
  }
  .foot-station {
    width: 80%;
    margin: 3rem auto;
    background: rgba(106, 159, 183, 0.5);
    padding: 2rem 0;
  }
  .foot-station p {
    text-align: center;
    font-size: 2.4rem;
  }
  .time-table {
    width: 80%;
    margin: auto;
  }
  .time-table p {
    font-size: 2rem;
  }

  .foot-bottom {
    background: #164a84;
    padding-top: 5rem;
  }
  .foot-bottom-logo {
    width: 30%;
    margin: auto;
  }
  .foot-bottom ul {
    width: 80%;
    margin: 5rem auto;
    justify-content: space-between;
  }
  .foot-bottom ul li a {
    display: block;
    color: #c0c0c0;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
  }
  .foot-bottom ul li a span {
    font-size: 1rem;
  }
  .copy p {
    text-align: center;
    color: #fff;
  }

  /*----- 下層 -----*/
  #s-mainvisual {
    width: 100%;
    position: relative;
  }
  #s-mainvisual::after {
    content: "";
    width: 100%;
    height: 250px;
    background: #164a84;
    position: absolute;
    bottom: -5rem;
    left: 0;
    z-index: -1;
  }
  #s-mainvisual .inner {
    height: 30vh;
    width: 100%;
    background-image: url("../img/image1.jpg");
    background-position: top center;
    background-size: cover;
    position: relative;
  }
  .page-ttl {
    width: 70rem;
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.8);
    outline: 1px solid #164a84;
    outline-offset: -2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .page-ttl h2 {
    text-align: center;
    font-size: 6rem;
  }
  .s-ttl {
    margin: 5rem auto;
  }
  .s-ttl .ttl-icom {
    width: 6rem;
    margin: auto;
  }
  .s-ttl h3 {
    text-align: center;
    font-size: 5rem;
    letter-spacing: 3;
  }
  .content-box {
    width: 90%;
    margin: auto;
    background: #fff;
    box-shadow: 5px 5px 6px rgba(22, 74, 132, 0.5);
    padding: 3rem 0;
  }
  .content-box .inner {
    width: 90%;
    margin: auto;
    flex-direction: column-reverse;
  }
  .c-box-left {
    width: 95%;
    margin: 1rem auto;
    padding: 0;
    box-sizing: border-box;
  }
  .c-box-right {
    width: 80%;
    margin: auto;
  }
  .c-box-left p {
    font-size: 2.4rem;
    line-height: 2.5;
  }
  /*院長紹介*/
  #greeting {
    margin: 5rem auto;
  }
  #greeting .inner {
    padding: 5rem 0;
  }
  #greeting .in-c-inner{
    font-size: 2rem;
  }
  .c-box-left .doc-name {
    font-size: 3rem;
    margin-top: 3rem;
  }

  #interview {
    margin: 5rem auto;
  }
  #interview .inner {
    padding: 3rem 0;
  }
  .interview-item {
    width: 98%;
    margin: auto;
    padding: 2rem;
    box-sizing: border-box;
    background: rgba(235, 246, 251, 0.8);
    margin-bottom: 3rem;
  }
  .q-item {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px #4db1e8 solid;
  }
  .q-icon {
    width: 8%;
  }
  .q-txt {
    width: 85%;
  }
  .q-txt p {
    font-size: 2.4rem;
  }
  .a-item {
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
  }
  .a-icon {
    width: 8%;
  }
  .a-txt {
    width: 85%;
  }
  .a-txt p {
    font-size: 2rem;
  }

  /*診療案内*/
  .medical_link ul {
    grid-template-columns: repeat(2, 1fr); 
  }
  .medical_link_btn a {
    font-size: 2.5rem;
}
  #medical {
    padding: 10rem auto;
  }
  #medical .inner {
    padding: 0;
  }
  #medical .s-ttl {
    margin: 0 auto;
  }
  .medical-content {
    margin: 10rem auto;
  }

  #medical .c-box-left p {
    font-size: 2.4rem;
  }
  .inner02 {
    width: 80%;
    margin: 3rem auto;
  }
  .inner02 p {
    font-size: 1.8rem;
    margin-top: 3rem;
    line-height: 1.5;
  }
  .inner02 p span {
    font-size: 2rem;
  }
  .inner03 {
    width: 80%;
    margin: 3rem auto;
  }
  .inner03 p {
    font-size: 2.4rem;
    margin-top: 3rem;
    line-height: 1.5;
  }
  .inner03 p span {
    font-size: 2rem;
  }
  .in-c-flex {
    width: 90%;
    flex-direction: column;
    gap: 3rem;
  }
  .in-c-flex .txt,
  .in-c-flex .img {
    width: 100%;
  }
  .in-c-flex .txt .incf-txt {
    margin-top: 1rem;
  }
  .incf-link {
    width: 300px;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
  }
  .in-content-flex {
    width: 80%;
    margin: 5rem auto;
    flex-direction: column;
    gap: 3rem;
  }
  .in-content-flex .item {
    width: 100%;
  }
  .in-content-flex .item ul {
    width: 80%;
  }

  /*医院案内*/
  #welcome {
    width: 100%;
  }
  #welcome .inner {
    padding: 5rem 0;
    width: calc(100% - 10rem);
    margin: auto;
    background: url("../img/deco00.png") right 0% top 0% / 30% auto no-repeat,
      url("../img/deco00.png") left 0% bottom 0% / 30% auto no-repeat;
  }
  #welcome .ttl {
    margin-top: 10rem;
    text-align: center;
    font-size: 4rem;
  }
  #welcome .ttl span {
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 50%;
    margin: 5rem auto;
  }
  #welcome .ttl span:before,
  #welcome .ttl span:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
  }
  #welcome .ttl span:before {
    margin-right: 5rem;
  }

  #welcome .ttl span:after {
    margin-left: 5rem;
  }
  #welcome .content {
    width: calc(100% - 10rem);
    margin: auto;
    padding: 5rem 0;
  }
  #welcome .box01 {
    justify-content: space-between;
    align-items: center;
  }
  .box01-left {
    width: 50%;
  }
  .box01-left .ttl02 {
    width: 90%;
    border-bottom: 1px solid #c0c0c0;
    padding-bottom: 1rem;
  }
  .box01-left .ttl02 p {
    font-size: 3.6rem;
  }
  .box01-txt {
    width: 90%;
    margin-top: 5rem;
    line-height: 2;
    font-size: 2rem;
  }
  .box01-right {
    width: 50%;
  }
  #welcome .box02 {
    margin-top: 10rem;
    align-items: center;
    justify-content: space-between;
  }
  .box02-left {
    width: 60%;
  }
  .box02-right {
    width: 35%;
  }
  .box02-txt {
    width: 100%;
    margin-top: 5rem;
    line-height: 2;
    font-size: 2rem;
  }

  #room {
    width: 100%;
    background: rgba(234, 238, 239, 0.5);
  }
  #room .inner {
    width: calc(100% - 10rem);
    margin: auto;
    background: linear-gradient(
      rgba(210, 216, 223, 0.5),
      rgba(22, 74, 132, 0.5)
    );
    padding: 10rem 0;
  }
  #room .ttl {
    text-align: center;
    font-size: 4rem;
  }
  #room .ttl span {
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 40%;
    margin: 5rem auto;
  }
  #room .ttl span:before,
  #room .ttl span:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
  }
  #room .ttl span:before {
    margin-right: 5rem;
  }

  #room .ttl span:after {
    margin-left: 5rem;
  }
  .main-pic {
    width: calc(100% - 20rem);
    margin: 5rem auto;
  }
  .box03 {
    width: calc(100% - 16rem);
    margin: 5rem auto;
    justify-content: space-between;
  }
  .box03-left {
    width: 35%;
  }
  .box03-right {
    width: 65%;
    padding: 4rem;
    box-sizing: border-box;
  }
  .box03-right p {
    font-size: 2rem;
    line-height: 2;
  }
  .box04 {
    width: 100%;
    margin: auto;
    justify-content: center;
    gap: 10rem;
  }
  .box04 img {
    width: 30rem;
    height: 25rem;
  }
  .box04 img:last-child {
    margin-top: -5rem;
  }

  #covid19 {
    background: rgba(234, 238, 239, 0.5);
    width: 100%;
  }
  #covid19 .inner {
    width: calc(100% - 10rem);
  }
  #covid19 .ttl {
    text-align: center;
    font-size: 5rem;
    width: 100%;
    margin: auto;
  }
  #covid19 .ttl span {
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 40%;
    margin: 5rem auto;
  }
  #covid19 .ttl span:before,
  #covid19 .ttl span:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
  }
  #covid19 .ttl span:before {
    margin-right: 5rem;
  }

  #covid19 .ttl span:after {
    margin-left: 5rem;
  }

  .covid-flex01 {
    flex-direction: column;
    margin: 5rem auto;
  }
  .covid-flex02 {
    flex-direction: column;
    margin: 5rem auto;
  }
  .covid-flex03 {
    flex-direction: column;
    margin: 5rem auto;
  }
  .covidimg {
    width: 90%;
    margin: auto;
  }
  .covid-txt {
    width: 90%;
    margin: auto;
  }
  .covid-txt .item-ttl {
    font-size: 3rem;
    border-bottom: 1px solid #ccc;
  }
  .covid-txt .item-txt {
    font-size: 2rem;
    margin-top: 1rem;
  }
  .aero-effect {
    font-size: 2rem;
    gap: 1rem;
  }
  .ul-memo {
    font-size: 2rem;
  }

  #other {
    width: 100%;
    background: url("../img/bg004.png") left 0% bottom 0% / 50% auto no-repeat;
  }
  #other .inner {
    width: calc(100% - 10rem);
    margin: auto;
    padding: 10rem 0 5rem 0;
  }
  #other .ttl {
    text-align: center;
    font-size: 4rem;
    width: 80%;
    margin: auto;
  }
  #other .ttl span {
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 40%;
    margin: 5rem auto;
  }
  #other .ttl span:before,
  #other .ttl span:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
  }
  #other .ttl span:before {
    margin-right: 5rem;
  }

  #other .ttl span:after {
    margin-left: 5rem;
  }
  .box05 {
    width: 90%;
    padding-top: 2rem;
    margin: auto;
    justify-content: space-between;
  }
  .box05-item {
    width: 45%;
  }
  .box05-item p {
    font-size: 2rem;
    margin-top: 1rem;
  }
  #selling .inner {
    width: calc(100% - 10rem);
    margin: auto;
    padding: 10rem 0 5rem 0;
  }
  .selling-img {
    width: 70%;
    margin: 5rem auto;
  }

  /*求人案内*/
  #recruit {
    background: rgba(235, 246, 251, 0.6);
    padding: 10rem 0;
  }
  #recruit .inner {
    width: 90%;
    margin: auto;
  }
  #recruit .top-txt {
    width: 100%;
    margin: auto;
  }
  .top-txt h6 {
    text-align: center;
    font-size: 3.6rem;
  }
  .top-txt p {
    text-align: center;
    margin: 5rem auto;
    font-size: 2rem;
  }
  .top-txt img {
    margin: 5rem auto;
  }
  .re-flex {
    width: calc(100% - 10%);
    margin: 5rem auto;
    justify-content: space-between;
    align-items: center;
  }
  .re-flex-item {
    width: 100%;
    margin: auto;
  }
  .re-flex-item p {
    width: 95%;
    font-size: 2rem;
    line-height: 2;
    text-align: center;
  }

  .AR {
    margin-top: 15rem;
    width: calc(100% - 3rem);
  }

  .AR-box {
    width: 100%;
    margin: auto;
    border: 3px solid #164a84;
    border-radius: 3rem;
    background: #fff;
    padding: 8rem 0 5rem 0;
    position: relative;
  }
  .AR-ttl {
    width: 30rem;
    padding: 1rem 0;
    background: #fff;
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translate(-50%);
  }
  .AR-ttl p {
    font-size: 3rem;
    text-align: center;
  }
  .AR-ttl:before,
  .AR-ttl:after {
    position: absolute;
    top: 0;
    content: "";
    width: 8px;
    height: 100%;
    display: inline-block;
  }
  .AR-ttl:before {
    border-left: solid 3px #164a84;
    border-top: solid 3px #164a84;
    border-bottom: solid 3px #164a84;
    left: 0;
  }
  .AR-ttl:after {
    content: "";
    border-top: solid 3px #164a84;
    border-right: solid 3px #164a84;
    border-bottom: solid 3px #164a84;
    right: 0;
  }

  .AR-box dl {
    width: 90%;
    margin: auto;
  }
  .AR-box dl dt {
    width: 20%;
    padding: 1rem 0;
    border-bottom: 1px solid #c0c0c0;
    font-size: 2rem;
  }
  .AR-box dl dd {
    width: 80%;
    padding: 1rem 0;
    border-bottom: 1px solid #c0c0c0;
    font-size: 1.8rem;
  }
  .AR-box dl dd span {
    font-size: 1.4rem;
  }
}

@media screen and (max-width: 480px) {
  html {
    font-size: 6px;
  }
  body {
    max-width: 480px;
  }
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }
  .top-section-ttl {
    width: 100%;
    height: 16rem;
    background: linear-gradient(rgba(7, 60, 120, 0.9), rgba(45, 107, 178, 0.9))
        left 0% top 0% / 100% auto no-repeat,
      url("../img/top-secttl-bg.png") left 0% top 0% / 100% auto no-repeat;
    position: relative;
  }
  .top-section-ttl .inner {
    width: calc(100% - 10rem);
    height: 16rem;
    margin: auto;
    border-left: 5px solid #c0c0c0;
    position: relative;
  }
  .top-section-ttl .inner h4 {
    writing-mode: horizontal-tb;
    color: #fff;
    font-size: 6rem;
    position: absolute;
    left: 4rem;
    bottom: 1rem;
  }
  .top-section-ttl .inner p {
    position: absolute;
    top: 3rem;
    left: 0;
    transform: rotate(0deg);
    font-size: 3.6rem;
    color: #c0c0c0;
  }

  /*---------- ヘッダー・メインビジュアル ----------*/
  #header {
    width: 100%;
  }
  #mainvisual {
    width: 100%;
    position: relative;
  }
  #mainvisual::after {
    content: "";
    width: 100%;
    height: 270px;
    background: #99ccff;
    position: absolute;
    bottom: -4rem;
    left: 0;
    z-index: -1;
  }
  .mainvisual-inner {
    height: 50vh;
    width: 100%;
    margin-right: auto;
    background-image: url("../img/image3.jpg");
    background-size: cover;
    background-position: center;
    position: relative;
  }
  .catch-copy {
    position: absolute;
    top: 3rem;
    left: -20rem;
  }
  .catch-copy h2 {
    writing-mode: horizontal-tb;
    color: #fff;
    font-size: 5rem;
    text-shadow: 2px 2px 3px #c0c0c0;
    text-align: center;
  }
  .catch-copy h2 span {
    font-size: 2rem;
    margin: 16rem 6rem 0 0;
    text-align: center;
  }
  #header .inner {
    display: none;
  }

  /*---------- お知らせ ----------*/

  #news .container {
    width: 100%;
    margin: auto;
  }
  #news .container .inner {
    flex-direction: column;
  }
  #news .container .inner .section-title {
    width: 80%;
    margin: auto;
  }
  .news-box {
    width: 90%;
    margin: auto;
  }
  .news-box dl {
    width: 95%;
    font-size: 2rem;
    flex-direction: column;
  }
  .news-box dl dt {
    width: 30%;
    padding: 1rem 0;
    border-bottom: none;
    font-weight: 600;
  }
  .news-box dl dd {
    width: 100%;
    padding: 1rem 0;
    border-bottom: 1px solid #c0c0c0;
    margin-bottom: 2rem;
  }

  /*感染症対策リンク*/
  .covid19-link {
    width: 90%;
  }
  /*WEB予約について*/
  .reserve-bnr {
    width: 90%;
  }

  /*---------- ご挨拶 ----------*/
  #top-greeting {
    max-width: 768px;
    margin: 15rem auto 10rem auto;
  }
  #top-greeting .conainer {
    background: linear-gradient(rgba(7, 60, 120, 0.9), rgba(45, 107, 178, 0.9))
        left 0% top 0% / 100% auto no-repeat,
      url("../img/top-g-bg.png") left 0% top 0% / 70% auto no-repeat;
    position: relative;
  }
  .top-g {
    width: 90%;
    margin-right: auto;
    margin-left: auto;
    padding: 3rem 0;
    flex-direction: column;
  }
  .top-g h3 {
    writing-mode: horizontal-tb;
    color: #fff;
    font-size: 4.6rem;
    line-height: 1.5;
    text-align: center;
  }
  .top-g-img {
    position: static;
    width: 90%;
    margin: auto;
  }
  #top-greeting .doctor-greeting {
    width: 90%;
    margin: 5rem auto;
    justify-content: space-between;
    padding-bottom: 5rem;
    align-items: center;
    flex-direction: column-reverse;
  }
  .doc-pic {
    width: 98%;
    margin: 2rem auto;
  }
  .doc-pic img {
    width: 100%;
  }
  .smallpic {
    width: 100%;
    margin-left: 0rem;
    margin-top: 1rem;
  }

  .doc-message {
    width: 100%;
  }
  .doc-message p {
    font-size: 2.2rem;
    color: #e1dede;
    line-height: 2;
  }

  /*--------- 理念 ---------*/
  #policy {
    margin: 10rem auto;
  }

  #policy .container {
    width: 100%;
    background: url("../img/bg00.png") left 0% top 0% / 100% auto repeat;
    padding: 10rem 0;
  }
  #policy .container .inner {
    width: 95%;
    margin: auto;
  }
  .policy-item {
    width: 100%;
    flex-wrap: wrap;
    align-items: flex-start;
    margin: 10rem auto;
  }
  .policy-img {
    width: 80%;
    margin: auto;
  }
  .policy-content {
    width: 90%;
    z-index: 10;
    margin-left: auto;
    margin-right: auto;
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid #164a84;
    padding: 7rem 0 2rem 2rem;
  }
  .reverse .policy-content {
    margin-left: auto;
    margin-right: auto;
  }
  .policy-txt {
    width: 90%;
    margin-top: 2rem;
    font-size: 2.4rem;
    line-height: 1.5;
  }

  /*---------- 特徴 ---------*/

  #features .container {
    padding: 10rem 0 5rem 0;
    background: url("../img/bg00.png") left 0% top 0% / 100% auto repeat;
  }
  #features .container .box1 {
    width: 90%;
    margin: 5rem auto;
  }
  .box1 {
    margin: 10rem auto 50rem auto;
  }
  .box1 .feature-item {
    width: 95%;
    margin: auto;
    position: relative;
  }
  .feature-img {
    width: 100%;
    position: relative;
    padding-top: 5rem;
  }
  .feature-ttl {
    position: absolute;
    top: -10rem;
    left: 0;
    width: 80%;
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem 1rem;
  }
  .feature-ttl h5 {
    writing-mode: horizontal-tb;
    color: #333;
    font-size: 3rem;
    line-height: 1.5;
  }
  .feature-ttl h5 .horizontal {
    writing-mode: horizontal-tb;
  }
  .feature-ttl h5 .line {
    font-size: 3rem;
    margin-top: 0;
    margin-left: 12rem;
    position: relative;
  }
  .feature-ttl h5 .line::before {
    content: "";
    height: 1px;
    width: 8rem;
    background: #164a84;
    position: absolute;
    top: 50%;
    left: -10rem;
    transform: translate(-50%);
  }
  .feature-txt {
    width: auto;
    background: #fff;
    padding: 6rem 8rem;
    box-sizing: border-box;
    box-shadow: 2px 2px 2px #c0c0c0;
    position: static;
    margin: auto;
  }
  .box1 .feature-txt {
    max-width: 700px;
  }
  .feature-txt p {
    font-size: 2.4rem;
    line-height: 2;
  }
  .box2 {
    width: 100%;
    margin: 10rem auto 10rem auto;
    gap: 3rem;
    flex-direction: column;
  }
  .box2 .feature-item {
    width: 90%;
    margin: auto;
    position: relative;
  }
  .box2 .feature-item:last-child {
    margin-top: 10rem;
  }
  .box2 .feature-img {
    width: 100%;
    position: relative;
    padding-top: 5rem;
  }
  .box2 .feature-ttl {
    position: absolute;
    top: -10rem;
    left: 0;
    width: 80%;
    background: rgba(255, 255, 255, 0.5);
    padding: 2rem 1rem;
  }
  .box2 .feature-txt {
    width: 100%;
    position: static;
  }

  /*スライドショー*/
  .slidshow {
    margin-top: 10rem;
  }

  /*-------- 診療案内 ----------*/
  #medical-info .top-section-ttl h4 {
    font-size: 5.6rem;
  }
  #medical-info .container {
    width: 100%;
    background: url("../img/bg002.png") left 0% top 0% / 100% auto repeat;
    padding: 10rem 0;
  }
  .medical-wrapper {
    width: 98%;
    margin: auto;
    justify-content: space-between;
  }
  .medical-item {
    width: 33%;
  }
  .medical-icon {
    width: 95%;
    margin: auto;
  }
  .medical-icon a {
    display: block;
  }
  .medical-item p {
    text-align: center;
    font-size: 2.8rem;
    line-height: 1;
  }
  .medical-item p span {
    font-size: 1.8rem;
  }
  .medical-wrapper .medical-item:nth-child(2) {
    margin-top: 10rem;
  }
  .in-content {
    width: 90%;
  }
  .in-c-inner ul {
    width: 95%;
    margin: 3rem auto;
  }
  .in-message {
    width: 98%;
    border-radius: 0rem;
  }
  .in-c-flow-inner {
    flex-direction: column;
    gap: 5rem;
  }
  .in-c-flow-inner .item {
    width: 80%;
    margin: auto;
  }

  /*-------- フッター ---------*/
  #footer {
    margin-top: 10rem;
  }
  .foot-flex {
    width: 100%;
    margin: auto;
    padding: 5rem 0;
    align-items: center;
    flex-direction: column-reverse;
  }
  .foot-map {
    width: 100%;
  }
  .foot-map iframe {
    width: 100%;
    height: 30rem;
    margin: 5rem auto;
  }
  .foot-right {
    width: 90%;
    margin: auto;
  }
  .foot-logo {
    width: 60%;
    margin: auto;
  }
  .foot-right a {
    display: block;
    text-align: center;
    font-size: 4rem;
  }
  .foot-right a i {
    font-size: 3rem;
    margin-right: 1rem;
  }
  .foot-adress {
    text-align: center;
    font-size: 2rem;
  }
  .foot-station {
    width: 80%;
    margin: 3rem auto;
    background: rgba(106, 159, 183, 0.5);
    padding: 2rem 0;
  }
  .foot-station p {
    text-align: center;
    font-size: 2.4rem;
  }
  .time-table {
    width: 80%;
    margin: auto;
  }
  .time-table p {
    font-size: 2rem;
  }

  .foot-bottom {
    display: none;
    background: #164a84;
    padding-top: 5rem;
  }
  .foot-bottom-logo {
    width: 30%;
    margin: auto;
  }
  .foot-bottom ul {
    width: 80%;
    margin: 5rem auto;
    justify-content: space-between;
  }
  .foot-bottom ul li a {
    display: block;
    color: #c0c0c0;
    font-size: 2rem;
    line-height: 1;
    text-align: center;
  }
  .foot-bottom ul li a span {
    font-size: 1rem;
  }
  .copy p {
    text-align: center;
    color: #fff;
  }

  #sp-btn {
    position: fixed;
    bottom: 0;
    left: 50%;
    z-index: 980;
    width: 100%;
    transform: translateX(-50%);
  }
  #sp-btn ul {
    justify-content: center;
    max-width: 390px;
    padding-bottom: 0;
    margin: 0 auto;
    position: relative;
  }
  #sp-btn .type1 ul::before {
    background: rgba(76, 190, 227, 0.7);
  }
  #sp-btn ul::before {
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(22, 74, 132, 0.7);
    backdrop-filter: blur(2px);
  }
  #sp-btn ul li {
    width: calc(100% / 5);
    margin: 0;
    padding: 10px 0 6px;
    text-align: center;
    line-height: 1.2;
    position: relative;
  }
  #sp-btn ul li a {
    display: block;
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 1;
    text-align: center;
  }
  #sp-btn ul li i {
    font-size: 3.6rem;
    font-family: "Font Awesome 5 Free";
    display: block;
    color: #fff;
    font-weight: 600;
    margin-bottom: 3px;
    text-align: center;
  }
  #sp-btn ul li span {
    display: block;
    font-size: 1.8rem;
    color: #fff;
    text-align: center;
  }

  /*----- 下層 -----*/
  #s-mainvisual {
    width: 100%;
    position: relative;
  }
  #s-mainvisual::after {
    content: "";
    width: 100%;
    height: 250px;
    background: #99ccff;
    position: absolute;
    bottom: -5rem;
    left: 0;
    z-index: -1;
  }
  #s-mainvisual .inner {
    display: block;
    height: 30vh;
    width: 100%;
    background-image: url("../img/image1.jpg");
    background-position: top center;
    background-size: cover;
    position: relative;
  }
  .page-ttl {
    width: 50rem;
    padding: 5rem 0;
    background: rgba(255, 255, 255, 0.8);
    outline: 1px solid #164a84;
    outline-offset: -2rem;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
  }
  .page-ttl h2 {
    text-align: center;
    font-size: 6rem;
  }
  .s-ttl {
    margin: 5rem auto 2rem 0;
  }
  .s-ttl .ttl-icom {
    width: 6rem;
    margin: auto;
  }
  .s-ttl h3 {
    text-align: center;
    font-size: 5rem;
    letter-spacing: 3;
  }
  .content-box {
    width: 98%;
    margin: auto;
    background: #fff;
    box-shadow: 5px 5px 6px rgba(22, 74, 132, 0.5);
    padding: 1rem 0;
  }
  .content-box .inner {
    width: 98%;
    margin: auto;
    flex-direction: column-reverse;
  }
  .c-box-left {
    width: 95%;
    margin: 1rem auto;
    padding: 0;
    box-sizing: border-box;
  }
  .c-box-right {
    width: 90%;
    margin: auto;
  }
  .c-box-left p {
    font-size: 2.4rem;
    line-height: 2.5;
  }
  /*院長紹介*/
  #greeting {
    margin: 5rem auto;
    padding: 5rem 0;
  }
  #greeting .inner {
    padding: 1rem 0;
  }
  #greeting .in-c-inner{
    font-size: 2.4rem;
  }
  .c-box-left .doc-name {
    font-size: 3rem;
    margin-top: 3rem;
  }

  #interview {
    margin: 5rem auto;
  }
  #interview .inner {
    padding: 3rem 0;
  }
  .interview-item {
    width: 98%;
    margin: auto;
    padding: 2rem;
    box-sizing: border-box;
    background: rgba(235, 246, 251, 0.8);
    margin-bottom: 3rem;
  }
  .q-item {
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px #4db1e8 solid;
  }
  .q-icon {
    width: 12%;
  }
  .q-txt {
    width: 85%;
  }
  .q-txt p {
    font-size: 2.2rem;
  }
  .a-item {
    justify-content: space-between;
    align-items: flex-start;
    margin-top: 3rem;
  }
  .a-icon {
    width: 12%;
  }
  .a-txt {
    width: 85%;
  }
  .a-txt p {
    font-size: 2rem;
  }

  /*診療案内*/
  #medical {
    padding: 10rem auto;
  }
  #medical .inner {
    padding: 1rem 0;
  }
  #medical .s-ttl {
    margin: 0 auto;
  }
  .medical-content {
    margin: 2rem auto;
  }

  #medical .c-box-left p {
    font-size: 14px;
  }
  .mc-bg {
    margin: 1rem auto;
  }
  #general,
  #pediatric,
  #preventive,
  #oralfrail,
  #home-visit,
  #whitening,
  #implant {
    padding: 3rem 0;
  }

  .inner02 {
    width: 90%;
    margin: 3rem auto;
  }
  inner02 p {
    font-size: 2rem;
    margin-top: 3rem;
    line-height: 1.5;
  }
  .inner02 p span {
    font-size: 2.4rem;
  }

  .in-c-flex {
    width: 98%;
    flex-direction: column;
    gap: 3rem;
  }
  .in-c-flex .txt,
  .in-c-flex .img {
    width: 100%;
  }
  .in-c-flex .txt .incf-txt {
    margin-top: 1rem;
  }
  .incf-link {
    width: 300px;
    margin-top: 2rem;
    margin-left: auto;
    margin-right: auto;
  }
  .in-c-flex .txt .incf-txt {
    font-size: 16px;
  }
  .in-content-flex {
    width: 95%;
  }
  .in-content-flex .item ul {
    width: 95%;
  }
  .in-content-flex .item .incf-ttl {
    font-size: 20px;
  }
  .in
	/*医院案内*/
	#welcome {
    width: 100%;
    margin: 5rem auto;
  }
  #welcome .inner {
    padding: 2rem 0;
    width: calc(100% - 10rem);
    margin: auto;
    background: url("../img/deco00.png") right 0% top 0% / 30% auto no-repeat,
      url("../img/deco00.png") left 0% bottom 0% / 30% auto no-repeat;
  }
  #welcome .ttl {
    margin-top: 5 rem;
    text-align: center;
    font-size: 4rem;
  }
  #welcome .ttl span {
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 50%;
    margin: 5rem auto;
  }
  #welcome .ttl span:before,
  #welcome .ttl span:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
  }
  #welcome .ttl span:before {
    margin-right: 5rem;
  }

  #welcome .ttl span:after {
    margin-left: 5rem;
  }
  #welcome .content {
    width: calc(100% - 2rem);
    margin: auto;
    padding: 5rem 0;
  }
  #welcome .box01 {
    justify-content: space-between;
    align-items: center;
    flex-direction: column;
  }
  .box01-left {
    width: 100%;
    margin: auto;
  }
  .box01-left .ttl02 {
    width: 100%;
    border-bottom: 1px solid #c0c0c0;
    padding-bottom: 1rem;
  }
  .box01-left .ttl02 p {
    font-size: 3.6rem;
    text-align: center;
  }
  .box01-txt {
    width: 100%;
    margin-top: 5rem;
    line-height: 2;
    font-size: 2.4rem;
  }
  .box01-right {
    width: 100%;
    margin: auto;
  }
  #welcome .box02 {
    margin-top: 3rem;
    align-items: center;
    justify-content: space-between;
    flex-direction: column-reverse;
  }
  .box02-left {
    width: 100%;
    margin: 1rem auto;
  }
  .box02-right {
    width: 100%;
  }
  .box02-txt {
    width: 100%;
    margin-top: 5rem;
    line-height: 2;
    font-size: 2.4rem;
  }

  #room {
    width: 100%;
    background: rgba(234, 238, 239, 0.5);
  }
  #room .inner {
    width: calc(100% - 5rem);
    margin: auto;
    background: linear-gradient(
      rgba(210, 216, 223, 0.5),
      rgba(22, 74, 132, 0.5)
    );
    padding: 10rem 0;
  }
  #room .ttl {
    text-align: center;
    font-size: 4rem;
  }
  #room .ttl span {
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 40%;
    margin: 5rem auto;
  }
  #room .ttl span:before,
  #room .ttl span:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
  }
  #room .ttl span:before {
    margin-right: 5rem;
  }

  #room .ttl span:after {
    margin-left: 5rem;
  }
  .main-pic {
    width: calc(100% - 10rem);
    margin: 5rem auto;
  }
  .box03 {
    width: calc(100% - 8rem);
    margin: 5rem auto;
    justify-content: space-between;
    flex-direction: column-reverse;
  }
  .box03-left {
    width: 100%;
  }
  .box03-right {
    width: 100%;
    padding: 1rem;
    box-sizing: border-box;
  }
  .box03-right p {
    font-size: 2.4rem;
    line-height: 2;
  }
  .box04 {
    width: 100%;
    margin: auto;
    justify-content: center;
    gap: 10rem;
  }
  .box04 img {
    width: calc(100% - 8rem);
    height: auto;
  }
  .box04 img:last-child {
    margin-top: -5rem;
  }
  #covid19 .inner {
    width: calc(100% - 5rem);
  }
  .covid-txt .item-ttl {
    font-size: 3.2rem;
  }
  .covid-txt .item-txt {
    font-size: 2.2rem;
  }
  .aero-effect {
    font-size: 2.2rem;
  }
  .ul-memo {
    font-size: 2.2rem;
  }
  .covid-txt {
    width: 100%;
  }

  #other {
    width: 100%;
    background: url("../img/bg004.png") left 0% bottom 0% / 50% auto no-repeat;
  }
  #other .inner {
    width: calc(100% - 10rem);
    margin: auto;
    padding: 10rem 0 5rem 0;
  }
  #other .ttl {
    text-align: center;
    font-size: 4rem;
    width: 80%;
    margin: auto;
  }
  #other .ttl span {
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 60%;
    margin: 5rem auto;
  }
  #other .ttl span:before,
  #other .ttl span:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
  }
  #other .ttl span:before {
    margin-right: 5rem;
  }

  #other .ttl span:after {
    margin-left: 5rem;
  }
  .box05 {
    width: 90%;
    padding-top: 2rem;
    margin: auto;
    justify-content: space-between;
    flex-direction: column;
    gap: 2rem;
  }
  .box05-item {
    width: 100%;
  }
  .box05-item p {
    font-size: 2.4rem;
    margin-top: 1rem;
  }
  .other-main {
    width: 90%;
    margin: 3rem auto 6rem auto;
  }

  #selling .inner {
    width: calc(100% - 5rem);
    margin: auto;
    padding: 10rem 0 5rem 0;
  }
  #selling .ttl {
    text-align: center;
    font-size: 4rem;
    width: 80%;
    margin: auto;
  }
  #selling .ttl span {
    display: flex;
    align-items: center;
    font-size: 3rem;
    width: 90%;
    margin: 5rem auto;
  }
  #selling .ttl span:before,
  #selling .ttl span:after {
    content: "";
    height: 1px;
    flex-grow: 1;
    background-color: #666;
  }
  #selling .ttl span:before {
    margin-right: 5rem;
  }

  #selling .ttl span:after {
    margin-left: 5rem;
  }
  .selling-img {
    width: 90%;
    margin: 5rem auto;
  }

  /*求人案内*/
  #recruit {
    background: rgba(235, 246, 251, 0.6);
    padding: 10rem 0;
  }
  #recruit .inner {
    width: 90%;
    margin: auto;
  }
  #recruit .top-txt {
    width: 100%;
    margin: auto;
  }
  .top-txt h6 {
    text-align: center;
    font-size: 3.6rem;
  }
  .top-txt p {
    text-align: center;
    margin: 5rem auto;
    font-size: 2rem;
  }
  .top-txt img {
    margin: 5rem auto;
  }
  .re-flex {
    width: calc(100% - 10%);
    margin: 5rem auto;
    justify-content: space-between;
    align-items: center;
  }
  .re-flex-item {
    width: 100%;
    margin: auto;
  }
  .re-flex-item p {
    width: 95%;
    font-size: 2rem;
    line-height: 2;
    text-align: center;
  }

  .AR {
    margin-top: 15rem;
    width: calc(100% - 3rem);
  }

  .AR-box {
    width: 100%;
    margin: auto;
    border: 3px solid #164a84;
    border-radius: 3rem;
    background: #fff;
    padding: 8rem 0 5rem 0;
    position: relative;
  }
  .AR-ttl {
    width: 30rem;
    padding: 1rem 0;
    background: #fff;
    position: absolute;
    top: -5rem;
    left: 50%;
    transform: translate(-50%);
  }
  .AR-ttl p {
    font-size: 3rem;
    text-align: center;
  }
  .AR-ttl:before,
  .AR-ttl:after {
    position: absolute;
    top: 0;
    content: "";
    width: 8px;
    height: 100%;
    display: inline-block;
  }
  .AR-ttl:before {
    border-left: solid 3px #164a84;
    border-top: solid 3px #164a84;
    border-bottom: solid 3px #164a84;
    left: 0;
  }
  .AR-ttl:after {
    content: "";
    border-top: solid 3px #164a84;
    border-right: solid 3px #164a84;
    border-bottom: solid 3px #164a84;
    right: 0;
  }

  .AR-box dl {
    width: 90%;
    margin: auto;
  }
  .AR-box dl dt {
    width: 20%;
    padding: 1rem 0;
    border-bottom: 1px solid #c0c0c0;
    font-size: 2rem;
  }
  .AR-box dl dd {
    width: 80%;
    padding: 1rem 0;
    border-bottom: 1px solid #c0c0c0;
    font-size: 1.8rem;
  }
  .AR-box dl dd span {
    font-size: 1.4rem;
  }
  .line_icon {
    position: fixed;
    top: 20px;
    right: 80px;
    z-index: 99;
    width: 10%;
  }
  .price_name p {
    width: 100%;
  }
  .selling-list li img {
    max-width: 100%;
  }
  .selling-list li .sl-name {
    font-size: 20px;
  }
  .selling-list li .sl-price {
    font-size: 20px;
  }
  i img {
    display: flex;
    margin: 0 auto;
    margin-top: -1px;
  }
  .side-bnr {
    width: 40px;
    top: 194px;
  }
  .side-bnr a {
    font-size: 18px;
    line-height: 40px;
  }
  .side-bnr2 {
    width: 40px;
    top: 444px;
  }
  .side-bnr2 a {
    font-size: 18px;
    line-height: 40px;
  }
  .side-bnr2 i img {
    display: inline-block;
    margin: 0 auto;
    width: 35px;
  }
}
