@charset "UTF-8";

/*------------------------------------------------------------ */
/* サイト全体のコンポーネントを定義
-------------------------------------------------------------- */
/************************************************
 * デスクトップナビゲーション
 ************************************************/
 
#header nav {
	display: flex;
	justify-content: flex-end;
	gap: 30px; 
 }
 
@media only screen and (max-width: 768px) {
	#header nav {
	display: none;
	}
}
 
.desktop-nav {
    --hover-color: var(--primary);
}

#header.stick .desktop-nav li a,
.desktop-nav li a {
    font-weight: bold;
}

#header.stick .desktop-nav li a::before,
.desktop-nav li a::before {
    border: none;
}

#header.stick .desktop-nav li.current-menu-item a,
.desktop-nav li.current-menu-item a,
#header.stick .desktop-nav li a:hover,
.desktop-nav li a:hover,
#header.stick .desktop-nav li a:focus,
.desktop-nav li a:focus {
    color: var(--hover-color);
}

li.menu-item a {
    color: var(--primary)!important;
}
li.menu-item a:hover {
    color: var(--anchor-color)!important;
}

/************************************************
 * レイアウト
 ************************************************/
#wrapper {
    margin-top: 0px;
}

/************************************************
 * ヘッダー
 ************************************************/
#header {
    transition: .3s cubic-bezier(.4, 0, .2, 1);
    position: fixed;
    top: 0;
    left: 0;
	right: 0;
    z-index: 999;
	margin: auto;
    width: var(--header-inner-width);
	height: 100px;
    padding: 0 0 0 30px;
    background: var(--bg-color);
    border-radius: 0 0 30px 30px;
    box-shadow: 5px 0px 10px 3px rgba(0, 0, 0, 0.2);
	display: flex;
	justify-content: space-between;
}

@media only screen and (max-width: 768px) {
	#header {
    width: 100%;
    border-radius: 0;
	height: 70px;
	padding: 0 0 0 20px;
	}
}

#header .logo {
    width: 20%;
}

.logo img {
    max-width: 100%;
	width: 250px;
}

.header-inner {
    margin: 0 auto;
    width: 100%;
	height: 100%;
	display: flex;
	justify-content: space-between;
	align-items: stretch;
}

.toggle {
    width: 60px;
    height: 60px;
    position: absolute;
    top: 5px;
    right: 5px;
}

.head-tel {
     background: var(--primary);
	 min-width: 18em;
	white-space: nowrap;
	 border-radius: 0 0 30px 0;
	 display: flex;
	 align-items: center;
	 justify-content: center;
}
.head-tel p {
	display: inline-block;
	text-align: center!important;
	 color: #FFF;
	 padding: 0!important;
	 margin: auto!important;
}
.head-tel a {
	text-align: center!important;
	 color: #FFF;
}
.head-tel a {
	text-align: center!important;
	 color: #FFF;
	font-size: 1.4em;
}
.head-tel a::before {
    content: '\f095';
	display: inline-block;
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", sans-serif;
    margin: auto 0;
    font-size: 1em;
    font-weight: bold;
	width: 2em;
	height: 2em;
	transform: rotateY(180deg);
}

@media only screen and (max-width: 768px) {
	#header .logo {
    width: 60%;
	}
	.head-tel {
	width: 100%;
	border-radius: 0;
	padding: 10px;
	}
}


/************************************************
 * フッター
 ************************************************/
footer {
     background: var(--primary)!important;
	 color: #FFF!important;
 }
 
footer h3, footer h4, footer h5 {
	margin: 5px 0!important;
}

footer h3 {
	font-size:1.5rem!important;
}

footer h4 {
	font-size:1rem!important;
}

footer h5 {
	font-size:0.9rem!important;
}

footer a {
	 color: #FFF!important;
}
 
.footer-body {
    padding: 30px 0 0 0;
}

footer ul {
    display: block;
}

footer #menu-footermenu {
display: flex!important;
}

footer #menu-footermenu li a {
	color: #FFF!important;
}

footer #menu-footermenu li a:hover::before {
	border-color:#FFF;
}

footer #copyright {
     background: var(--primary)!important;
	 color: #FFF!important;
	 text-align: center!important;
	margin: 0 auto;
}

footer .wp-block-list {
	margin: 0!important;
}

footer .wp-block-list li {
	display: inline-block;
}

@media only screen and (max-width: 768px) {
footer #menu-footermenu {
	display: none!important;
}
footer .wp-block-list li {
	display: block;
	margin: 0;
}
}

/************************************************
 * モバイルナビゲーション
 ************************************************/
.mobile-nav {
    width: 80vw;
    left: -80vw;
}

/************************************************
 * hero headers
 ************************************************/
.hero-header {
	width: 85%!important;
	margin: 0 0 40px auto!important;
	border-radius: 0 0 0 40px;
	padding: 0;
	display: block;
	position: relative;
}

.hero-copy {
	display: inline-block;
	font-size: 1.8rem;
	color: #17368F;
	line-height: 1.8;
	font-weight: 900;
	background-color: rgba(255,255,255,0.8);
	padding: 1em;
	max-width: 95%;
	margin:140px auto auto 0;
}

.wp-block-column {
	padding: 0;
}

.hero-header .page-header-container {
    width: 100%;
    height: 100%;
}

.page-header-contents {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: inherit;
    z-index: 9;
    background: rgba(0, 0, 0, 0)!important;
}

@media only screen and (max-width: 768px) {
	.hero-header  {
	width: 100%!important;
	border-radius: 0;
	}
.hero-copy {
	font-size: 1.5rem;
	margin:100px auto auto 0;
}
}


/************************************************
 * ページタイトル
 ************************************************/
.page-header .page-header-contents .container {
    width: var(--header-inner-width);
	display: block;
}

.page-title {
    background: transparent!important;
    color: var(--primary);
}

@media only screen and (max-width: 768px) {
.page-title {
}
}


/************************************************
 * single page
 ************************************************/
.single-php .post {
    background: var(--base);
    border-radius: var(--radius);
    padding: var(--lg);
}

@media only screen and (max-width: 576px) {
    .single-php .post {
        padding: var(--md);
    }
}

/************************************************
 * 最新の投稿
 ************************************************/

.post-header .date-label {
    padding-right: 0;
    margin-right: 0;
    border-right:0;
}

.post {
margin-bottom: 2em;
}

  /*リスト表示*/
.post-style-list {}

.post-style-list.topinfo {
	margin: auto;
	max-width: 90%;
}

.post-style-list li {
    position: relative;
    display: grid;
	grid-template-columns: 8em auto;
    padding: 0;
    padding-right: 5em;
    padding-left: 1em;
    border: 0!important;
    align-items: center;
	background-color: #EBF0FF;
	border-radius: 100px;
	margin-bottom: 10px;
	color: var(--primary);
}

.post-style-list li::before {
    position: absolute;
    top: 0;
	bottom:0;
    right: 2em;
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", sans-serif;
    margin: auto;
    font-size: 1em;
    content: '\f061';
    font-weight: bold;
    color: var(--secondary);
	display:flex;
	align-items:center;
	justify-content:center;
	width:2em;
	height:2em;
	border-radius:50%;
	background:var(--primary);
	line-height:1;
}

.post-style-list li > a {
	display: block;
	height: 100%;
	max-width: 95%;
	padding: var(--sm) 0;
}

.post-style-list li > a > time {
	padding: 0!important;
	margin: 0!important;
}

@media only screen and (max-width: 768px) {
	.post-style-list li {
    padding-right: 4em;
	}
	.post-style-list li::before {
	right: 1em;
	}
	.post-style-list li > a {
	display: block!important;
	}
}

.post-style-list li:first-child {
    border-top: var(--bd-width) dotted var(--gray);
}

.post-style-list li .wp-block-latest-posts__featured-image {
    float: left;
}

.post-style-list li .wp-block-latest-posts__featured-image img {
    border-radius: calc(var(--radius) * 2);
}

.post-style-list li time {
    width: 10em;
    order: 1;
    padding-left: var(--sm);
}

.post-style-list li a {
    display: block;
    order: 2;
    padding-left: var(--sm);
}


h5.oshirase {
	position: relative;
	display: inline-block;
	text-align: right;
	width: 100%;
}
.wp-block-buttons {
	margin-top:30px;
}
.wp-block-buttons.right {
	text-align:right;
}

.btn-arrow {
	display: block;
	margin:auto;
}

.btn-arrow.right {
	text-align:right;
}

.btn-arrow a {
	display: inline-block;
	margin:auto;
	position: relative;
	padding-right: 100px;
	padding-left: 0;
	background-color: transparent;
	border-radius: 0;
}

.btn-arrow a::before {
	content: "";
	display: block;
	width: 92px;
	height: 2px;
	background-color: #17378e;
	position: absolute;
	right: 0;
	top: calc(50% - 1px);
}

.btn-arrow a::after {
	content: "";
	position: absolute;
	top: calc(50% - 1px);
	right: 0;
	bottom: 0;
	width: 17px;
	height: 2px;
	background-color: #17378e;
	transform: rotate(45deg);
	transform-origin: calc(100% - 1px) 50%;
}

.post-style-card li {
    display: flex;
    flex-wrap: wrap;
    padding-bottom: var(--sm);
}

.post-style-card li .wp-block-latest-posts__featured-image {
    border-radius: 0;
}

.post-style-card li a,
.post-style-card li time {
    padding-left: var(--md);
    padding-right: var(--md);
}

/************************************************
 * card
 ************************************************/
.post-style-card li,
.card {
    border-radius: calc(var(--radius) * 2);
    overflow: hidden;
    background: var(--bg-color);
}

.card-img {
    overflow: hidden;
    border-radius: calc(var(--radius) * 2);
}

.card .card-contents {
    padding: var(--md);
}

/************************************************
 * FAQ
 ************************************************/
.faq-contents .answer {
    color: var(--font);
}

	/* 予約について */
	.appointment {
     background: var(--secondary);
	 padding: 30px;
	 border-radius: 30px;
	}

.tel a {
	text-align: center!important;
	font-size: 1.4em;
}
.tel a::before {
    content: '\f095';
	display: inline-block;
    font-family: "Font Awesome 5 Free", "Font Awesome 5 Brands", sans-serif;
    margin: auto 0;
    font-size: 0.8em;
    font-weight: bold;
	width: 2em;
	height: 2em;
	transform: rotateY(180deg);
}

h4 {
	margin-top:0!important;
}
h2 {
	margin-top:0!important;
}

/************************************************
 * iframe
 ************************************************/
.aspect-16-9 {
    --aspect-width: 16;
    --aspect-height: 9;
}

.aspect-4-3 {
    --aspect-width: 4;
    --aspect-height: 3;
}

.iframe-wrap {
    aspect-ratio: 4 / 3;
}

.iframe-wrap iframe {
    width: 100%;
    height: 100%;
}
