/*
Theme Name: masuda-shikaiin-theme
Author: YAS
Author URI: 
Description: A customer theme for masuda dental
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
*/

a, u {
    text-decoration: none;
    color: #0093FF;
}

p {
    line-height: 2;
}

.img-fluid {
    width: 100%;
}

@font-face {
    font-family: "Genjyu";
    src: url("font/GenJyuuGothic-Monospace-Normal.ttf") format("truetype");
}

.genjyu {
    font-family: "Genjyu";
}

.blue {
    color: #0093FF;
}

.bg-blue {
    background: #0093FF;
}

.dark-blue {
    color: #0082b4;
}

.light-blue {
    color: #6dd2e2;
}

.gray {
    color: #646464;
}

::placeholder {
    color: #cee7f7;
}

.container,
.container-fluid {
    padding-left: 2rem;
    padding-right: 2rem;
}

.row {
    margin-left: -2rem;
    margin-right: -2rem;
}

.row > * {
    padding-left: 2rem;
    padding-right: 2rem;
}

html {
	/* font-size: 25pt; */
	font-size: 16px;
    max-width: 100vw;
    width: 100vw;
    /* overflow-x: hidden; */
}

body {
    font-family: "Genjyu", sans-serif; 
    font-weight: 400;
    font-style: normal;
    /* overflow-x: hidden; */
    max-width: 100vw;
    width: 100vw;
    padding-right: 0 !important;
}

.img-full {
    width: 100%;
    height: auto;
}

#main {
    max-width: 85%;
    /* overflow-x: hidden; */
}

textarea {
    border: none;
}

#banner {
    min-height: 101vh;
    z-index: 600;
}

.border-blue {
    border-color: #0099ff !important;
}

#banner-content-container {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 35%;
    transform: translate(-50%, -50%);
}

#banner-content-wrapper {
    /* padding-top: 35vh;
    padding-bottom: 50vh;
    margin-left: 25vw;
    position: relative; */
}

.top-text-image {
    display: flex;
    gap: 5vw;
    height: auto;
    margin-bottom: 7vh;
    padding-left: 20%;
    padding-right: 20%;
    /* width: 35%;
    margin-left: 20%;
    margin-bottom: 30px; */
}

.top-text-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

.top-text-image img#line-1 {
    opacity: 0;
    animation-name: topline;
    animation-duration: 0,5s;
    animation-delay: 2s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.top-text-image img#line-2 {
    opacity: 0;
    animation-name: topline;
    animation-duration: 0.5s;
    animation-delay: 1.5s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

.top-text-image img#line-3 {
    opacity: 0;
    animation-name: topline;
    animation-duration: 0.5s;
    animation-delay: 1s;
    animation-iteration-count: 1;
    animation-fill-mode: forwards;
}

@keyframes topline {
    0% {
        opacity: 0;
    }

    10% {
        opacity: 0.5;
    }

    20% {
        opacity: 1;
    }

    100% {
        opacity: 1;
    }
}

.main-tooth-container {
    position: relative;
    transform: translate(5%, 0);
    width: 90%;
}

.toothbrush {
    z-index: 0;
}

.main-tooth {
    width: 100%;
    height: auto;
    /* position: absolute; */
}

/* Define the slide-in animation */
@keyframes toothSlideIn {
    from {
        transform: translateX(-400px);
        /* Start above the viewport */
        opacity: 0;
    }

    to {
        transform: translateX(0);
        /* End at original position */
        opacity: 1;
    }
}

.zoom-in {
    animation: zoomIn 2s ease-out forwards;
    /* Animation */
    animation-delay: .4s;
}

@keyframes zoomIn {
    from {
        transform: scale(0); /* Starts at 0% size (invisible) */
        /* Start above the viewport */
        opacity: 0;
    }

    to {
        transform: scale(1);
        /* End at original position */
        opacity: 1;
    }
}

.appearing {
    animation: appearing 0.5s ease-out forwards;
    /* Animation */
    animation-delay: 0.4s;
}

@keyframes appearing {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.brushing {
    /* animation: linear infinite; */
    animation-name: toothSlideIn, toothbrushing;
    animation-duration: 3s, 1s;
    position: absolute;
    animation-delay: 0.4, 3s;
    /* animation-fill-mode: forwards; */
    animation-iteration-count: 1, 1;

}

.brushing-two {
    /* animation: linear infinite; */
    animation-name: appearing, toothbrushingTwo;
    animation-duration: 0.5s, 1s;
    position: absolute;
    animation-delay: 0.4s, 2.5s;
    /* animation-fill-mode: forwards; */
    animation-iteration-count: 1, 1;
}

@keyframes toothbrushing {
    0% {
        left: -40px;
    }

    50% {
        left: 40px;
    }

    100% {
        left: -40px;
    }
}

@keyframes toothbrushingTwo {
    0% {
        left: -12%;
    }

    50% {
        left: 6%;
    }

    100% {
        left: 0;
    }
}

#sidebar {   
    width: 15vw;
    min-width: 15vw;
    max-width: 15vw;
    z-index: 900;
}

#sidebar-bg {
    position: absolute; 
    top: 0; 
    right:0; 
    width: 15vw;
    height: 100%; 
    background: #fff;
    z-index: 500;
}

#sticky-sidebar {
    padding-top: 15vh;
    /* height: 100vw; */
}

#sidebar-items {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 17px;
    justify-content: center;
    position: relative;
    z-index: 1040;
}

.side-ten-percent {
	padding-left: 10%;
	padding-right: 10%;
}

.content-side-margin {
	padding-left: 10%;
	padding-right: 10%;
}

.side-twenty-percent {
	padding-left: 20%;
	padding-right: 20%;
}

#content-1-text {
	padding-top: 43px;
}

#content-1-title {
	margin-bottom: 57.5px;
}

.left-minus-fifteen {
	margin-left: -15px;
}

.top-message-title h2 {
    line-height: 1.5;
}

#menu-2-items {
	padding-left: 10%;
	padding-right: 10%;
    padding-bottom: 10px;
}

#menu-2 #floating-menu-image {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
}

#menu-2.is-floating #floating-menu-image {
    margin-top: 0.5rem;
    margin-bottom: 0.5rem;
}

#menu-2.is-floating {
    /* border-bottom: solid 1px #0099ff; */
}

.w-30 {
	width: 30%;
}

.w-33 {
	width: 33.33333333%;
}

.w-45 {
	width: 45%;
}

.w-66 {
	width: 66.66666667%;
}

.w-80 {
	width: 80%
}

.new-blue {
    color: #e5f4ff;
}

.blue-background-wrapper {
	background: #e5f4ff;
}

.hover-bg-blue:hover > div {
	background: #e5f4ff;
}

.bg-light-blue {
    background: #e5f4ff;
}

/* footer {
    height: 30vh;
} */

.font-half {
    font-size: 0.5rem;
    line-height: 1;
}

.font-small {
    font-size: 0.7rem;
    line-height: 1;
}

#menu_modal .modal-content {
    border-top-left-radius: 60px;
    border-top-right-radius: 0;
}

#menu-2-items-wrapper {
    display: flex;
    flex-wrap: wrap;
    border-top: solid 1px #0099ff;
    justify-content: space-around;
}

#parallax, .parallax {
    background-image: url("images/base_photo.png");
    /* width: 100%; */
    width: calc(100vw - 15%);
    height: 100%;
    height: 100vh;
    /* background-attachment: fixed; */
    background-position: center bottom;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.page-template-treatment #parallax,
#parallax-2 {
    background-image: url("images/index2spacer.png");
    /* width: 100%; */
    width: calc(100vw - 15%);
    height: 100%;
    /* height: 100vh; */
    /* background-attachment: fixed; */
    background-position: right;
    background-repeat: no-repeat;
    background-size: cover;
    position: fixed;
    top: 0;
    left: 0;
    z-index: -1;
}

.page-template-hospital #parallax {
    background-image: url("images/parallax_1.png");
    background-position: center top;
}

#parallax.parallax_alt_2 {
    background-image: url("images/parallax_2.png");
}

#parallax.parallax_alt_3 {
    background-image: url("images/parallax_3.png");
}

#parallax.parallax_alt_4 {
    background-image: url("images/parallax_4.png");
}

#parallax.parallax_alt_5 {
    background-image: url("images/parallax_5.png");
}

#parallax.parallax_alt_6 {
    background-image: url("images/index2spacer.png");
    background-position: center top;
}

#parallax.parallax_alt_7 {
    background-image: url("images/shinryonokoto_2.jpg");
    background-position: left center;
}

#parallax.parallax_alt_8 {
    background-image: url("images/base_photo_3_edit_new.jpg");
    background-position: center;
}

.spacer {
    /* background-image: url("../images/parallax.png"); */
    /* background-attachment: fixed; */
    /* background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
    margin-top: -1px;
    margin-bottom: -1px;
}

.spacer2 {
    /* background-image: url("../images/index2spacer.png"); */
    /* background-attachment: fixed; */
    /* background-position: center;
    background-repeat: no-repeat;
    background-size: cover; */
    margin-top: -1px;
    margin-bottom: -1px;
}


.spacer-bg-clinic {
    background-image: url("../images/image_photo_2.png");
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}


#top-logo {
    position: absolute;
    top: 40px;
    right: 54px;
    width: 7.68vw;
}

#banner-menu {
    position: absolute;
    bottom: 10vh;
    right: 54px;
}

#banner-menu .menu-item,
#banner-menu #news-mark {
    margin-bottom: 2vh;
}

#banner-menu .menu-item img {
    height: 1vh;
    min-height: 30px;
    max-height: 68px;
    width: auto;
}

#banner-menu #menu-tel {
    margin-top: 6vh;
}

#banner-menu #news-mark img,
#banner-menu #menu-tel img {
    height: 2vh;
    min-height: 60px;
    max-height: 120px;
    width: auto;
}

.swing-tooth-animation-wrapper {
    margin-bottom: -6vh;
    margin-top: -2vh;
}

.swing-tooth-animation,
.swing-tooth-animation-2 {
    width: 25vw;
    height: auto;
    margin-left: auto;
    margin-right: 15vw;
    display: block;
}

.toothswinging {
    /* animation: linear infinite; */
    animation-name: toothswinging;
    animation-duration: 3s;
    animation-delay: 1s;
    animation-iteration-count: infinite;
}

.menu-modal-link {
    line-height: 1;
    font-size: 0.7rem;
}

@keyframes toothswinging {
    0% {
        transform: rotate(0deg);
    }

    50% {
        transform: rotate(45deg);
    }

    100% {
        transform: rotate(0deg);
    }
}

.p-top-spacer {
    padding-top: 5vh;
}

.p-top-spacer-2 {
    padding-top: 5vh;
}

.p-bottom-spacer {
    padding-bottom: 5vh;
}

.p-bottom-spacer-2 {
    padding-bottom: 5vh;
}

.p-bottom-spacer-3 {
    padding-bottom: 5vh;
}

.m-bottom-spacer {
    margin-bottom: 5vh;
}

.m-top-spacer {
    margin-top: 5vh;
}

.p-bottom-half-spacer {
    padding-bottom: 2.5vh;
}

.index-top-spacer {
    padding-bottom: 3.5vh;
}

.p-bottom-half-spacer-2 {
    padding-bottom: 2.5vh;
}

.p-bottom-half-spacer-3 {
    padding-bottom: 2vh;
}

.m-bottom-half-spacer {
    margin-bottom: 2.5vh;
}

.m-top-half-spacer {
    margin-top: 2.5vh;
}

.p-top-half-spacer {
    padding-top: 2.5vh;
}

.p-top-half-spacer-2 {
    padding-top: 2.5vh;
}

#profile-table {
    border-top: dotted #0093FF 2px;
    border-bottom: dotted #0093FF 2px;
}

.manSlideIn {
    animation-name: manSlideIn;
    animation-duration: 1s;
    /* animation-delay: .4s; */
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

.manSlide {
    width: 25%;
    visibility: hidden;
    /* width: 0%; */
    /* right: -100%; */
    /* transform: translate(100%, 0); */
    /* position: absolute; */
    /* position: relative; */
}

.manSlide.in-view {
    animation-name: manSlideIn;
    animation-duration: 2s;
    animation-delay: 1s;
    animation-fill-mode: forwards;
    animation-iteration-count: 1;
}

@keyframes manSlideIn {
    from {
        transform: translate(50%, 0);
        visibility: hidden;
        /* width: 25%; */
        /* right: -100%; */
    }

    to {
        transform: translate(0, 0);
        visibility: visible;
        /* width: 25%; */
        /* right: 0; */
    }
}

#content-1-2-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: space-between;
    padding: 0 1rem;
}

#content-1-2-menu > a {
    width: 20%;
}

.spacer_2_img {
    width: 32%;
    margin-left: auto;
}

.spacer_2_img_2 {
    width: 25%;
    margin-left: auto;
    margin-bottom: -2rem;
}

.spacer_2_img_3 {
    width: 30%;
    margin-left: auto;
}

#content3_red_mark {
    width: 25%;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(-25%, -50%);
}

.mb-6 {
    margin-bottom: 4rem !important;
}

.ultra-top {
    z-index: 9999;
}

.new-blue.btn-close {
    /* background: transparent var(--bs-btn-close-bg) contain / 1em auto no-repeat;
    background-image: url('../images/close.png'); */
    background: no-repeat url('images/close.png');
    background-size: contain;
    margin-right: 1rem;
    margin-top: 1rem;
    width: 1rem;
    height: 1rem;
}

#calendar_modal .modal-content {
    padding-bottom: 2rem;
    border-top-left-radius: 0;
    border-top-right-radius: 2rem;
    border-bottom-right-radius: 2rem;
    border-bottom-left-radius: 0;
    background: rgba(255, 255, 255, 0.8);
}

#menu_modal .modal-content {
    background: rgba(255, 255, 255, 0.8);
}

#menu_modal .new-blue.btn-close {
    margin-top: 0;
    margin-bottom: 15%;
    margin-right: 0;
    width: 10px;
    height: 10px;
}

.pop-menu-link {
    text-decoration: none;
    font-size: 0.5rem;
}

.dot-separator {
    border-bottom: dotted 2px #0093ff;
}

#floating-filler {
    margin-top: -1px;
    height: 21vh;
    margin-bottom: -21vh;
}

.content-3-content-image-wrapper {
    display: flex;
    gap: 5vw;
}

/* .content-3-content-image-wrapper > div {
    flex: 1 1 0px;
} */

.content-3-saiyou-button-wrapper {
    padding-left: 25%;
    padding-right: 15%;
    margin-bottom: 1.5rem;
}

.saiyou-button-new {
    display: block;
    position: absolute;
    top: 0;
    left: 23%;
    width: 31%;
}

ul.no-bullet {
    list-style: none;
    padding-left: 0;
}

.footer-sns-icon {
    max-width: 50px;
}

#footer-title {
    padding-left: 35%;
    padding-right: 35%;
}

#footer-list-menu {
    padding-right: 55%;
}

footer .footer-sns-icon {
    max-width: 35px;
}

#footer-extra-link {
    padding-left: 55%;
}

#content2-profile-pc-wrapper #flex-links{
    font-size: 10px;
}

#content2-profile-pc-wrapper #flex-links > div {
    margin-bottom: 0.3rem;
    padding-left: 3rem;
}

#content2-profile-pc-wrapper #flex-links small{
    font-size: 0.75em;
}

#clinic-top-title {
    width: 100%;
    margin: auto;
}

.google-map-wrapper {
    /* height: 365px; */
    /* padding-top: 2rem; */
    /* padding-top: 1rem; */
    /* padding-bottom: 2rem; */
    margin-top: 1rem;
    margin-bottom: 2rem;    
    overflow: hidden;
    width: 100%;
}

.google-map-wrapper-border {
    border-radius: 75px;
    aspect-ratio: 1 / 1.2;
    overflow: hidden;
}

.contact-form-wrapper input,
.contact-form-wrapper textarea {
    width: 100%;
    margin-right: 5px;
    border: none;
    padding: 5px 20px;
}

.contact-form-wrapper label span.wpcf7-list-item-label {
    margin-right: 5px;
}

.contact-form-wrapper input[type="radio"],
.contact-form-wrapper input[type="checkbox"] {
    width: auto;
}

.contact-form-wrapper .wpcf7-submit {
    background: #0093ff;
    border: solid 1px #0093ff;
    border-radius: 10px;
    color: #fff;
    width: auto;
    padding: 5px 10px;
    margin: auto;
}

.contact-form-wrapper p > label {
    display: block;
}

.wpcf7-form-control-wrap textarea,
.wpcf7-form-control-wrap input {
    color: #0093FF;
}

.wpcf7-form-control-wrap textarea:focus,
.wpcf7-form-control-wrap input:focus {
    border: solid 1px #0093FF;
}

.wpcf7-form-control.wpcf7-radio {
    margin: 0 0 0 20px;
}

.wpcf7-list-item.last {
    margin: 0 0 0 40px;
}

/* .top-button-wrapper {
    padding-left: 15%;
    padding-right: 15%;
} */

.top-button-wrapper a,
.top-button-wrapper button {
    width: 50px;
}

/* .phone-button-wrapper {
    padding-left: 18%;
    padding-right: 18%;
} */

.phone-button-wrapper a {
    width: 50px;
}

.zeikomi-mark {
    /* display: none; */
    display: block;
    position: absolute;
    right: 0;
    top: 50%;
    transform: translate(110%, -30%);
    width: 5vw;
}

.button-registration-pc {
    position: absolute;
    top: 60%;
    left: 44%;
    width: 15%;
    display: none;
}

.button-registration-sp {
    position: absolute;
    top: 49%;
    left: 35%;
    width: 30%;
}

.button-parking-pc {
    position: absolute;
    top: 64%;
    transform: translate(0, -50%);
    right: 0;
    width: 25%;
}

.hospital-content-header {
    width: 5.7vw;
    position: absolute;
    top: 0;
    transform: translate(0, -100%);
    display: none;
}

.hospital-content-header#content_clinic_banner {
    display: block;
    transform: none;
}

.hospital-content-header#content_clinic_banner img {
    display: none;
}

.link-title {
    margin-bottom: 3rem;
    padding-top: 1rem;
    padding-bottom: 1rem;
    border-top: solid 1px #0093ff;
    border-bottom: solid 1px #0093ff;
    text-align: center;
    font-size: 1.5rem;
}

#play_1_sp{
    position: absolute;
    width: 13%;
    left: 21%;
    bottom: 37%;
}

#play_2_sp {
    position: absolute;
    width: 13%;
    right: 21%;
    bottom: 37%;
}

#link_top_right {
    position: absolute;
    top: 7.3%;
    left: 32.6%;
    width: 18.1%;
}

/* #link_bottom_right_one {
    position: absolute;
    top: 27.1%;
    left: 32.6%;
    width: 13.5%;
}

#link_bottom_right_two {
    position: absolute;
    top: 33%;
    left: 32.6%;
    width: 9%;
}

#link_bottom_right_three {
    position: absolute;
    top: 39%;
    left: 32.6%;
    width: 10.5%;
} */

#link_left_one {
    position: absolute;
    top: 8.5%;
    left: 6.7%;
    width: 14%;
}

#link_left_two {
    position: absolute;
    top: 17.7%;
    left: 6.7%;
    width: 13%;
}

#link_left_three {
    position: absolute;
    top: 26.3%;
    left: 6.7%;
    width: 12%;
}

#link_left_four {
    position: absolute;
    top: 32.4%;
    left: 6.7%;
    width: 9%;
}

#link_left_five {
    position: absolute;
    top: 38.1%;
    left: 6.7%;
    width: 13%;
}

#play_1_pc{
    position: absolute;
    width: 4.7%;
    left: 18%;
    bottom: 17.2%;
}

#play_2_pc {
    position: absolute;
    width: 4.7%;
    left: 34%;
    bottom: 17.2%;
}

#parking_content {
    margin-top: 3rem;
}

.page-template-treatment #content-3-wrapper {
    z-index: 800;
    position: relative;
    width: 100vw;
}

.contact-form-wrapper-adjustment {
    margin-left: -1rem;
    margin-right: -1rem;
}

.form-content-wrapper input,
.form-content-wrapper textarea,
.form-content-wrapper label,
.form-content-wrapper .form-text {
    font-size: 14px;
}

.form-content-wrapper label {
    color: #646464;
}

.privacy-wrapper {
    border-top: solid 1px #0093FF;
    border-bottom: solid 1px #0093FF;
    padding-top: 2rem;
    padding-bottom: 1rem;
    margin-bottom: 2rem;
    font-size: 14px;
    color: #646464;
}

.privacy-wrapper input[type="checkbox"] {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    vertical-align: middle;
}

.hospital-contact {
    position: absolute;
    bottom: 42.2%;
    right: 3.3%;
    width: 74%;
}

#menu_modal_label {
    padding-left: 3%;
    padding-top: 2%;
    padding-right: 2%;
    padding-bottom: 2%;
    width: 50%;
}

#menu_contact_label {
    width: 50%;
    padding-right: 2%;
    padding-left: 12%;
    line-height: 1;
}

#menu_contact_label_tel {
    width: 76%;
    margin-left: auto;
}

#menu_modal .modal-body table {
    table-layout: fixed;
}

#menu_modal .modal-body table td {
    border: solid 1px #0093FF;
    width: 33.333%;
    padding: 0;
}

.sublink-wrapper {
    text-align: center;
    /* padding-left: 0.5rem;
    padding-right: 0.5rem; */
    background: url("images/pop_menu_link_bg.png");
    background-size: contain;
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    gap: 0;
}

.sublink-wrapper .grow {
    flex-grow: 1;
}

.sublink-wrapper .sublink-item a {
    width: 100%;
    padding-top: 6%;
    padding-bottom: 6%;
}

.sublink-wrapper .sublink-item:hover {
    background: #e5f4ff;
}

.sublink-wrapper .sublink-item.sublink-item-link a{
    padding-top: 9%;
    padding-bottom: 9%;
}

#calendar_modal .btn-close {
    width: 10px;
    height: 10px;
}

.calendar_tel {
    /* bottom: 8%; */
    bottom: 4.5%;
    right: 6%;
    position: absolute;
    /* width: 70%; */
    width: 68%;
    height: 3%;
}

#calendar_modal.modal.fade .modal-dialog {
    margin-left: 0;
    -webkit-transform: translate(-100%, 0); /* For Webkit browsers */
    -ms-transform: translate(-100%, 0);    /* For Internet Explorer */
    -o-transform: translate(-100%, 0);     /* For Opera */
    transform: translate(-100%, 0);        /* Standard syntax */
}

#menu_modal.modal.fade .modal-dialog {
    margin-right: 0;
    -webkit-transform: translate(100%, 0); /* For Webkit browsers */
    -ms-transform: translate(100%, 0);    /* For Internet Explorer */
    -o-transform: translate(100%, 0);     /* For Opera */
    transform: translate(100%, 0);        /* Standard syntax */
}

#calendar_modal.modal.show .modal-dialog,
#menu_modal.modal.show .modal-dialog {
    -webkit-transform: translate(0, 0);
    -ms-transform: translate(0, 0);
    -o-transform: translate(0, 0);
    transform: translate(0, 0);
}

@media screen and (width >= 420px) {
    .pop-menu-link {
        font-size: 0.6rem;
    }
}

@media screen and (width < 576px) and (orientation: landscape) {
    #banner-content-wrapper {
        /* padding-top: 10vh;
        margin-left: 35%; */
    }

    .top-text-image {
        /* width: 20%;
        margin-left: 15%;
        margin-bottom: 15px; */
    }

    .main-tooth {
        /* width: 30%; */
    }
}

/* sm */
@media screen and (width >= 576px) {

}

/* md */
@media screen and (width >= 768px) {
    #banner-content-wrapper {
        /* padding-top: 25vh; */
    }

    .swing-tooth-animation-wrapper {
        margin-bottom: -8vh;
    }

    .pop-menu-link {
        font-size: 0.8rem;
    }
}

/* lg */
@media screen and (width >= 992px) {
    #banner-content-wrapper {
        /* padding-top: 30vh; */
    }

    /* .container,
    .container-lg {
        max-width: calc(622.5px + 2rem);
    } */
}

/* xl */
@media screen and (width >= 1200px) {
    .container,
    .container-lg,
    .container-xl {
        max-width: calc(900px + 2rem);
    }

    .google-map-wrapper {
        max-width: 900px;
        margin-left: auto;
        margin-right: auto;
        margin-top: 3rem;
        margin-bottom: 3rem;
    }

    .google-map-wrapper-border {
        aspect-ratio: 16 / 9;
    }

    #banner-content-container {
        width: 20.48%;
        max-width: calc(900px * 0.45);
    }

    #banner-content-wrapper {
        /* padding-top: 20vh;
        margin-left: 35vw; */
    }

    .top-text-image {
        gap: 24%;
        margin-bottom: 13vh;
        padding-left: 19.5%;
        padding-right: 19.5%;
        /* width: 20%;
        margin-left: 15%; */
    }

    .main-tooth {
        /* width: 10vw; */
    }

    .w-xl-10 {
        width: 10% !important;
    }

    .w-xl-20 {
        width: 20% !important;
    }

    .w-xl-25 {
        width: 25% !important;
    }

    .w-xl-15 {
        width: 15% !important;
    }

    .w-xl-65 {
        width: 65% !important;
    }

    .w-xl-50 {
        width: 50% !important;
    }

    .w-xl-55 {
        width: 55% !important;
    }

    .w-xl-60 {
        width: 60% !important;
    }

    .w-xl-auto {
        width: auto !important;
    }

    #sidebar {
        width: 120px;
        min-width: 120px;
        max-width: 120px;
    }

    #sidebar-bg {
        width: 120px;
        /* left: calc(100% - 120px); */
        right: 0;
    }

    #sticky-sidebar {
        padding-top: 6vh;
    }

    #sidebar-items {
        padding-left: 15%;
        padding-right: 15%;
        gap: 34px;
    }

    #parallax,
    .page-template-treatment #parallax,
    #parallax,
    .page-template-hospital #parallax,
    #parallax-2 { 
        width: 100%;
        max-width: calc(100vw - 120px);
    }

    .content-side-margin {
        padding-left: 25%;
        padding-right: 25%;
    }

    .content-side-margin-xl {
        padding-left: 25%;
        padding-right: 25%;
    }

    #menu-2.is-floating {
        border: none;
    }

    #menu-2-items {
        padding-left: 0;
        padding-right: 0;
        padding-top: 7vh;
        padding-bottom: 0;
    }

    #menu-2-items-wrapper {
        border-bottom: solid 1px #0099ff;
        justify-content: center;
        gap: 1vw;
        padding-top: 25px;
        padding-bottom: 25px;
        padding-left: 10%;
        padding-right: 10%;
    }

    #menu-2-items-wrapper .img-fluid {
        height: 3vh;
        width: auto;
    }

    #floating-side-block {
        width: 5.7vw;
        top: 0;
        position: absolute;
        left: 0;
        z-index: 900;
    }

    #pc-content-1-2-man {
        position: absolute;
        right: 0;
        bottom: 0;
        width: 10%;
    }

    #content2-content-wrapper {
        display: flex;
        flex-direction: row-reverse;
        /* padding-left: 25%;
	    padding-right: 25%; */
        gap: 2.7vw;
    }

    #content2-content-wrapper > div {
        flex: 1 1 0px;
        /* margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0; */
    }

    #content1-2-content-wrapper {
        display: flex;
        /* padding-left: 25%;
	    padding-right: 25%; */
        gap: 2.7vw;
    }

    #content1-2-content-wrapper > div {
        flex: 1 1 0px;
    }

    /* #content1-2-content-wrapper .content-side-margin {
        margin-left: 0;
        margin-right: 0;
        padding-left: 0;
        padding-right: 0;
    } */

    .swing-tooth-animation-wrapper {
        margin-bottom: -27vh;
        margin-top: -8vh;
    }

    .swing-tooth-animation {
        width: 28vw;
        margin-right: 11vw;
    }

    .swing-tooth-animation-2 {
        width: 23%;
        margin-right: 0;
        margin-top: 10vh;
    }

    #content2-profile-wrapper {
        /* display: flex;
        gap: 2vw; */
        padding: 0 1vw;
    }

    #content2-profile-wrapper > div {
        /* flex: 1 1 0px; */
    }

    #content2-profile-pc-wrapper {
        display: flex;
        align-items: center;
        position: absolute;
        width: 100%;
        left: 0;
        top: 13%;
        height: 87%;
    }

    #content2-profile-pc-wrapper > div {
        flex: 1 1 0px;
    }

    /* #content2-profile-pc-wrapper #flex-links {
        display: flex;
        gap: 0;
        flex-direction: column;
    } */

    #pc-player-wrapper {
        text-align: right;
        position: relative;
        bottom: 0;
        margin-top: auto;
        max-width: 50%;
        margin-left: auto;
    }

    #content4-content-wrapper {
        display: flex;
        justify-content: space-around;
    }

    #content4-content-wrapper > div {
        flex: 1 1 0px;
    }

    .p-top-spacer {
        padding-top: 13vh;
    }

    .p-top-spacer-2 {
        padding-top: 7.5vh;
    }

    .p-bottom-spacer {
        padding-bottom: 13vh;
    }

    .p-bottom-spacer-2 {
        padding-bottom: 13vh;
    }

    .p-bottom-spacer-3 {
        padding-bottom: 8vh;
    }

    .m-bottom-spacer {
        margin-bottom: 13vh;
    }

    .m-top-spacer {
        margin-top: 13vh;
    }

    .p-bottom-half-spacer {
        padding-bottom: 4.5vh;
    }

    .index-top-spacer {
        padding-bottom: 4.5vh;
    }

    .m-bottom-half-spacer {
        margin-bottom: 7.5vh;
    }

    .m-top-half-spacer {
        margin-top: 7.5vh;
    }

    .p-top-half-spacer {
        padding-top: 7.5vh;
    }

    .p-top-half-spacer-2 {
        padding-top: 6vh;
    }

    .menu-modal-link {
        line-height: 1.5;
        font-size: 1rem;
    }

    .p-bottom-half-spacer-2 {
        padding-bottom: 7vh;
    }

    .p-bottom-half-spacer-3 {
        padding-bottom: 7vh;
    }

    .mb-xl-6 {
        margin-bottom: 4rem !important;
    }

    .mb-xl-6-5 {
        margin-bottom: 6rem !important;
    }

    .mb-xl-7 {
        margin-bottom: 8rem !important;
    }

    #content1-2-content-wrapper.page-2 {
        display: block;
    }

    #content-1-2-menu {
        flex-wrap: nowrap;
    }

    #content-1-3,
    #content-1-5{
        margin-top: -17%;
        margin-bottom: -10%;
    }

    #content-1-8 {
        margin-top: -15%;
        margin-bottom: -20%;   
    }

    #content2-margin-wrapper {
        margin-top: -5%;
        margin-bottom: -20%;
    }

    #content-4-2-margin-wrapper {
        position: relative;
        margin-top: -25%;
        margin-bottom: -35%;  
    }

    #content-1-3-top,
    #content-1-3-bottom,
    #content-1-5-top,
    #content-1-5-bottom,
    #content-1-8-top,
    #content-4-2{
        padding-left: 25%;
        padding-right: 25%;
    }

    #main {
        max-width: calc(100vw - 120px);
    }

    #content-1-3-top {
        margin-bottom: 10rem !important;
    }

    #content-1-3-bottom,
    #content-1-5-bottom,
    #content-1-8-top {
        margin-bottom: 0 !important;
    }

    #spacer-img-1 {
        position: absolute;
        right: 0;
        width: 17%;
        top: 50%;
        transform: translate(0,-50%);
    }

    #spacer-img-2 {
        position: absolute;
        right: 0;
        bottom: 55%;
        width: 17%;
    }

    #spacer-img-3 {
        position: absolute;
        right: 0;
        width: 23%;
        top: 60%;
        transform: translate(0,-50%);
    }

    #spacer-img-4 {
        position: absolute;
        right: 0;
        width: 17%;
        bottom: 0;
    }

    #spacer-img-5 {
        position: absolute;
        right: 0;
        width: 17%;
        top: 50%;
        transform: translate(0,-50%);
    }
/* 
    .new-blue.btn-close {
        width: 2rem;
        height: 2rem;
    } */

    #calendar_modal .modal-content {
        padding-bottom: 4rem;
        border-top-right-radius: 4rem;
        border-bottom-right-radius: 4rem;
    }

    .pop-menu-link {
        font-size: 1rem;
    }

    #content-3-content-wrapper {
        display: flex;
        gap: 2.7vw;
    }

    #content-3-content-wrapper > div {
        flex: 1 1 0px;
    }

    .content-3-content-image-wrapper {
        gap: 1.7vw;
    }

    .content-3-saiyou-button-wrapper {
        padding-left: 25%;
        padding-right: 25%;
        margin-bottom: 15px;
    }

    .order-xl-6 {
        order: 6 !important;
    }

    .order-xl-7 {
        order: 7 !important;
    }

    .order-xl-8 {
        order: 8 !important;
    }

    .order-xl-9 {
        order: 9 !important;
    }

    #footer-title {
        padding-left: 47%;
        padding-right: 47%;
    }

    #footer-spacer {
        margin-bottom: -100px;
    }

    #footer-extra-link {
        padding-left: 0;
    }

    footer .footer-sns-icon {
        max-width: 30px;
    }

    .mb-xl-4-5 {
        margin-bottom: 2.5rem !important;
    }

    #footer-list-menu {
        padding-right: 4%;
        padding-left: 6%;
    }

    #footer-list-menu .menu-block {
        padding-right: 1rem;
        padding-left: 1rem;
    }

    .menu-block .menu-block-sub-menu {
        margin-bottom: 0 !important;
    }

    .page-template-treatment #content2 {
        margin-top: -7%;
    }

    .page-template-treatment #spacer-img-4{
        bottom: 0;
        width: 21%;
    }

    .page-template-treatment #content-4-2-margin-wrapper {
        margin-top: -28%;
    }

    .page-template-treatment #spacer-img-5 {
        width: 21%;
        top: 37%;
    }

    #spacer_2_img_2_custom {
        margin-bottom: -15%;
    }

    #clinic-top-title {
        width: 75%;
    }

    .zeikomi-mark {
        right: 5%;
        top: 50%;
        transform: translate(0, -50%);
        width: auto;
    }

    .button-registration-pc {
        display: block;
    }

    .button-registration-sp {
        display: none;
    }

    .button-parking-pc {
        top: auto;
        transform: none;
        bottom: 0;
        right: 15%;
        width: 13%;
    }

    .hospital-content-header {
        display: block;
    }

    .hospital-content-header#content_clinic_banner {
        transform: none;
        transform: translate(0, -100%);
    }

    .hospital-content-header#content_clinic_banner img {
        display: block;
    }


    .link-wrapper {
        display: flex;
        justify-content: space-between;
    }

    .link-wrapper p {
        margin-bottom: 2rem;
    }

    /* .link-items-wrapper {
        flex: 1 1 0;
    } */

    .spacer_2_img {
        margin-top: 5rem;
        width: 16.875%;
    }

    .spacer_2_img_2 {
        width: 16.875%;
    }

    .spacer_2_img_3 {
        width: 16.875%;
    }

    .form-content-wrapper {
        padding-left: 17.5%;
        padding-right: 17.5%;
    }

    .privacy-wrapper {
        padding-top: 1.5rem;
        padding-bottom: 0.5rem;
        padding-left: 5rem;
        padding-right: 5rem;
        border-left: solid 1px #0093FF;
        border-right: solid 1px #0093FF;
    }

    .contact-form-wrapper-adjustment {
        margin-left: 0;
        margin-right: 0;
    }

    .manSlide {
        width: 14.5%;
    }

    /* cause issue in sp, so only in pc */
    .manSlide.in-view {
        animation-name: manSlideIn;
        animation-duration: 2s;
        animation-delay: 1s;
        animation-fill-mode: forwards;
        animation-iteration-count: 1;
    } 

    .form-content-wrapper input,
    .form-content-wrapper textarea,
    .form-content-wrapper label,
    .form-content-wrapper .form-text {
        font-size: 16px;
    }

    .privacy-wrapper {
        font-size: 16px;
    }
    
    .container#content-clinic-wrapper-container {
        max-width: calc(1446px + 4rem);
    }
    
    .content-clinic-header {
        margin-bottom: 110px;
    }

    .clinic-content-manslide {
        position: absolute;
        bottom: 55px;
        right: 0;
    }

    .content-clinic-header {
        padding-left: 22%;
        padding-right: 22%;
    }

    .swing-tooth-animation.swing-alt {
        width: 17.5%;
    }

    .swing-tooth-animation.swing-alt-2 {
        width: 18%;
    }

    .swing-tooth-animation-wrapper.wrapper-alt {
        margin-bottom: -26vh;
        margin-top: 0vh;
    }

    .swing-tooth-animation-wrapper.wrapper-alt-2 {
        margin-bottom: -26vh;
        margin-top: 0vh;
    }

    .swing-tooth-animation-wrapper.wrapper-alt-3 {
        margin-bottom: -27vh;
        margin-top: -3vh;
    }

    .saiyou-button-new {
        top: 3%;
        left: 15%;
        width: 27%;
    }

    .hospital-contact {
        top: 15.3%;
        left: 3.1%;
        width: 29.5%;
        right: auto;
        bottom: auto;
    }

   .sublink-wrapper .sublink-item a {
        padding-top: 8%;
        padding-bottom: 8%;
    }

    .sublink-wrapper .sublink-item.sublink-item-link a{
        padding-top: 10%;
        padding-bottom: 10%;
    }

    .calendar_tel {
        /* bottom: 14%;
        right: 10%;
        width: 26%; */
        bottom: 9%;
        right: 5%;
        width: 28%;
        height: 5%;
    }

}

/* xxl */
@media screen and (width >= 1400px) {

    .container,
    .container-lg,
    .container-xl {
        max-width: calc(900px + 4rem);
    }

    .google-map-wrapper {
        max-width: 900px;
    }

    #banner-content-container {
        max-width: calc(900px * 0.45);
    }
    
    #content2-profile-pc-wrapper #flex-links {
        /* gap: 0.3vh; */
    }

    #link_left_one {
        top: 9%;
    }

    #link_left_two {
        top: 18.2%;
    }

    #link_left_three {
        top: 26.8%;
    }

    #link_left_four {
        top: 32.9%;
    }

    #link_left_five {
        top: 38.6%;
    }

    #link_top_right {
        top: 8.4%;
    }
    
    #footer-list-menu .menu-block {
        padding-right: 2.5rem;
        padding-left: 2.5rem;
    }

    #footer-title {
        padding-left: 48%;
        padding-right: 48%;
    }

    #footer-spacer {
        margin-bottom: -150px;
    }

    .zeikomi-mark {
        right: 10%;
    }

    .top-adjustment-1 {
        padding-left: 39px;
        padding-right: 39px;
    }

    .top-adjustment-2 {
        padding-left: 67px !important;
        padding-right: 67px !important;
    }

    .top-adjustment-3 {
        padding-left: 142.5px !important;
        padding-right: 142.5px !important;
    }

    .top-adjustment-4 {
        padding-left: 107px;
        padding-right: 60px;
    }

    .top-adjustment-5 {
        padding-left: 68px;
        padding-right: 68px;
    }

    .top-adjustment-6 {
        padding-left: 118px;
        padding-right: 118px;
    }

    .top-adjustment-7 {
        padding-left: 40px;
        padding-right: 40px;
    }

    .top-adjustment-8 {
        padding-left: 80px;
        padding-right: 80px;
    }

    .top-adjustment-9 {
        padding-left: 160px;
        padding-right: 160px;
    }

    .swing-tooth-animation-wrapper.wrapper-alt-2 {
        margin-bottom: -27vh;
        margin-top: -3vh;
    }
}

/* 2160 */
@media screen and (width >= 2000px) {
    .container,
    .container-lg,
    .container-xl {
        max-width: calc(1020px + 4rem);
    }

    .google-map-wrapper {
        max-width: 1020px;
        margin-left: auto;
        margin-right: auto;
    }

    #banner-content-container {
        width: 20.48%;
        max-width: calc(1020px * 0.45);
    }
}

/* 2560 */
@media screen and (width >= 2400px) {
    .container,
    .container-lg,
    .container-xl {
        max-width: calc(1220px + 4rem);
    }

    .google-map-wrapper {
        max-width: 1220px;
    }

    #banner-content-container {
        max-width: calc(1220px * 0.45);
    }
}

@media screen and (width >= 2400px) and (min-aspect-ratio: 21/9) {
    #banner-content-container {
        max-width: calc(1020px * 0.45);
    }
}


/* 3440 */
@media screen and (width >= 3000px) {
    .container,
    .container-lg,
    .container-xl {
        max-width: calc(1660px + 4rem);
    }

    .google-map-wrapper {
        max-width: 1660px;
    }

    #banner-content-container {
        max-width: calc(1660px * 0.45);
    }
}

@media screen and (width >= 3000px) and (min-aspect-ratio: 21/9) {
    #banner-content-container {
        max-width: calc(1220px * 0.45);
    }
}