/*
 Theme Name: Asakusashika Theme
 Author: Keisuke Fukuda
 Version: 1.0
*/


*, *:before, *:after { 
    box-sizing: border-box;
}

html { 
    font-size: 16px;
} 

body {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    color: var(--text-gray);
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", sans-serif;
    font-weight: 400; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.1em
}

:root {
    --main: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", sans-serif;
    --lato: 'Lato', sans-serif;
    --text-black: #16160e;
    --text-gray: rgb(51, 51, 51)
}

a {
    text-decoration: none;
    color: inherit;
    word-break: break-all; 
    overflow-wrap: break-word;
}

a:visited {
    color: inherit;
}


/************************/
/**共通CSSここから**/
/************************/

.header-text-container {
    text-align: center;
}

.header-text-green {
    color: #0db5be;
    font-size: 2rem;
    font-weight: 600;
    line-height: 50px;
    border-bottom: solid 1px #0db5be;
    padding-bottom: 5px;
    letter-spacing: 0.16em;
}

.header-text-eng {
    font-family: Montserrat;
    text-transform: uppercase;
    color: #333;
    font-size: 1.1rem;
    font-weight: 300;
    line-height: 50px;
    display: block;
    border: none;
    background: none;
    padding: 0;
}

.marker-color {
    background: linear-gradient(transparent 70%, #9bf2f7 0%);
}

.normal-text {
    color: var(--text-gray);
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", sans-serif;
    font-weight: 400; 
    -webkit-font-smoothing: antialiased; 
    -moz-osx-font-smoothing: grayscale;
    letter-spacing: 0.1em;
    line-height: 1.8;
}

.header-medium {
    color: #333;
    text-align: center;
    font-weight: normal;
    font-size: 2rem;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
    letter-spacing: 4px;
}

.header-medium:before {
    content: "";
    width: 60px;
    height: 2px;
    background: #0db5be;
    display: block;
    position: absolute;
    top: 60px;
    bottom: 0;
    margin: auto;
    right: 0;
    left: 0;
}

.decoration-bar-large {
    padding: 10px 20px;
    background-image: linear-gradient(45deg, #e7fbfa 0%, #e7fbfa 25%, #f4fdfc 25%, #f4fdfc 50%, #e7fbfa 50%, #e7fbfa 75%, #f4fdfc 75%);
    background-position: 0px 0px;
    background-size: 10px 10px;
    font-size: 1.7rem;
    overflow: hidden;
    display: block;
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px 0;
    color: rgb(13, 181, 190);
    text-align: center;
}

.decoration-bar-mini {
    padding: 5px 10px;
    background-image: linear-gradient(45deg, #e7fbfa 0%, #e7fbfa 25%, #f4fdfc 25%, #f4fdfc 50%, #e7fbfa 50%, #e7fbfa 75%, #f4fdfc 75%);
    background-position: 0px 0px;
    background-size: 10px 10px;
    font-size: 1.15rem;
    overflow: hidden;
    display: block;
    width: 100%;
    border-radius: 5px;
    font-weight: bold;
    margin: 10px 0;
    color: rgb(13, 181, 190);
}

.list-check {
    list-style: none;
    padding: 0;
    line-height: 2;
}

.list-check li {
    padding-left: 1.5em;
    padding-top: 5px;
    padding-bottom: 5px;
    text-indent: -1.5em;
}



.link-opacity-change {
    transition: 0.2s;
}

.link-opacity-change:hover {
    transition: 0.2s;
    opacity: 0.7;
}







.pc-navi {
   width: 100%; 
   height: 85px;
   padding: 0 2%;
   display: flex;
   justify-content: flex-start;
   align-items: center;
}

.pc-navi-left {
    width: 25%;
    height: 100%;
    padding: 10px 0;
}

.pc-navi-logo {
    height: 100%;
}

.pc-navi-right {
    width: 75%;
    height: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.pc-navi-menu {
    margin-right: 20px;
}

.pc-menu-list {
    width: 100%;
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);

}


.pc-menu-list > li {
    border-radius: 5px;
}

.pc-menu-list > li:hover {
    background-color: #0db5be;
    color: white!important;
}

.pc-menu-list a {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 6px 20px;
}

.pc-menu-list span{
    display: block;
    text-align: center;
    font-family: Montserrat;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    color: #0db5be;
    font-size: 11px;
    font-weight: 600;
}

.pc-menu-list li:hover span {
    color: white;
}

.pc-navi-info {
    width: 330px;
    height: 100%;
    display: flex;
    flex-direction: column;
    padding: 5px 0;
    gap: 5px;
}

.infobox-top {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-radius: 50px;
    padding: 5px 40px;
    background-color: #daf9fb;
}

.infobox-top a {
    color: #0db5be;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    font-weight: 500;
    display: flex;
    justify-content: center;
    align-items: center;
}
.infobox-top i {
    color: #0db5be;
    font-size: 1.1rem;
    margin-right: 5px;
}

.infobox-bottom {
    width: 100%;
    height: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tel-number {
    margin: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 0.7rem;
}

.tel-number i {
    color: #0db5be;
    font-size: 1.5rem;
    margin-right: 5px;
    
}

.tel-number span {
    font-size: 1.6rem;
    font-weight: 900;
    font-family: var(--lato);
}


#top-header {
    width: 96%;
    margin: 0 auto;
    border-radius: 30px;
    background-position: center center;
    background-repeat: no-repeat;
    background-size: cover;
    -moz-background-size: cover;
    padding: 85px 0;
}

#top-header h2 {
    margin: 70px 0;
}

#top-header .header-text-green {
    font-size: 2.2rem;
    text-shadow: #fff 0px 0px 1px, #fff 0px 0px 2px, #fff 0px 0px 3px, #fff 0px 0px 4px, #fff 0px 0px 5px, #fff 0px 0px 6px;
}

#top-header .header-text-eng {
    font-size: 1.2rem;
    text-shadow: #fff 0px 0px 1px, #fff 0px 0px 2px, #fff 0px 0px 3px, #fff 0px 0px 4px, #fff 0px 0px 5px, #fff 0px 0px 6px;
}


/**インナーメニュー**/
.pc-menu-list > li {
    position: relative;
    list-style: none;
}

.inner-menu-pc {
    position: absolute; 
    top: 100%;          
    left: 0;
    width: 240px;       
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    padding: 10px 0 0 0;
    z-index: 100;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(10px); 
}

.pc-menu-list > li:hover .inner-menu-pc {
    opacity: 1;
    visibility: visible;
    transform: translateY(0); 
}

.inner-menu-pc li {
    list-style: none;
    
}

.inner-menu-pc li a {
    display: block;
    padding: 10px 10px;
    text-decoration: none;
    color: #333;
    font-size: 14px;
    transition: background-color 0.2s;
}

.inner-menu-pc li a:hover {
    background-color: #e0f7f9;
    color: #15a0a0;
}

#container-404 {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 500px;
}

.message-404 {
    font-size: 1.3rem;
}

.button-404 {
    display: block;
    font-size: 1.1rem;
    padding: 0.5em 1em;
    background-color: #0db5be;
    color: white!important;
    border-radius: 3px;
    margin-top: 15px;
}

#mobile-popup-menu {
    display: none;
}


/************************/
/**フッターエリアここから**/
/************************/

#footer-section {
    width: 100%;
   
}

.footer-first-row {
    width: 100%;
    height: 100%;
    background-color: #ecfafb;
}

.footer-first-row-inner {
    margin: 0 auto;
    max-width: 1050px;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    padding: 50px 0;
    height: 100%;
}

.footer-first-row-left, .footer-first-row-right {
    width: 100%;
    height: 100%;
}

.map-container {
    width: 100%;
    height: 100%;
}

.footer-first-logo-container {
    padding: 70px 0 0 0;
    display: flex;
    justify-content: center;
}



.clinic-info-container {
  background-color: #eef8f9; 
  padding: 30px 20px;
  max-width: 600px; 
  margin: 0 auto;
  color: #333;
}

.contact-header {
  text-align: center;
  margin-bottom: 20px;
}

.badge-wrap {
  margin-bottom: 8px;
}

.contact-badge {
  background-color: #00b3ba;
  color: #fff;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 20px;
  border-radius: 20px;
  display: inline-block;
  letter-spacing: 2px;
}

.phone-wrap {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-bottom: 5px;
}

.phone-number {
  font-size: 2.7rem;
  font-weight: 900;
  color: #333;
  letter-spacing: 2px;
  line-height: 1;
  font-family: var(--lato);
}

.phone-phonetic {
  font-size: 16px;
  color: #666;
  margin-top: 15px; /* 下揃えに見せるための微調整 */
}

.contact-subtext {
  font-size: 14px;
  color: #555;
  margin: 0;
  letter-spacing: 1px;
}

/* --- 診療時間テーブルエリア --- */
.schedule-table-wrap {
  margin-bottom: 15px;
}

.schedule-table {
  width: 100%;
  border-collapse: collapse;
  text-align: center;
  background-color: transparent;
}

.schedule-table th, 
.schedule-table td {
  padding: 12px 5px;
  font-size: 15px;
  vertical-align: middle;
}

.schedule-table td {
    background-color: white;
}

/* ヘッダー行 */
.schedule-table thead th {
  background-color: #00b3ba;
  color: #fff;
  font-weight: normal;
}

.schedule-table .time-col {
  width: 25%;
  letter-spacing: 1px;
}

/* 行の境界線 */
.schedule-table tbody tr:first-child td {
  border-bottom: 1px solid #00b3ba; 
}

.schedule-table tbody tr:last-child td {
  border-bottom: 1px solid #00b3ba; 
}

/* --- 注記エリア --- */
.schedule-notes {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 15px;
  font-size: 14px;
  flex-wrap: wrap; /* スマホなどで折り返す用 */
}

.closed-days {
  color: #cc0000; 
  font-weight: bold;
}

.exception-note {
  color: #555;
}

.phone-wrap i{
    font-size: 2.3rem;
    color: #00b3ba;
    margin-top: 10px;
}

.footer-item-list-second {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}

.footer-bannar1:hover, .footer-bannar2:hover {
    opacity: 0.7;
    transition: 0.2s;
}

.footer-second-row {
    width: 100%;
    padding: 20px 0;
}

.footer-menu {
    list-style: none;
    display: flex;
    justify-content: center;
}

.footer-menu li {
    display: flex;
    justify-content: center;
    align-items: center;
    border-right: 1px dotted #aaa;
    padding: 0 20px;
}

.footer-menu a {
    font-size: 0.8rem;
}

.footer-menu-last {
    border-right: 0px dotted #aaa!important;
}

.footer-logo-second {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    margin-bottom: 15px;
}

.footer-logo-second img{
    height: 60px;
}

.footer-address {
    text-align: center;
    font-family: var(--main);
    font-style: normal;
    font-size: 0.8rem;
}

.copyright {
    text-align: center;
}

.mobile-navi {
    display: none;
}

#mobile-bottom-navi {
    display: none;
}

.mobile-popup-phone a {
    display: block;
    padding: 5px 10px!important;
    text-decoration: none;
    border: 1px solid #333;
    border-radius: 10px;
    margin: 10px auto;
    width: 200px;
    text-align: center;
    font-size: 1rem!important;
    color: #333!important;
    background: #fff!important;
    font-weight: bold;
}

.google-map-footer {
    width: 100%;
    height: 100%;
}

.scroll-to-top-button {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: #0db5be; 
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px); 
}

/* スクロールした時に付与するクラス */
.scroll-to-top-button.is-show {
    opacity: 0.7;
    visibility: visible;
    transform: translateY(0);
}

.scroll-to-top-button:hover {
    background-color: #0db5be;
    transform: scale(1.1);
}









/********/
/*TABLET*/
/********/
@media only screen and (max-width: 1025px) {

.pc-navi {
    display: none;
}

.mobile-navi {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    position: relative;
    height: 65px;
    padding: 10px 2%;
    background-color: white;
}

.mobile-navi-logo-wrapper {
    display: flex;
    height: 100%;
    justify-content: center;
    align-items: center;
}

.mobile-navi-logo {
   max-height: 45px;
}

#mobile-menu-button {
    display: block;
    position: fixed;
    top: 10px;
    right: 10px;
    width: 50px;
    height: 45px;
    border-radius: 3px;
    padding: 15px 15px 0px;
    cursor: pointer;
    background: #0db5be;
    z-index: 9999;
    color: #fff;
}

.icon-bar {
    height: 2px;
    background: #fff;
    display: block;
    margin-bottom: 6px;
    -webkit-transition: all 400ms cubic-bezier(1, 0, 0, 1);
    -moz-transition: all 400ms cubic-bezier(1, 0, 0, 1);
    -o-transition: all 400ms cubic-bezier(1, 0, 0, 1);
    transition: all 400ms cubic-bezier(1, 0, 0, 1);
    -webkit-transition-timing-function: cubic-bezier(1, 0, 0, 1);
    -moz-transition-timing-function: cubic-bezier(1, 0, 0, 1);
    -o-transition-timing-function: cubic-bezier(1, 0, 0, 1);
    transition-timing-function: cubic-bezier(1, 0, 0, 1);
}

#mobile-popup-menu {
    display: block;
    overflow: auto;
    position: fixed;
    top: 0;
    right: -240px;
    width: 240px;
    height: 100vh;
    background: #222;
    color: #fff;
    z-index: 2000;
    box-shadow: rgba(0, 0, 0, 0.2) -3px 0 2px 0;
    transition: 0.45s ease;
}

.popup-opened {
    right: 0!important;
    transition: 0.45s ease;
    
}

#mobile-popup-menu ul {
    list-style: none;
    padding: 0;
}

#mobile-popup-menu ul:first-child {
    margin-top: 60px;
}

#mobile-popup-menu ul li a {
    color: #fff;
    font-size: 12px;
    display: block;
    padding: 10px 20px;
    text-decoration: none;
    background: #222;
}

#popup-close-button {
    position: absolute;
    top: 15px;
    right:15px;
    z-index: 2010;
    width: 40px;
    height: 40px;
}

.popup-close-bar1, .popup-close-bar2 {
    top: 50%;
    left: 50%;
    transform-origin: center center;
    position: absolute;
    display: block;
    width: 20px;
    height: 2px;
    border-bottom: 2px solid white;
}

.popup-close-bar1 {
    transform: translate(-50%, -50%) rotate(45deg);
}

.popup-close-bar2 {
    transform: translate(-50%, -50%) rotate(-45deg);
}

#body-container {
    transition: 0.5s ease;
    min-height: 100vh;
}

.body-push {
    position: relative;
    transform: translateX(-240px);
    transition: 0.5s ease;
    overflow: hidden;
}

.body-push:after {
    content: "";
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    top: 0;
    left: 0;
    position: absolute;
    z-index: 999;
    transition: 0.1s;
}

.body-overflow-disabled {
    overflow: hidden;
}

.footer-first-row-right {
    display: none;
}

.footer-first-row-inner {
    margin: 0 auto;
    max-width: 1050px;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    padding: 0px 0 0 0;
    height: 100%;
}

.phone-number {
    font-size: 25px;
}

.phone-phonetic {
    font-size: 12px;
}

.phone-wrap i {
    font-size: 1.4rem;
}

.footer-first-logo-container {
    padding: 30px 0 0 0;
    display: flex;
    justify-content: center;
}

.footer-menu {
    display: none;
}

.footer-item-list-second {
    width: 100%;
    height: 100%;
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 10px;
    padding: 0 20px 20px 20px;
}

#haisha-yoyaku-richReserve {
    width: 100%;
    display: flex;
    justify-content: center;
}

.footer-bannars {
    width: 100%;
    max-width: 450px;
    margin: 0 auto;
}

.footer-logo-second {
    margin-top: 0;
}

#mobile-bottom-navi {
    display: block;
    width: 100%;
    height: 60px;
    position: fixed;
    bottom: 0;
    left: 0;
    z-index: 999;
    background: #0db5be;
}

.mobile-bottom-navi-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    list-style: none;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
}

.mobile-bottom-navi-grid li {
    width: 100%;
    height: 100%;
    padding: 5px;
    border-right: 1px solid #cffafc;
}

.mobile-bottom-navi-grid li:last-child {
    border-right: 0px;
}

.mobile-bottom-navi-grid li a {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white!important;
}

.mobile-bottom-navi-grid li a span {
    font-size: 0.7rem;
}

.footer-address {
    display: none;
}

.footer-logo-second {
    margin-bottom: 30px;
}

.header-text-green {
    font-size: 1.4rem!important;

}

.header-text-eng {
    font-size: 0.9rem!important;
}

.header-medium {
    color: #333;
    text-align: center;
    font-weight: normal;
    font-size: 1.6rem;
    line-height: 1.4;
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
    letter-spacing: 4px;
}

#top-header {
    padding: 45px 0;
}

.scroll-to-top-button {
    position: fixed;
    bottom: 70px;
    right: 15px;
    width: 50px;
    height: 50px;
    background-color: #15a0a0; 
    color: #fff;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    transform: translateY(20px); 
}


}
/********/
/*MOBILE*/
/********/
@media only screen and (max-width: 599px) { 
html { 
    font-size: 15px;
} 

.schedule-table th, .schedule-table td { font-size: 13px; padding: 10px 2px; }
.schedule-notes { gap: 5px; flex-direction: column; }





}