@charset "UTF-8";
@media (max-width :768px) {
  /* ----------------
  COMMON
  ---------------- */
  .contact-info {
    display: none;
  }
  .pc-nav {
    display: none;
  }
  button {
    width: 60px;
    height: 60px;
  }
  .two-col {
    flex-direction: column;
    width: 100%;
    margin: 0 auto;
  }
  .title {
    padding-top: 35px;
    padding-bottom: 30px;
  }
  /* ----------------
  FONT
  ---------------- */
  h1 {
    font-size: 2.1rem
  }
  h2 {
    font-size: 2.1rem;
  }
  h3,.sub-nav-font {
    font-size: 1.6rem;
  }
  p,.pragraph-font {
    font-size: 1.4rem;
  }
  /* ----------------
  WEB ICON
  ---------------- */
  .webicon {
    display: flex;
    position: absolute;
    gap: 1rem;
    top: 24px;
    right: 13%;
  }
  /* ----------------
  HMB
  ---------------- */
  .webicon {
    z-index: 60;
  }
  #hmb {
    display: block;
    width: 32px;
    height: 28px;
    cursor: pointer;
    position: relative;
  }
  #hmb span {
    display: block;
    width: 32px;
    height: 4px;
    background: #333;
    border-radius: 2px;
    position: absolute;
    transition: .2s;
  }
  /* ------hmb-HIDE------ */
  #hmb span:first-child {
    top: 0;
  }
  #hmb span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%);
  }
  #hmb span:last-child {
    bottom: 0;
  }
  /* ------hmb-SHOW------ */
  .phoneIcon.show {
    display: none;
  }
  .show#hmb span {
    background: #fff;
  }
  .show#hmb span:first-child {
    top: 0;
    opacity: 0;
  }
  .show#hmb span:nth-child(2) {
    top: 50%;
    transform: translateY(-50%) rotate(135deg);
  }
  .show#hmb span:last-child {
    top: 50%;
    transform: translateY(-50%) rotate(-135deg);
  }
  .overlay {
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: #7ec4ca;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-100%);
    transition-property: all;
    transition-duration: .4s;
    z-index: 50;
  }
  .show.overlay {
    visibility: visible;
    opacity: 1;
    transform: translateY(0);
  }
  .sp-nav {
    display: block;
  }
  .sp-nav ul {
    text-align: center;
    padding-top: 70px;
  }
  .sp-nav ul li {
    padding: 1rem 0;
  }
  .sp-nav a {
    color: white;
  }
  .sp-nav a:hover {
    color: #245c61;
  }
  /* ----------------
  HEADER
  ---------------- */
  .hero {
  height: 180px;
  }
  .hero .title-img {
    width: 100vw;
    height: 180px;
    object-fit: cover;
  }
  /* ----------------HERO---------------- */
  .hero-copy {
    width: 310px;
  }
  /* ---------------HEADER---------------- */
  header {
    height: 90px;
  }
  .logo {
    align-items: normal;
  }
  .logo p {
    font-size: 1.2rem;
  }

  /* ---------------
  NEWS
  ---------------- */
  .banner {
    display: flex;
    flex-direction: column;
  }
  .banner img {
    width: 60%;
  }
  /* ---------------
  TREATMENT
  ---------------- */
  .treat-items > article {
    border-radius: 18px;
  }
  /* ---------------
  OPENING
  ---------------- */
  .opening table {
    width: 100%;
    margin: 0 auto;
    font-size: 1.6rem;
  }
  .opening-detail {
    width: 90%;
    padding-top: 2rem;
  }
  .opening {
    flex-direction: column;
    gap: 0;
  }
  .opening-detail {
    display: flex;
    justify-content: space-between;
    text-align: justify;
    margin: 0 auto;
  }
  .opening-detail > div:nth-child(2) {
    padding-top: 0;
  }
  /* ---------------
  ACCESS
  ---------------- */
  .treat+.map .google-map.container {
    text-align: center;  
  }
  .treat+.map .google-map iframe {
    width: 90%;
  }
  /* ---------------
  診療案内
  ---------------- */
  .menus ul {
    flex-wrap: wrap;
    max-width: 80%;
    row-gap: 0.8rem;
  }
  li.menu {
    text-align: center;
    padding: 0.8rem 1.3rem;
    flex-grow: 1;
  }
  .info .section-info .article-img {
    margin: 0 auto;
  }
  .info .section-info-detail {
    margin-top: 1.5rem;
  }
  .info > .section-info > p {
    margin-top: 2rem;
  }
  .info > .section-info > div {
    margin-top: 2rem;
  }
  .brace-img img {
    width: 80%;
  }
  /* ---------------
  クリニック案内
  ---------------- */
  .clinic-info > .article-img {
    width: 305px;
    height: 228px;
  }
  .clinic-info .img-info {
    max-width: 305px;
    margin: 0 auto;
    margin-top: 1rem;
  }
  .two-col.clinic-info div .article-img {
    width: 305px;
    height: 228px;
  }
  .two-col.clinic-info .img-info {
    max-width: 305px;
  }
  .two-col.clinic-info div {
    margin: 0 auto;
  }
  /* ---------------
  スタッフ紹介
  ---------------- */
.two-col .profile+div .profile .pages-title span, .line {
  margin-right: 2rem;
}
.profile:nth-child(2),
.profile:nth-child(3) {
    padding-top: 2rem;
  }
  .section-info {
    flex-direction: column;
    width: 100%;
  }
  .profile .section-info .article-img {
    width: 200px;
    height: 200px;
    object-fit: cover;
    margin: 0 auto;
  }
  .profile > .section-info > div > ul {
    font-size: 1.4rem;
    margin-top: 1.5rem;
  }
  .two-col > .profile {
    width: 90%;
  }
  .two-col .profile+div{
    width: 100%;
  }
  .two-col > .profile > p,
  .two-col .profile+div > .profile > p {
    width: 80%;
    margin: 1rem auto 2rem;
  }
  /* ---------------
  アクセス
  ---------------- */
  aside,.main-info {
    width: 100%;
  }
  .access-img {
    width: 100%;
  }
  .access-img~p {
    width: 90%;
  }
  .access-add {
    width: 85%;
    margin-left: 2rem;
  }
  /* ---------------
  感染予防
  ---------------- */
  .topatient h2 {
    font-size: 1.6rem;
  }
  .topatient h2~p {
    margin-top: 0.8rem;
  }
}
/* max-width :578px390px------------------------------------- */
@media (max-width :578px) {
  /* ----------------
  COMMON
  ---------------- */
  .sp-icon {
    width: 40px;
    height: 40px;
  }
  button {
    width: 55px;
    height: 55px;
  }

  /* ----------------
  TOP
  ---------------- */
  header {
    padding: 10px 40px;
  }
  /* ----------------
  HERO
  ---------------- */
  .home-hero {
    height: 380px;
  }
  .home-hero img {
    height: 380px;
  }
  .home-hero .hero-copy {
    width: 215px;
    padding: 1rem 0;
    margin: 0;
    top: 70%;
    left: 50%;
    transform: translate(-50%, -70%);
  }
  .hero-copy p {
    margin: 0.8rem;
    color: #333;
    font-size: 1.2rem;
  }
  /* ----------------- */
  .hero {
    height: 150px;
  }
  .hero .title-img {
    width: 100vw;
    height: 150px;
    object-fit: cover;
  }
  /* ----------------
  NEWS
  ---------------- */
  #pc {
    display: none;
  }
  #sp {
    display: block;
  }
  #sp table {
    width: 90%;
    margin: 0 auto;
    border-collapse: collapse;  
  }
  #sp table {
    border-top: 1px dashed #999;
    border-bottom: 1px dashed #999;
  }
  #sp table td {
    padding: 0 1.5rem;
  }
  #sp table tr:nth-child(2),
  #sp table tr:nth-child(4),
  #sp table tr:nth-child(6) {
    border-bottom: 1px dashed #999;
  }
  #sp .date h3{
    font-weight: 500;
    margin-top: 0.8rem;
  }
  #sp .ns-txt p {
    margin-bottom: 0.8rem;
  }
  .news-table li:nth-child(odd) {
    font-weight: 500;
  }
  .news-table .date {
    text-align: left;
    align-items: normal;
  }
  .pickup {
    font-weight: 500;
    color: #f98a23;
  }
  .banner img {
    width: 90%;
  }
  /* ---------------
  TREATMENT
  ---------------- */
  .treat-items {
    width: 90%;
    flex-wrap: wrap;
  }
  .treat-items > article {
    border-radius: 18px;
  }
  img.treat-icon { 
    height: 80px;
  }
  .treat-items > article p {
    font-size: 1.2rem;
  }
  /* ---------------
  OPENING
  ---------------- */
  .opening table {
    width: 90%;
    margin: 0 auto;
  }
  .opening .pragraph-font {
    font-size: 1.2rem;
  }
  .opening-detail {
    width: 90%;
    padding-top: 2rem;
  }
  .opening {
    flex-direction: column;
    gap: 0;
  }
  .opening-detail {
    display: block;
    text-align: justify;
    margin: 0 auto;
  }
  .opening-detail div:last-child {
    margin-top: 0.3rem;
  }
  .opening-detail p {
    font-size: 1.4rem;
  }
  .opening-detail > div:nth-child(2) {
    padding-top: 0;
  }
  /* ---------------
  ACCESS
  ---------------- */
  .treat+.map .google-map iframe {
    width: 80%;
  }
  /* ---------------
  診療案内
  ---------------- */
  .menus ul {
    flex-wrap: wrap;
    max-width: 80%;
    row-gap: 0.5rem;
  }
  li.menu {
    text-align: center;
    padding: 0.5rem 0.8rem;
    font-size: 1.4rem;
    border: 2px solid #18585F;
    border-radius: 12px;
  }
  .info section {
    width: 100%;
  }
  .sub-info {
    width: 100%;
  }
  #pc-table {
    display: none;
  }
  #sp-table {
    display: block;
  }
  .brace-info {
    width: 100%;
    border-top: none;
  }
  .brace-info > thead > tr:first-child > th,
  .brace-info > thead:nth-child(2) > tr > th {
    border-top: 2px solid #18585F; 
  }
  .brace-info th,
  .brace-info td {
    font-size: 1.4rem;
  }
  .brace-info > thead > tr > th:first-child {
    border-right: none;
  }
  .brace-info > tr:nth-child(2) > td:first-child {
    border-right: 1px solid #18585F;
  }
  .info .section-info .article-img {
    width: 80%;
    height: 80%;
  }
  /* ---------------
  アクセス
  ---------------- */
  .access-info {
    flex-direction: column;
  }
  .access-img {
    width: 80vw;
  }
  /* ---------------
  感染予防
  ---------------- */
  .topatient:first-child {
    width:70%;
  }
  .topatient {
    width: 90%;
  }
  .patient.title-copy {
    white-space: nowrap;
    font-size: 1.8rem;
  }
  .topatient h2,
  .topatient h2~p {
    text-align: left;
  }
  .topatient h2~p {
    margin-top: 0.8rem;
  }
  .topatient .line {
    display: none;
  } 
  .topatient h2 {
    font-size: 1.6rem;
  }
  .topatient .pages-title {
    flex-direction: column;
  }
  .topatient .pages-title img {
    width: 40px;
    height: 40px;
  }
  .topatient .pages-title h3 {
    margin-left: 0;
    margin-top: 0.7rem;
  }
  .article-imgs {
    flex-direction: column;
  }
  .article-imgs img {
    height: 100px;
    object-fit: cover;
  }
}

