@charset "utf-8";
/*
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
トラステック標準WEBサイト PHP + BootStrap
宮川動物病院　カスタム対応
	ver.2025.07.09.miyagawa-ah.com
	ページヘッダー　スタイルシート
────────────────────────────────────────
FileName:		/resources/css/common-header.css
Editor:			TRUSTEC
Description:	ページヘッダー　スタイルシート。
────────────────────────────────────────
2025/05/30:		サンプル開発開始。
────────────────────────────────────────
背景色:					#fbfbfb	rgba(251,251,251,1)
本文文字色:				#0d0d0d	rgba(13,13,13,1)
ハイライトカラー:			#5e8c51 rgba(94,140,81,1)
サブカラー：				#529ad9 rgba(82,154,217,1)

フォント
	社名1:				noto-sans-cjk-jp, sans-serif
	社名2:				ta-kakugo-gf-02, sans-serif
	社名3:				logo-arl-std, sans-serif
	本文:				noto-sans-cjk-jp, sans-serif
	標準サイズ:			18px
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
*/





/* ::::: [CUSTOM PROPERTIES] ::::: */
:root {

	/* Sticky
	--------- --------- --------- ------- */
	--sticky-border: solid 1px rgba(0, 0, 0, 0.05);
	--sticky-transition: 0.3s;

	/* Header
	--------- --------- --------- ------- */
	--header-background-color: var(--common-background-color);
	--header-color: var(--common-color);
	--header-font-size: 17px;
	--header-font-family: var(--common-font-family-suns);
	--header-font-weight: var(--common-font-weight);
	--header-font-style: var(--common-font-style);
	--header-line-height: var(--common-line-height);
	--header-letter-spacing: var(--common-letter-spacing);

	/* Dialog
	--------- --------- --------- ------- */
	--modal-dialog-background-color: var(--header-background-color);
	--modal-dialog-color: var(--header-color);
}





/* Sticky Page Top
--------- --------- --------- ------- */
#sticky-page-top {
	border-bottom: var(--sticky-border);
	border-bottom-color: transparent;
	position: fixed;
	width: 100vw;
}

#sticky-page-top .sticky-page-top-transition {
	transition: var(--sticky-transition);
}




/* ::::: [HEADER] ::::: */

/* Header Setting
--------- --------- --------- ------- */
header {
	font-size: var(--header-font-size);
	font-family: var(--header-font-family);
	font-weight: var(--header-font-weight);
	font-style: var(--header-font-style);
	line-height: var(--header-line-height);
	letter-spacing: var(--header-letter-spacing);
}
.navbar {
    padding-top: 0.3rem;
    padding-bottom: 0.3rem;
}
.navbar-container{
    justify-content: space-between !important;
    flex-direction: column !important;
    align-items: normal !important;
}
@media (max-width: 991px) {
	.navbar {
		padding-top: 0.5rem;
		padding-bottom: 0.5rem;
	}
}
/* Page Header
--------- --------- --------- ------- */
#page-header {
    background-color: rgb(255 255 255 / 95%);
	box-shadow: 0px 2px 9px -5px #777777;
}

#page-header .navbar.navbar-expand-md {
}

/* Page Header's Brand Logo
--------- --------- --------- ------- */
#page-header .navbar-brand {
	color: var(--header-color);
    font-size: max(1.15rem, 1.3vw);
    display: block;
    height: 100%;
    padding-top: 0;
    padding-bottom: 0;
	padding-right: .5rem;
	padding-left: .5rem;
    margin-right: 0.2em;
	margin-left: max(0.5em, 1vw);
    width: fit-content;
    height: fit-content;
}
#page-header .navbar-brand img {
	height: 2.2em;
}

#page-header .navbar-brand-wrapper{
    height: 100%;
    display: flex;
    align-items: center;
	margin-bottom: 0;
}
@media (max-width: 991px) {
	#page-header .navbar-brand-wrapper{
		margin-top: 0;
	}
}

#page-header .navbar-toggler-wrapper{
    margin-right: max(0.5em, 1vw);
	display: flex;
	justify-content: end;
}


#navbar-headerMenu a{
	color: var(--header-color);
    display: block;
	font-weight: 700;
	font-size: max(0.75rem, 0.85vw);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
	transition: .3s;
    flex: 10;
    padding-top: 0;
    padding-bottom: 0;
	color: #333333;
}
#navbar-headerMenu a:hover{
	transition: .3s;
}
#navbar-headerMenu .now_page{
	color: #333333;
}
#navbar-headerMenu a .menu-icon{
    height: 2.2em;
    width: auto;
    margin-bottom: .3em;
    filter: brightness(1);
	transition: .3s;
}
#navbar-headerMenu .now_page .menu-icon{
	filter: brightness(.5);
}
@media screen and (max-width: 1000px) {
	#navbar-headerMenu .menu-icon:active{
		filter: brightness(.5);
	}
}

 /*PCの時は:hover*/
@media screen and (min-width: 1001px) {
	#navbar-headerMenu a:hover .menu-icon {
		transition: .3s;
		filter: brightness(.5);
	}
}

#navbar-headerMenu a span{
    height: 1.5em;
    flex: 10;
}
.nav-item .telp {
    display: flex !important;
    flex-direction: row;
    align-items: center;
    font-size: max(1.2em, 1.12vw) !important;
    font-weight: 700 !important;
    letter-spacing: 0.1em !important;
    padding-bottom: 0;
    margin-bottom: 0;
	color: #333;
}
.nav-item .telp .telp-icon {
	width: 1em;
    height: 1em;
    margin-right: .4em;
}

.nav-item .business-hours{
	font-size: max(0.7em, 0.6vw) !important;
	font-weight: 400;
	letter-spacing: var(--common-letter-spacing);
    margin-top: 0.3em;
	color: var(--header-color);
    text-align: justify;
    line-height: 1.4em;
}

.nav-item .contact {
    background-color: #6a9e5e;
    color: #ffffff !important;
    border-radius: 0.5em;
	padding: 0.85em 1em !important;
}
.nav-item .telp-link{
	display: flex;
	align-items: flex-start !important;
	justify-content: center !important;
	margin-left: .5em;
}


.menu-list-1 {

}
.menu-list-2 {
	font-size: var(--common-font-size-smaller);
}

@media (min-width: 992px) {
	#navbar-headerMenu{
        display: flex !important;
        flex-basis: auto;
        align-items: center;
        padding-right: 0 !important;
        height: 5em;
	}
	#page-header .navbar-nav {
        display: flex;
        flex-direction: row;
        padding-left: 0;
        padding-bottom: 0;
        margin-bottom: 0;
		margin-right: max(0.5em, 1vw);
        list-style: none;
        align-items: center;
        height: 100%;
		font-size: max(0.8rem, 0.95vw);
	}
	.nav-item{
		display: flex;
		align-items: center;
        padding-bottom: 0;
		position: relative;
		margin: 0 0.5rem;
	}
	.navbar-expand-lg .navbar-nav .nav-link{
        padding-right: .4em;
        padding-left: .4em;
	}

}

/* Page Header's Toggle Button
--------- --------- --------- ------- */
.toggle_btn {
  display: block;
  position: fixed;
  top: 1rem;
  right: 6vw;
  width: 40px;
  height: 35px;
  transition: all .5s;
  cursor: pointer;
  z-index: 3;
}
.toggle_btn span {
  display: block;
  position: absolute;
  left: 0;
  width: 40px;
  height: 2px;
  background-color: #333;
  border-radius: 4px;
  transition: all .5s;
}
.toggle_btn span:nth-child(1) {
  top: 4px;
}
.toggle_btn span:nth-child(2) {
  top: 15px;
}
.toggle_btn span:nth-child(3) {
  bottom: 4px;
}
.open .toggle_btn span {
  background-color: #fff;
}
.open .toggle_btn span:nth-child(1) {
  -webkit-transform: translateY(10px) rotate(-315deg);
  transform: translateY(10px) rotate(-315deg);
}
.open .toggle_btn span:nth-child(2) {
  opacity: 0;
}
.open .toggle_btn span:nth-child(3) {
  -webkit-transform: translateY(-10px) rotate(315deg);
  transform: translateY(-10px) rotate(315deg);
}

	navbarが閉じている場合のアイコン
#page-header .navbar-toggler .navbar-toggler-icon::before {
}
	navbarが開いている場合のアイコン
#page-header .navbar-toggler[aria-expanded="true"] .navbar-toggler-icon::before {
}


#page-header .navbar-toggler:active,
#page-header .navbar-toggler:focus {
	box-shadow: none;
}




/* ::::: [NAVBAR-MODAL-MENU] ::::: */

/* Setting
--------- --------- --------- ------- */
#navbar-modal-menu {
	font-size: var(--header-font-size);
}

/*
--------- --------- --------- ------- */
#navbar-modal-menu-dialog {
	--modal-header-background-color: var(--modal-dialog-background-color);
	--modal-header-color: var(--modal-dialog-color);
	--modal-footer-background-color: var(--modal-dialog-background-color);
	--modal-footer-button-background-color: var(--modal-dialog-color);
	--modal-footer-button-color: var(--modal-dialog-background-color);
}

/* Dialog Header
--------- --------- --------- ------- */
#navbar-modal-menu-dialog {
    background: #ffffff;
	height: 100%;
    margin: 0;
    margin-left: auto;
}

.modal-header{
    background: #ffffff;
	margin-right: 2.5vw;
    padding-top: 1.5rem;
	border: none;
}
.modal.fade .modal-dialog{transform: none !important;
/*	transition: transform 0.3s ease-out;
	transform: translateX(50px) !important;
	transform: translateY(-50px);*/
}
.modal.show .modal-dialog{
	/*transform: translateX(0) !important;*/
}


.btn-close {
	color: var(--modal-header-color);
	margin: 0;
    margin-top: 1rem;
	padding-top: 0.5rem;
	padding-bottom: 0.5rem;
	opacity: 1;
    width: 40px;
    height: 35px;
}
#navbar-modal-menu .btn-close:active {
}
#navbar-modal-menu .btn-close:hover,
#navbar-modal-menu .btn-close:focus {
	box-shadow: none;
}

/* Dialog Body
--------- --------- --------- ------- */
#navbar-modal-menu-dialog .modal-body {
    background: #ffffff;
}
/*	List Menu	*/
#navbar-modal-menu-dialog .modal-body .list-modal-menu,
.list-modal-menu {
	list-style: none;
	margin: 0;
	padding: 0;
	font-size: var(--common-font-size-smaller);
    line-height: var(--common-line-height);
	letter-spacing: 0.1em;
}

.list-modal-menu .list-item {
	margin: 0;
	padding: 0.5em 0;
}
.list-modal-menu .list-item:not(:last-child) {
	border-bottom: solid 1px rgba(0, 0, 0, 0.1);
}

.list-modal-menu .list-item a {
	color: var(--header-color);
	text-align: start;
	padding: 0.5em 1em;
	display: block;
	font-weight: 500;
}


#navbar-modal-menu-dialog .modal-footer {
    background: #ffffff;
	justify-content: center;
}
.modal-dialog-scrollable .modal-content{
	border: none;
}
