/*
  main.css
  - parts.css + layout.css を統合（内容ベースは維持）
  - 追記ブロックでBEM移行
*/

@charset "utf-8";

.wp-block-list ul,
.wp-block-list ul li {
  list-style: disc;
  margin: 0 2rem;
}

.olの親のクラス名 ol,
.olの親のクラス名 ol li {
  list-style: decimal;
  margin: 0 2rem;
}

.wp-block-quote {
  background: #f8f8f8;
  text-align: justify;
  margin: 3.4rem 0 0 0;
  padding: 4rem;
}

.wp-block-quote > cite {
  font-size: 1.4rem;
  line-height: 2.2857142857;
  display: block;
  text-align: right;
	margin: 5.5rem 0 0 0;
}
:root {
	--primary-color: #82BB38;
	--secondary-color: #eee;
	--accent-color: #FF112D;
	--white-color: #fff;
	--black-color: #111;
	--gray-color: #333;
	--primary-font-family: "Noto Sans JP", sans-serif;
	--secondary-font-family: "Bookman Old Style", "Noto Serif JP", serif;
}

#js-splash {
	position: fixed;
	width: 100%;
	height: 100%;
	background: var(--black-color);
	z-index: 9999999;
	text-align:center;
	color:var(--white-color);
}

#js-splash-logo {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
}

.splashbg{
	display: none;
}

body.appear .splashbg{
    display: block;
    content: "";
    position:fixed;
	z-index: 9999;
    width: 100%;
    height: 100vh;
    top: 0;
	left: 0;
    transform: scaleX(0);
    background-color: #82BB38;
	animation-name:PageAnime;
	animation-duration:.8s;
	animation-timing-function:ease-in-out;
	animation-fill-mode:forwards;
}

@keyframes PageAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

#container{
	opacity: 0;
}

body.appear #container{
	animation-name:PageAnimeAppear;
	animation-duration:1s;
	animation-delay: 0.8s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes PageAnimeAppear{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

.btn-top-box {
  display: block;
  padding: 2px;
  padding: 0.125rem;
  border-radius: 0.5rem;
  padding: 2px;
  padding: 0.125rem;
  margin: 2rem auto 0;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  width: min(100%, 180px);
  width: min(100%, 11.25rem);
}
@media screen and (min-width: 768px) {
  .btn-top-box {
    font-size: 1.125rem;
    width: min(100%, 15.625rem);
  }
}

.btn-top-box:hover {
  -webkit-transform: scale(1.1);
          transform: scale(1.1);
}

.btn-box--gold {
  background-image: linear-gradient(135deg, #704308 0%, #ffce08 37%, #fefeb2 47%, #fafad6 50%, #fefeb2 53%, #e1ce08 63%, #704308 100%);
}

@media (any-hover: hover) {
  .btn-box--gold:hover .btn,
  .btn-box--gold:hover .btn-top {
    text-shadow: 0 0 0.9375rem rgba(250, 250, 214, .5), 0 0 0.9375rem rgba(250, 250, 214, .5), 0 0 0.9375rem rgba(250, 250, 214, .5), 0 0 0.9375rem rgba(250, 250, 214, .5);
  }
}

.btn-box--gold span {
  background: -webkit-gradient(linear, left bottom, left top, from(#ffffdb), to(#a16422));
  background: linear-gradient(to top, #ffffdb, #a16422);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.btn-top {
  font-weight: 700;
  position: relative;
  display: block;
  width: inherit;
  padding: 5px 8px 6px;
  padding: 0.3125rem 0.5rem 0.375rem;
  -webkit-transition: 0.3s;
  transition: 0.3s;
  text-align: center;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
  font-family: var(--secondary-font-family);
  background: var(--black-color);
  font-size: 18px;
}
@media screen and (min-width: 768px) {
  .btn-top {
    font-size: 1.125rem;
    width: min(100%, 15.625rem);
    padding: 0.875rem 1rem 1rem;
  }
}

nav ul{
	list-style: none;
	display: flex;
	justify-content: center;
}

nav ul ul{
	display: block;
}

nav ul li{
	position: relative;
}

nav ul li a{
	display: block;
	text-decoration: none;
	color: var(--secondary-color);
	padding:20px 35px;
	transition:all .3s;
}

nav ul li li a{
	padding:10px 16px;
  white-space: nowrap;
}

@media screen and (max-width:1200px) {
nav ul li a{
	padding:20px;
}
nav ul li li a{
	padding:10px;
}
}

nav ul li a:hover{
	color:var(--white-color);	
}

nav ul li.has-child::before{
	content:'';
	position: absolute;
	left:15px;
	top:30px;
	width:6px;
	height:6px;
	border-top: 2px solid var(--secondary-color);
    border-right:2px solid var(--secondary-color);
    transform: rotate(135deg);
}

@media screen and (max-width:1200px) {
nav ul li.has-child::before{
    left:0;
}
}

nav li.has-child ul{
	position: absolute;
	left:0;
	top:62px;
	z-index: 4;
	background:rgba(51, 51, 51, 0.9);
	width:180px;
	visibility: hidden;
	opacity: 0;
	transition: all .3s;
}

nav li.has-child:hover > ul,
nav li.has-child ul li:hover > ul,
nav li.has-child:active > ul,
nav li.has-child ul li:active > ul{
  visibility: visible;
  opacity: 1;
}

nav li.has-child ul li a{
	color: var(--white-color);
	border-bottom:solid 1px rgba(255,255,255,0.4);
}

nav li.has-child ul li:last-child a{
	border-bottom:none;
}

nav li.has-child ul li a:hover,
nav li.has-child ul li a:active{
	background:rgba(255,255,255,0.2);
}

@media screen and (max-width:960px){
	nav{
		padding: 0;
	}
	
	nav ul{
		display: block;
	}
	
nav ul li a{
	border-bottom:1px solid #ccc;
}

nav ul li.has-child::before{
	left:20px;	
}

nav ul ul li.has-child::before{
    transform: rotate(135deg);
	left:20px;
}
    
nav ul li.has-child.active::before{
    transform: rotate(-45deg);
}
}

#header{
	position: fixed;
	height: 70px;
	width:100%;
  z-index: 999;
	display: flex;
	justify-content: space-between;
	align-items: center;
	text-align: center;
	padding: 20px 0 20px 0;
  background: transparent;
}

#header.scrolled {
  background-color: rgba(17,17,17,0.8)!important;
}

#header.UpMove,
#header.DownMove {
  animation: none !important;
}

#header.UpMove{
	position: fixed;
	width:100%;
	animation: UpAnime 0.5s forwards;
}

@keyframes UpAnime{
  from {
    opacity: 1;
	transform: translateY(0);
  }
  to {
    opacity: 0;
	transform: translateY(-100px);
  }
}

#header.DownMove{
	position: fixed;
	width:100%;
	animation: DownAnime 0.5s forwards;
}
@keyframes DownAnime{
  from {
  	opacity: 0;
	transform: translateY(-100px);
  }
  to {
  	opacity: 1;
	transform: translateY(0);
  }
}

@media screen and (max-width:960px) {
#header,
#header.UpMove,
#header.DownMove{
    animation:none;
	height: auto;
    padding: 0;
    display: block;
}
}

@media screen and (max-width:960px) {
#g-nav{
  position:fixed;
  z-index: 999;
	top:-120%;
  left:0;
	width:100%;
  height: 100vh;
	background:rgba(0,0,0,0.8);
	transition: all 0.6s;
}
#g-nav.panelactive{
    top: 0;
}

#g-nav.panelactive #g-nav-list{
    position: fixed;
    z-index: 999; 
    width: 100%;
    height: 100vh;
    overflow: auto;
    -webkit-overflow-scrolling: touch;
}

#g-nav ul {
    width: 90%;
    margin:100px auto 0 auto;
}
    
#g-nav ul ul{
    width: 100%;
    margin: 0;
}
 
#g-nav ul li.has-child ul{
  position: relative;
	left:0;
	top:0;
	width:100%;
	visibility:visible;
	opacity:1;
	display: none;
	transition:none;
  transform: none;
}

#g-nav li{
	list-style: none;
  text-align: center; 
}

#g-nav li a{
	color: var(--white-color);
	text-decoration: none;
	padding:10px;
	display: block;
	text-transform: uppercase;
	letter-spacing: 0.1em;
	font-weight: bold;
}
}
#g-nav .reserve-link {
  color: var(--black-color);
    background-image: linear-gradient(135deg, #8c6d1f 0%, #d4af37 40%, #f5e1a4 60%, #d4af37 100%);
  }


@media screen and (min-width:768px) {
#g-nav .reserve-link {
color: var(--black-color);
background-image: none; 
background-color: var(--white-color);  
}
}

.banner {
  margin: 3rem auto 0;
  max-width: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1rem 1.5rem;
  background-color: var(--white-color);
  color: var(--black-color);
}

.banner-logo img {
  height: 40px;
  width: auto;
  display: block;
}

.banner-text {
  flex: 0; 
  text-align: left;
  font-family: var(--secondary-font-family);
}

.banner-text .highlight {
  font-weight: bold;
  white-space: nowrap;
  line-height: 1;
}

@media screen and (min-width:961px) {
  .header-banner {
    display: none;
  }
}


.g-nav-openbtn{
    display: none;
}
 
@media screen and (max-width:960px) {
.g-nav-openbtn{
    display: block;
	position:fixed;
    z-index: 9999;
	top:10px;
	right: 20px;
	cursor: pointer;
    width: 50px;
    height:50px;
}

.g-nav-openbtn .openbtn-area{
    transition: all .4s;
}

.g-nav-openbtn span{
    display: inline-block;
    transition: all .4s;
    position: absolute;
    left: 14px;
    height: 3px;
    border-radius: 2px;
	background: var(--white-color);
  	width: 45%;
  }

.g-nav-openbtn span:nth-of-type(1) {
	top:15px;	
}

.g-nav-openbtn span:nth-of-type(2) {
	top:23px;
}

.g-nav-openbtn span:nth-of-type(3) {
	top:31px;
}

.g-nav-openbtn.active .openbtn-area{
	transform: rotateY(-360deg);
}

.g-nav-openbtn.active span:nth-of-type(1) {
    top: 18px;
    left: 18px;
    transform: translateY(6px) rotate(-135deg);
    width: 30%;
}

.g-nav-openbtn.active span:nth-of-type(2) {
	opacity: 0;
}

.g-nav-openbtn.active span:nth-of-type(3){
    top: 30px;
    left: 18px;
    transform: translateY(-6px) rotate(135deg);
    width: 30%;
}
}

.nav01c li a{
	position: relative;
}

.nav01c li.current a,
.nav01c li a:hover{
	color:var(--secondary-color);
}

.nav01c li a::after {
    content: '';
    position: absolute;
    bottom: 16px;
    left: 25%;
    width: 50%;
    height: 1px;
    background:var(--secondary-color);
    transition: all .3s;
    transform: scale(0, 1);
    transform-origin: left top;
}

#g-nav .reserve-link:hover:after {
  transform: scale(1.03);
}

@media screen and (min-width:768px) {

#g-nav .reserve-link:hover:after {
  background: var(--black-color);
}
}

.nav01c li li a::after {
    display: none;
}

.nav01c li.current a::after,
.nav01c li a:hover::after {
    transform: scale(1, 1);
}
@media screen and (max-width:960px) {
.nav01c li a::after {
    display: none;
}  
}

.scrolldown1{
	position:absolute;
	right:40px;
	bottom:3%;
	height:50px;
  width: 10px;
}

.scrolldown1 span{
	position: absolute;
	left:-15px;
	top: -15px;
	color: var(--secondary-color);
	font-size: 0.7rem;
	letter-spacing: 0.05em;
  line-height: 1;
}

.scrolldown1::after{
	content: "";
	position: absolute;
	top: 0;
  left: 50%;
  transform: translateX(-50%);
	width: 1px;
	height: 30px;
	background: var(--secondary-color);
	animation: pathmove 1.4s ease-in-out infinite;
	opacity:0;
}

@keyframes pathmove{
	0%{
		height:0;
		top:0;
		opacity: 0;
	}
	30%{
		height:30px;
		opacity: 1;
	}
	100%{
		height:0;
		top:50px;
		opacity: 0;
	}
}

.btnlinestretches2{
	position:relative;
	color:var(--secondary-color);
    padding:5px 40px;
	display:inline-block;
    text-decoration: none;
    outline: none;
    font-family: var(--secondary-font-family);
}

.btnlinestretches2::before,
.btnlinestretches2::after {
	content:'';
	position:absolute;
	border:solid var(--secondary-color);
	width:10px;
	height:10px;
	transition:all 0.3s ease-in-out;
}

.btnlinestretches2::before{
    top:0;
	left:0;
	border-width:1px 0 0 1px;
}

.btnlinestretches2::after{
	bottom:0;
	right:0;
	border-width:0 1px 1px 0;
}

.btnlinestretches2:hover::before,
.btnlinestretches2:hover::after{
    width:calc(100% - 2px);
	height:calc(100% - 2px);
	border-color:var(--secondary-color);
}

#page-top a{
	display: flex;
	justify-content:center;
	align-items:center;
	width: 50px;
	height: 50px;
    border:1px solid #adadad;
	color: var(--white-color);
	text-align: center;
	text-transform: uppercase; 
	text-decoration: none;
	font-size:0.6rem;
	transition:all 0.3s;
}

#page-top a:hover{
	background: #777;
}

#page-top {
	position: fixed;
	right: 10px;
	bottom:10px;
	z-index: 2;
	opacity: 0;
	transform: translateX(100px);
}

#page-top span{
    display: inline-block;
    width: 13px;
    height: 13px;
    border-top:1px solid var(--white-color);
    border-left: 1px solid var(--white-color);
    transform: rotate(45deg);
    margin: 8px 0 0 0;
}

#page-top.LeftMove{
	animation: LeftAnime 0.5s forwards;
}

@keyframes LeftAnime{
  from {
    opacity: 0;
	transform: translateX(100px);
  }
  to {
    opacity: 1;
	transform: translateX(0);
  }
}

#page-top.RightMove{
	animation: RightAnime 0.5s forwards;
}
@keyframes RightAnime{
  from {
  	opacity: 1;
	transform: translateX(0);
  }
  to {
  	opacity: 1;
	transform: translateX(100px);
  }
}

.tab-area{
    width: 70%;
}

.tab{
	display: flex;
	flex-wrap: wrap;
}

.tab li a{
	display: block;
    border-top:transparent 1px solid;
    border-right:var(--black-color) 1px solid;
    border-left:transparent 1px solid;
	padding:8px 30px;
    background:#333;
}

@media screen and (max-width:400px) {
.tab li a {
	padding:8px 20px;
}
}

.area {
  padding: 20px 40px;
}

#slider {
    width: 100%;
    height: 91vh;
}

.bgextend{
	animation-name:bgextendAnimeBase;
	animation-duration:1s;
	animation-fill-mode:forwards;
	position: relative;
	overflow: hidden;
	opacity:0;
}

@keyframes bgextendAnimeBase{
  from {
    opacity:0;
  }
  to {
    opacity:1;
}
}

.bgappear{
	animation-name:bgextendAnimeSecond;
	animation-duration:1s;
	animation-delay: 0.6s;
	animation-fill-mode:forwards;
	opacity: 0;
}

@keyframes bgextendAnimeSecond{
	0% {
	opacity: 0;
	}
	100% {
	opacity: 1;
}
}

.bgLRextend::before{
	animation-name:bgLRextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #111;
}
@keyframes bgLRextendAnime{
	0% {
		transform-origin:left;
		transform:scaleX(0);
	}
	50% {
		transform-origin:left;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:right;
	}
	100% {
		transform-origin:right;
		transform:scaleX(0);
	}
}

.bgRLextend::before{
	animation-name:bgRLextendAnime;
	animation-duration:1s;
	animation-fill-mode:forwards;
    content: "";
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #111;
}
@keyframes bgRLextendAnime{
	0% {
		transform-origin:right;
		transform:scaleX(0);
	}
	50% {
		transform-origin:right;
		transform:scaleX(1);
	}
	50.001% {
		transform-origin:left;
	}
	100% {
		transform-origin:left;
		transform:scaleX(0);
	}
}

.bgappearTrigger,
.bgUDextendTrigger,
.bgDUextendTrigger,
.bgRLextendTrigger,
.bgLRextendTrigger{
    opacity: 0;
}

/* ====== merged: layout.css ====== */
html {
  font-size: 16px;
  scroll-behavior: smooth;
}
@media (max-width: 375px) {
  html {
    font-size: 4.2666666667vw;
  }
}
@media screen and (min-width: 768px) {
  html {
    font-size: 1.4545454545vw;
  }
}
@media (min-width: 1100px) {
  html {
    font-size: 16px;
  }
}

body{
  background:var(--black-color);
  font-family: var(--primary-font-family);
  font-weight: 400;
	color: var(--secondary-color);
	font-size:1rem;
	line-height:1.85;
  letter-spacing: 0.05em;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	-webkit-text-size-adjust: 100%;
	word-wrap: break-word;
}

*{box-sizing: border-box;}

ul{
	margin:0;
	padding: 0;
	list-style: none;
}

a{
	color: var(--secondary-color);
	text-decoration: none;
  outline: none;
}
@media (any-hover: hover) {
  a {
    -webkit-transition: opacity 0.3s;
    transition: opacity 0.3s;
    cursor: pointer;
  }
}

[id] {
  scroll-margin-top: 70px;
}

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

.splash-logo__img {
  width: 60px;
  height: auto;
}

.splash-logo__text {
  font-family: var(--secondary-font-family);
}

#container{
    overflow-x: hidden;
    z-index: 1;
    position: relative;
}

h1,
h2,
#service .service-area section h3,
#location .service-area section h3,
#schedule .service-area section h3,
#g-nav,
#footer-link,
.scrolldown1 span,
#vidual-area dt,
.footer-logo{
    font-family: var(--secondary-font-family);
    letter-spacing: 0.2em;
}

h2:not(.slider__title) {
    font-size: 2rem;
    margin: 0 0 50px 0;
    text-transform: uppercase;
}

.header__logo {
  width: 30px;
  position: relative;
  z-index: 70;
  top:16px;
  left:20px;
  padding: 0;
}
@media screen and (min-width: 768px) {
  .header__logo {
    width: 4rem;
    padding: 0 0 0 2%;
  }
}

.scrolldown1 span {
    transform: rotate(-90deg);
    text-transform:uppercase;
    left: -25px;
    top: -31px;
}

#vidual-area{
    position: relative;
    height: 100vh;
}

body.appear #vidual-area::after{
    content:'';
    background:var(--primary-color);
    width:0;
    height: 12%;
    position: absolute;
    bottom:0;
    right:0;
    z-index: -1;
	animation-name:vidualbgRLextendAnime;
    animation-duration:.2s;
	animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
    animation-delay: 1s;
}
@media screen and (max-width: 768px) {
  body.appear #vidual-area::after {
    bottom:-5%;
  }
}

@keyframes vidualbgRLextendAnime {
	0% {
		width:0;
	}
	100% {
		width:40%;
	}
}

#vidual-area #slider-area{
    position: absolute;
    top:0;
    right: 0;
    width:85%;
    z-index: -1;
}

#slider{
  position: relative;
  width:100%;
  height:90vh;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

#slider::after{
  content:"";
  position:absolute;
  inset:0;
  background:rgba(0,0,0,0.45);
  z-index: 1;
  pointer-events:none;
}

#vidual-area h2{
    line-height: 1.5;
    font-size: 3vw;
    position: absolute;
    top:33%;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    white-space: nowrap;
}

.slider__title-sub {
  font-size: 1.6rem;
  letter-spacing: .1em;
}

@media screen and (max-width:960px) {
#vidual-area{
    height: 90vh;
}
#vidual-area #slider-area{
    width:100%;
    height: 90vh;
}
#vidual-area h2{
    font-size:2rem;
}
}

@media screen and (max-width:450px) {
#vidual-area h2{
    font-size:7vw;
    top: inherit;
    bottom: 30%;
}
.slider__title-sub {
  font-size: 1rem;
}
}

#service {
    padding: 10% 0 10% 15%;
}

@media screen and (max-width:768px) {
#service{
    padding: 30% 0 10% 30px;
}
}
#schedule {
    padding: 10% 0 10% 15%;
}

@media screen and (max-width:768px) {
#schedule{
    padding: 30% 0 10% 30px;
}
}

#location {
    padding: 10% 15% 10% 0;
}

@media screen and (max-width:768px) {
#location{
    padding: 30% 30px 10% 0;
}
}

.location-h2,.location-h2-text {
  padding-left: 15%;
}
@media screen and (max-width:768px) {
.location-h2{
  padding-left: 30px;
}
}

@media screen and (max-width:500px) {
    #service .service-lead{
        padding: 0 10% 0 0;
    }
    #location .service-lead{
        padding: 0 0 0 10%;
    }
#service .service-lead br ,#location .service-lead br{
    display: none;
}
}

#service .service-area {
  padding:10% 10% 0 10%;
}
#schedule .service-area {
  padding:10% 0 10% 10%;
}

#location .service-area {
    padding:10% 0 0 10%;
}

#service .service-area,#location .service-area,#schedule .service-area{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    position: relative;
}

#service .service-area::after,#location .service-area::after,#schedule .service-area::after{
    opacity: 0;
}

#service .service-area.startwd::after,#location .service-area.startwd::after,#schedule .service-area.startwd::after {
     content:'';
    position: absolute;
    top:10%;
    right:0;
    width:80%;
    height: 60vh;
    background:#232323;
    z-index: -1;
	animation-name:sevicebgRLextendAnime;
    animation-duration:.9s;
	animation-fill-mode:forwards;
    animation-timing-function: ease-in-out;
}

#location .service-area.startwd::after {
  left:0;
}

@keyframes sevicebgRLextendAnime{
	0% {
        opacity: 0;
		width:0;
	}
	100% {
        opacity: 1;
		width:80%;
	}
}

#service .service-area section{
  width:45%;
  padding-bottom: 60px;
}

#location .service-area section,#schedule .service-area section {
  width:30%;
}

@media screen and (max-width:570px) {
#service .service-area section,#schedule .service-area section{
    width:100%;
    margin: 0 0 100px 0;
    padding: 0 10% 0 0;
}
 
}
@media screen and (max-width:570px) {
#location .service-area section{
    width:100%;
    margin: 0 0 100px 0;
    padding: 0 0 0 10%;
}
 
}

#service .service-area section h3,#location .service-area section h3,#schedule .service-area section h3{
    font-size:1.5rem;
    line-height: 1;
    margin-bottom: 30px;
}

.h3-sub-title {
  font-size: 1rem;
  font-family: var(--secondary-font-family);
}

#service .service-area section p,#location .service-area section p,#schedule .service-area section p{
    margin: 0 0 30px 0;
}

#service .service-img-wrapper,#schedule .service-img-wrapper
,#location .service-img-wrapper{
    position:relative;
    overflow: hidden;
    width:30%;
    /* width:100%; */
    height: 60vh;
}
@media screen and (max-width:768px) {
  #service .service-img-wrapper,#schedule .service-img-wrapper
  ,#location .service-img-wrapper{
    width:100%;
}
}

#schedule .service-img{
    height: 60vh;
    background:url("../img/01.webp") no-repeat center;
    background-size: cover;
}
#location .service-img{
    height: 60vh;
    background: url("../img/01_2.webp") no-repeat center;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

@media screen and (max-width:570px) {
#service .service-img-wrapper,
#service .service-img,
#location .service-img-wrapper,
#location .service-img
#schedule .service-img-wrapper,
#schedule .service-img {
    width:100%;
    height: 42vh;
    background-position: right;
    }
    #service .service-img-wrapper,
    #schedule .service-img-wrapper,
    #location .service-img-wrapper{
        margin:0 0 50px 0;
    }
#location .service-img-wrapper,
#location .service-img {
  height: 30vh;
}
}

#staff-area {
  position: relative;
  max-width: 90%;
  margin: 2rem auto;
  padding: 2rem;
  text-align: center;
}

#staff-area::before,
#staff-area::after {
  content: "";
  position: absolute;
  box-sizing: border-box;
  pointer-events: none;
}

#staff-area::before {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-top: 1px solid var(--white-color);
  border-bottom: 1px solid var(--white-color);
  width: 0;
}

#staff-area::after {
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-left: 1px solid var(--white-color);
  border-right: 1px solid var(--white-color);
  height: 0;
}

@keyframes drawHorizontal {
  from { width: 0; }
  to { width: 100%; }
}

@keyframes drawVertical {
  from { height: 0; }
  to { height: 100%; }
}

@media (min-width: 1024px) {
  #staff-area {
    max-width: 800px;
  }
}

#staff-area.animate-border::before {
  animation: drawHorizontal 0.5s linear forwards;
}

#staff-area.animate-border::after {
  animation: drawVertical 0.5s linear forwards 0.5s;
}

  .staff-area__btn {
  margin-top: 2rem;
}

.news-img-wrapper{
    position:relative;
    z-index: 1;
    overflow: hidden;
    width:90%;
    height: 60vh;
}

.news-img{
    height: 60vh;
    background:url("../img/02.webp") no-repeat center;
    background-size: cover;
}

.news-img::after{
     content:'';
    position: absolute;
    bottom:0;
    left:0;
    width:70%;
    height: 10vh;
    background:var(--black-color);
    z-index:2;
}

#news{
    margin-top: 120px;
    padding: 0 0 5% 15%;
}

#news .area li{
    padding: 20px 0;
}

#news .area time{
    display: block;
    color: #aaa;
}

#news .tab{
    position: relative;
    top:1px;
}

#news .tab-choice-area{
    border-top:1px solid #aaa;
    border-left:1px solid #aaa;
}

@media only screen and (max-width: 1110px) {
    .tab-area{
        width:100%;
    }
    
}

@media only screen and (max-width: 768px) {
#news {
    padding: 0 0 5% 30px;
}
}

#contact{
    margin-top: 4rem;
    border-top: 1px solid #aaa;
    border-bottom: 1px solid #aaa;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}

#contact .contact-detail{
    width:65%;
    border-right: 1px solid #aaa;
    text-align: center;
    padding: 20px;
}

#contact .contact-detail h2{
     margin:0 0 5px 0;   
    font-size: 1.5rem;
}

#contact .contact-tel{
     width:35%;
}

#contact .contact-tel p{
    text-align: center;
}

#contact .contact-tel p a{
     display: block;  
    padding: 50px 20px;
    transition: all .3s;
}

#contact .contact-tel p a:hover{
     background:rgba(255,255,255,0.2);   
}

#contact .contact-tel p:last-child{
    border-top:1px solid #aaa;
}

#contact .contact-tel br{
    display: none;
}

@media screen and (max-width:690px) {
#contact .contact-detail,
#contact .contact-tel{
    width:50%;
}
    
#contact .contact-tel br{
    display: block;
}
#contact .contact-detail h2{
    font-size: 1.2rem;
}
#contact .contact-detail p{
    text-align: left;
}
}

@media screen and (max-width:400px) {
    #contact{
        font-size: 0.8rem;
    }
}

#footer{
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-items: center;
    opacity: 0.8;
    padding:5%;
}

#footer .footer-info{
    width:30%;
}

#footer .footer-info .footer-logo{
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    text-transform: uppercase;
}

#footer .footer-info address{
    font-style: normal;
    margin: 0 0 10px 0;
}

#footer .footer-info ul li{
    margin: 0 0 10px 0;
}

#footer .footer-info dl dt,
#footer .footer-info dl dd{
    display: inline-block;
}

#footer .footer-info dl dt::after{
    content:':';
    padding: 0 10px;
}

#footer .footer-link{
    width:65%;
}

#footer .footer-link ul{
     display: flex;
    flex-wrap: wrap;
    line-height: 2.5;
}

#footer .footer-link ul li{
    margin: 0 10px;
}

#footer .footer-link ul ul li{
    margin:0 10px 0 0;
}

.footer-link .has-child ul li::before {
  content: "・";
  margin-right: 0.5em;
  font-size: 0.9em;
}

#footer small{
    padding: 100px 0 0 0;
    display: block;
    text-align: right;
    color: #aaa;
}
#footer .footer-link ul ul{
     display: block;
}

@media screen and (max-width:830px) {
    #footer{
        justify-content: center;
        padding:5% 0;
    }
    #footer .footer-info{
        width:100%;
        padding: 0 0 5% 0;
        margin: 0 0 5% 0;
        text-align: center;
        border-bottom: 1px solid #aaa;
    }
    #footer .footer-info li:nth-of-type(2) dt::after{
        content:'';
        padding: 0;
    }
    #footer .footer-info li:nth-of-type(2) dd{
        display: block;
    }
    
    #footer .footer-link{
        width:auto;
    }

    #footer .footer-link ul {
    justify-content: center;
    }
    
    #footer small {
        padding:10% 0;
        text-align:center;
    } 
}

@media screen and (max-width:400px) {
    #footer .footer-link ul li{
        margin: 0 10px;
}
}


/* =================================================
   BEM: Contact（全ページ共通：footer.php 内）
================================================= */

.contact {
  margin-top: 4rem;
  border-top: 1px solid #aaa;
  border-bottom: 1px solid #aaa;
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.contact__detail {
  width: 65%;
  border-right: 1px solid #aaa;
  text-align: center;
  padding: 20px;
}

.contact__heading {
  margin: 0 0 5px 0;
  font-size: 1.5rem;
}

.contact__tel {
  width: 35%;
}

.contact__tel-text {
  text-align: center;
  border-top: 1px solid #aaa;
}

.contact__btn-link {
  display: block;
  padding: 50px 20px;
  transition: all .3s;
}

.contact__btn-link:hover {
  background: rgba(255, 255, 255, 0.2);
}

.contact__break {
  display: none;
}

@media screen and (max-width: 690px) {
  .contact__detail,
  .contact__tel {
    width: 50%;
  }

  .contact__break {
    display: inline;
  }

  .contact__heading {
    font-size: 1.2rem;
  }

  .contact__text {
    text-align: left;
  }
}

@media screen and (max-width: 400px) {
  .contact {
    font-size: 0.8rem;
  }
}

/* =================================================
   Footer menu hover（headerと同じ下線演出）
================================================= */

#footer .footer-link a {
  position: relative;
  display: inline-block;
  text-decoration: none;
}

#footer .footer-link a::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -2px;
  width: 100%;
  height: 1px;
  background-color: currentColor;
  transform: scaleX(0);
  transform-origin: left;
  transition: transform 0.3s ease;
}

#footer .footer-link a:hover::after {
  transform: scaleX(1);
}

/* =================================================
   BEM: News（トップ：front-page.php）
================================================= */

.news {
  margin-top: 120px;
  padding: 0 0 5% 15%;
}

.news__tab-lists {
  position: relative;
  top: 1px;
}

.news__tab-choice-area {
  border-top: 1px solid #aaa;
  border-left: 1px solid #aaa;
}

.news__item {
  padding: 20px 0;
}

.news__date {
  display: block;
  color: #aaa;
}

@media only screen and (max-width: 1110px) {
  .news__tab-area {
    width: 100%;
  }
}

@media only screen and (max-width: 768px) {
  .news {
    padding: 0 0 5% 30px;
  }
}

/* =================================================
   Modules: btn-link / cards / title
================================================= */

/* btn-link：見た目がボタンの a 用（ベースは最小限・崩さない） */
.btn-link {
  display: inline-block;
  text-decoration: none;
}

/* cards：カード群の共通グリッド */
.cards {
  display: grid;
  grid-template-columns: 1fr;
  gap: 20px;
}


@media (min-width: 768px) {
  .cards-col3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (min-width: 768px) {
  .cards-col4 {
    grid-template-columns: repeat(4, 1fr);
  }
}

.cards__img {
  width: 100%;
  overflow: hidden;
}

.cards__img-item {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}


/* =================================================
   Header state（!important排除）
================================================= */

#header.scrolled {
  background-color: rgba(17,17,17,0.8);
}

#header.UpMove,
#header.DownMove {
  animation: none;
}