/* ------------ 上部移動ボタン ------------ */
#page-top {
    position: fixed;
    bottom: 196px;
    right: 10px;
    font-size: 12px;
    font-weight: bold;
    z-index: 1;
}

#page-top a {
    color: #fff;
    font-size: 25px;
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    text-decoration: none;
    width: 45px;
    height: 45px;
    line-height: 45px;
    text-align: center;
    display: block;
    border-radius: 45px;
    background: #6fded0;
    box-shadow: rgba(0, 0, 0, 0.2) 2px 2px 2px;
}


/* ------------ 追従バナー ------------ */
#sp_navi {
  position: fixed;
  left: 0;
  bottom: 0;   /* 画面の下に固定。上にしたい場合は top:0; に変更 */
  width: 100%;
  z-index: 9999;  /* 他の要素より前面に出すために高め */
}

.f_bnr {
    list-style: none;
}

#sp_navi ul li.bnr {
    width: 100%;
    border: none;
    margin-bottom: 10px;
    background: none;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

#sp_navi ul li {
    width: 100%;
    /* width: calc(50% - 10px); */
    border: 1px solid #A9783F;
    margin-bottom: 10px;
    background: #a38f68;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

#sp_navi ul li a {
    display: block;
    /* padding: 10px 15px; */
    /* padding: 10px 5px; */
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    text-align: center;
    color: #FFFFFF;
    font-size: 2rem;
}

/* ------------ AIチャット ------------ */
.page-link_contact {
    position: fixed;
    right: 0;
    bottom: 93px;
    z-index: 200;
}

.page-link_contact-2 {
    position: fixed;
    right: 0;
    bottom: 0px;
    z-index: 200;
}

.page-link_contact .page-link_link {
    -webkit-transition: 0.4s;
    transition: 0.4s;
    display: block;
    /* padding: 20px 20px; */
    /* margin-bottom: 10px; */
    position: relative;
    z-index: 1;
    overflow: hidden;
}

.page-link_contact a {
    color: #385da3;
    text-decoration: none;
    -webkit-transition: all 0.3s ease;
    transition: all 0.3s ease;
    cursor: pointer;
}

.page-link_contact .page-link_link:before {
    -webkit-transition: 0.4s;
    transition: 0.4s;
    position: absolute;
    content: "";
    width: 100%;
    height: 200%;
    top: -60%;
    left: 0;
    /* background: linear-gradient(4deg, #19263e 0%, #609dcc 100%); */
    background-size: 200%;
    background-position: top;
    z-index: -1;
}

/* ボタンを載せている親要素 */
.sdxdeic {
  position: relative; /* 子要素(button)を絶対配置するため */
}

/* ボタンを右寄せ＆top:380px に配置 */
.sdxdeic button {
  position: absolute;
  right: 0;      /* 右端に寄せる */
  top: 380px;    /* 上から380px の位置 */
}

/* ------------------------ ------------  ご予約バナー ------------ ------------ ------------ */
#popup-navigation.is-open {
  display: flex; /* 変更: display:blockからflexに変更 */
  /* 上記をflexにすることで、popup-navigation内のアイテムを中央揃えにする */
	
}

.popup-navigation.open {
    display: block; /* 表示させる */
    opacity: 1; /* 不透明に */
    transform: translateY(0); /* 元の位置に戻す */
}

.popup-navigation {
    position: fixed;
    inset: 0;
    align-items: center;
    justify-content: center;
    top: 25%;
    left: 18%;
    width: 60%;
    height: 74%;
    background-color: #ffffffed;
    backdrop-filter: blur(5px);
    padding: 10px 40px;
    border: 2px solid #e8e8e8;
    box-shadow: 0 0 12px 4px #0000001f;
    transition: opacity 0.3s ease, transform 0.3s ease;
    transform: translateY(20px);
    overflow: hidden;
    border-radius: 10px;
}

.popup-navigation__inner {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    overflow: hidden;
}

/* 閉じるボタン */
.popup-navigation__close {
  position: absolute;
  top: 8px;
  right: 8px;
  border: none;
  background: transparent;
  font-size: 20px;
  line-height: 1;
  cursor: pointer;
}

.popup-sb-ttl{
    text-align: center;
}

.popup-sb-ttl p {
    font-size: 22px !important;
    line-height: normal;
    letter-spacing: normal;
    font-weight: 400;
}

.popup-sb-ttl .main-ttl {
    font-size: 30px !important;
    color: #16778c;
    font-weight: 600;
    letter-spacing: 0.1em;
}



/* ------------ ボタン ------------ */
.popup-navigation__inner nav {
    width: 100%;
}

.popup-navigation__inner ul {
  margin: 0;
  padding: 0;
  width: 100%;
}

.popup-navigation .contact-link {
  margin-bottom: 10px;
  list-style-type: none;
}

.popup-navigation .contact-link:last-of-type {
  margin-bottom: 0px;
}

.popup-navigation .contact-link > a {
    display: flex;
    align-items: center;
    width: 100%;
    padding: 12px 18px;
    color: #fff;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 50px;
    background: linear-gradient(124deg, #bf9782 50%, #91654ed1 100%);
    border: solid 3.5px #bf9782;
    text-shadow: 0 0px 3px #983a0a;
    font-weight: 700;
}

.popup-navigation .contact-link >:hover {
    color: #bf9782;
    background: #ffffff63;
    text-shadow: none;
    border: solid 3.5px #fff;
    box-shadow: inset 0 0 6px -1px rgb(0 0 0 / 19%);
}

/* 左側の「予約」を太く */
.popup-navigation .contact-link__main {
  font-weight: 700;
  margin-right: 16px;
}

/* 右側の「初めての方はこちら」は通常ウェイト */
.popup-navigation .contact-link__sub {
  font-weight: 400;
}

/* 右端の▶︎マークをCSSで描く */
.popup-navigation .contact-link > a::after {
  content: "";
  margin-left: auto;
  /* 三角形（右向き） */
  border-top: 7px solid transparent;
  border-bottom: 7px solid transparent;
  border-left: 10px solid #fff;
}



/* ------------ フッタデザイン ------------ */
.t-m15 {
    margin-top: 15px;
}

.main_foot {
    background-image: url("https://morise-implant.com/wp-content/uploads/2026/01/bg-gr02.jpg");
    background-position: center top;
    background-repeat: no-repeat;
    background-size: cover;
    /* background: #16778c; */
    color: #FFF;
    padding: 60px 0;
    position: relative;
}

.main_foot::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #16778ca3;
}

.row_foot01 {
    max-width: 100%;
    margin: 0 auto;
}

.row_foot01>.col_l {
    width: 48%;
    max-width: 460px;
}

.row_foot01>.col_r {
    width: 48%;
    max-width: 480px;
}

.logo_foot, .address_foot {
    margin-bottom: 35px;
}

.address_foot {
    color: #fff;
}

a:link {
    text-decoration: none;
}

.logo_foot a {
    border: none;
overflow: hidden; 
}

.logo_foot img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.row_foot02 {
    width: 100%;
    max-width: 390px;
}

.box_tel_foot {
    font-family: "Libre Baskerville", serif;
    width: 70%;
    max-width: 260px;
    height: 100%;
    text-align: center;
}

.box_tel_foot a {
    width: 100%;
    display: block;
    background: #bf9782;
    color: #fff;
    padding: 24px 0 20px;
    text-shadow: 0 0px 5px #983a0a;
    box-shadow: 0 0 4px 1px #00667c;
    border-radius: 50px;
}

.box_tel_foot small {
    display: block;
    font-size: 87.5%;
    letter-spacing: .1em;
    line-height: 1;
    margin-bottom: 10px;
}

.box_tel_foot span {
    display: inline-block;
    position: relative;
    line-height: 1;
    font-size: 137.5%;
    letter-spacing: .1em;
    margin-bottom: 8px;
}

.box_tel_foot span:before {
    content: "";
    position: absolute;
    background: url(../img/icn_tel.png) no-repeat center/cover;
    width: 13px;
    height: 19px;
    left: 8px;
    top: -2px;
    bottom: 0;
    margin: auto;
}

.box_reserve_foot {
    width: 50%;
    height: 100%;
    text-align: center;
    font-family: "Libre Baskerville", serif;
}

.box_reserve_foot a {
    display: block;
    background: #bf9782;
    color: #fff !important;
    text-shadow: 0 0px 5px #983a0a;
    padding: 23px 0 23px;
    box-shadow: 0 0 4px 1px #00667c;
    border-radius: 50px;
}

.box_reserve_foot .icn {
    display: block;
    margin: 0 auto 10px;
    width: 30px;
}

.box_reserve_foot .icn img {
    max-width: 100%;
    height: auto;
}

.box_reserve_foot .txt {
    display: block;
    line-height: 1;
}

.hp-banner-box {
    display: flex;
    margin: 10px 0;
}

.row_foot01>.col_r .tbl_time {
    max-width: 440px;
    margin-left: auto;
    margin-right: 0;
}

.tbl_time table {
    width: 100%;
    margin-bottom: 10px;
}

.tbl_time thead th:first-child {
    letter-spacing: .19em;
}
.tbl_time thead th:first-child, .tbl_time tbody th {
    width: 30%;
}
.tbl_time thead th {
    font-size: 93.75%;
    font-weight: 500;
    letter-spacing: 0;
    padding-bottom: 9px;
    border-bottom: 1px solid #FFF;
}

.tbl_time thead th:not(:first-child) {
    width: calc(62% / 6);
    text-align: left;
}

.tbl_time thead th:last-child, .tbl_time tbody td:last-child {
    width: 8%;
}

.tbl_time thead th span {
    margin-left: -11px;
}

.tbl_time tbody tr:first-child th, .tbl_time tbody tr:first-child td {
    padding: 12px 0 11px;
}

.tbl_time tbody th {
    line-height: 1.2;
    font-size: 14px;
    font-weight: 500;
    border-bottom: 1px solid #FFF;
}

.tbl_time tbody td {
    font-size: 21px;
    font-weight: 900;
    color: #24ffd5;
    border-bottom: 1px solid #FFF;
    padding-left: 1px !important;
    width: calc(62% / 6);
    text-align: left;
    text-align: center;
}

.tbl_time thead th:last-child, .tbl_time tbody td:last-child {
    width: 8%;
}

.tbl_time tbody tr:last-child th, .tbl_time tbody tr:last-child td {
    padding: 12px 0 12px;
}

.tbl_time .tbl_caption {
    font-size: 81.25%;
    color: #FFF;
}

.item-image3 {
    min-height: 0%;
    margin-bottom: 0.5em;
}

.item-image3 img {
    width: 100%;
    height: auto;
    vertical-align: bottom;
}

.copyright {
    font-family: 'Noto Sans JP', "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", sans-serif;
    padding: 25px 0;
    background-color: #16778c;
    color: #fff;
    font-size: 12px;
    text-align: center;
    color: #fff;
    padding: 24px 5% 24px;
}

.footer-box {
    box-sizing: border-box;
    z-index: 1;
    position: relative;
}

.cv-banner-box{
	width:100%;
        z-index: 1;
}

/* ------------ タブレットサイズ ------------ */
@media screen and (min-width: 768px) and (max-width: 960px) {
.row_foot01 {
    margin: 0 auto;
        max-width: 100%;
}

.footer-box{
    box-sizing: border-box;
}
	
/* 予約ポップアップ */
.popup-navigation {
    top: 22%;
    height: 63%;
    width: 70%;
    left: 11%;
}
	
.popup-sb-ttl .main-ttl {
    font-size: 25px !important;
    letter-spacing: 0;
}
.popup-sb-ttl p {
    font-size: 20px !important;
}

}

/* ------------ スマホサイズ ------------ */
@media only screen and (max-width: 480px){
footer {
    padding: 0 0;
    background: #000000;
    color: #FFF;
    padding: 0 0 74px;
}

.inner{
    padding: 0 3.2vw;
}

.row_foot01 {
    display: block;
}

.row_foot01>.col_l {
    width: 100%;
    max-width: 100%;
    margin-bottom: 7vw;
}

.logo_foot {
    max-width: calc(682 / 750 * 100vw);
    margin: 0 auto 3.5vw;
    text-align: center;
}

.address_foot {
    text-align: center;
    margin-bottom: 3vw;
    font-size: 15px !important;
    font-weight: 400;
}

.row_foot02 {
    margin: 30px auto;
    flex-wrap: nowrap;
    display: flex;
    box-sizing: border-box;
    align-items: center;
    flex-direction: column;
    gap: 8px;
    width: 85%;
}

.box_tel_foot {
    max-width: 100%;
    width: 100%;
}

.box_tel_foot small {
    font-size: 14px;
    margin-bottom: 5px;
}

.box_tel_foot span {
    font-size: 106.25%;
    padding-left: 5vw;
    margin-bottom: 1.5vw;
}

.box_tel_foot span:before {
    width: calc(21 / 750 * 100vw);
    height: calc(29 / 750 * 100vw);
    left: 1vw;
    top: 1vw;
}

.box_reserve_foot {
    width: 100%;
    max-width: 100%;
}

.box_reserve_foot .icn {
    width: calc(37 / 750 * 100vw);
    margin: 0 auto .5vw;
}

.box_reserve_foot .icn img {
    max-width: 100%;
    height: auto;
}

.box_reserve_foot .txt {
    letter-spacing: 1.3px;
    font-size: 15px;
    margin-top: 5px;
}

.row_foot01>.col_r {
    width: 100%;
    max-width: 100%;
}

.row_foot01>.col_r .tbl_time {
    max-width: calc(660 / 750 * 100vw);
    margin: 0 auto;
}

.tbl_time table {
    width: 100%;
    margin-bottom: 10px;
}

.tbl_time thead th:first-child, .tbl_time tbody th {
    width: 29%;
}

.tbl_time thead th {
    font-size: 68.75%;
    padding-bottom: 2.2vw;
}

.tbl_time thead th:not(:first-child), .tbl_time tbody td {
    width: calc(61% / 6);
}

.tbl_time thead th:last-child, .tbl_time tbody td:last-child {
    width: 10%;
}

.tbl_time thead th span {
    margin-left:-7.6px;
}

.tbl_time tbody tr:first-child th, .tbl_time tbody tr:first-child td {
    padding: 2vw 0 2.3vw;
}

.tbl_time .tbl_caption {
    font-size: 68.75%;
    letter-spacing: .05em;
    margin-top: 3vw;
    padding-left: 1vw;
}

#page-top {
    bottom: 76px;
}

.payment-box {
    width: 95%;
    margin: 0 auto;
    box-sizing: border-box;
    overflow: hidden;
}

.hp-banner-box {
    display: flex;
    flex-direction: row;
}

.page-link_contact-2 a{
    margin: 0 0;
    padding: 0 0;
    display: flex;
        overflow: hidden;
}

.page-link_contact-2 {
    left: 0;
    width: 50%;
}

.page-link_contact {
    bottom: 0px;
    width: 50%;
}

.page-link_contact a{
    margin: 0 0;
    padding: 0 0;
    display: flex !important;
        overflow: hidden;
}

.cv-banner-box {
    width: 100%;
    bottom: 0;
    position: sticky;
}

	/* 予約ポップアップ */
.popup-navigation {
    top: 18%;
    height: 70%;
    width: 94%;
    padding: 20px 10px;
    left: 3%;
    overflow: hidden;
    overflow-y: auto;
    z-index: 10;
}
	
.popup-navigation__inner {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 30px;
    overflow: hidden;
    overflow-y: auto;
    padding-top: 40px;
    padding-right: 4px;
}
	
.popup-navigation__inner::-webkit-scrollbar {
    width: 5px;  /* スクロールバーの幅 */
}

.popup-navigation__inner::-webkit-scrollbar-thumb {
    background-color: #16778c;  /* スクロールバーの色 */
    border-radius: 10px;
}

.popup-navigation__inner::-webkit-scrollbar-track {
    background-color: #f0f0f0;  /* スクロールトラックの色 */
}

.popup-sb-ttl {
    display: flex;
    flex-direction: column;
    gap: 5px;
}
	
.popup-sb-ttl .main-ttl {
    font-size: 22px !important;
    letter-spacing: 2px;
    font-weight: 700;
    line-height: 30px;
}

.popup-sb-ttl p {
    font-size: 16px !important;
}

.popup-navigation__inner nav {
    margin-top: 0px;
}
	
.popup-navigation .contact-link > a {
    padding: 0 0;
    width: 100%;
    height: 95px;
    border-radius: 9px;
    text-align: center;
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 1.5px;
    display: grid;
}

	.popup-navigation .contact-link > a::after{
		display:none;
	}

.popup-navigation .contact-link {
    margin-bottom: 0px;
}

.popup-navigation__inner ul {
    margin: 0;
    padding: 0;
    width: 100%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}


}
