@charset "utf-8";

*{
    line-height: 1.5;
    margin: 0;
    padding: 0;
}

main{
    margin-bottom: 100px;
}

img{
    width: 100%;
    vertical-align: bottom;
}

button{
    font-size: 1em;
    color: #fff;
    background-color: #423121;
    border-radius: 10px;
    padding: 10px 50px;
}

ul{
    list-style: none;
}

.top{
	width:100%;
	position:fixed;
	text-align: right;
	z-index:10;
}

.language ul{
	display:flex;
	justify-content: flex-end;
	padding:10px;
}

.myButton{
	display:inline-block;
	color:#fff;
	border:1px solid #fff;
	margin:10px;
	padding:5px 20px;
}

.logo-menu{
	padding-top:100px;
}

.instagram h3::after,.philosophy h3::after,.servicemenu h3::after,.contact h3::after{
    content: '';
    display: block;
    width: 500px;
    height: 16px;
    background-image: url('../images/mark1.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
}

.instagram h3 + p,.philosophy h3 + p,.servicemenu h3 + p,.contact h3 + p{
    color: #fff;
    text-align: center;
    margin-bottom: 30px;
}

.news h3::after,.blog h3::after{
    content: '';
    display: block;
    width: 500px;
    height: 16px;
    background-image: url('../images/mark2.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    margin: 0 auto;
}

.news h3 + p,.blog h3 + p{
    color: #000;
    text-align: center;
    margin-bottom: 30px;
}

.instagram h3,.philosophy h3,.servicemenu h3,.contact h3{
    color: #fff;
}

header .top{
    background-color: #423121;
}

header .top ul{
	font-size:0.8em;
}

header .top a{
    color: #fff;
}

header nav ul{
    display: flex;
    justify-content: flex-end;
    font-size: 1.5em;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    font-weight: bold;
    margin-bottom: 10px;
}

header nav ul li a{
    color: #000;
}

header nav ul li::after{
    content: '｜';
}

header .logo{
    width: 30%;
}

header .targetElement{
	display:none;
}

header .active{
	display:block;
}

.mv{
    position: relative;
    height: 600px;
    display: block;
    background-image: url('../images/mv.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

.mv-sp{
	margin-top:20px;
}

.mv-sp p{
	font-size: 0.8em;
	font-family: "Shippori Mincho", serif;
	text-align:center;
}

.mv .box{
    width: 100%;
    position:absolute;
    left: 50%;
    bottom: 50px;
    transform: translateX(-50%);
}

.mv h2{
    font-size: 3em;
    font-family: "Shippori Mincho", serif;
    font-weight: bold;
    font-style: normal;
	text-shadow: 1px 1px #fff;
    background-image: linear-gradient(90deg, transparent, #ffffff 50%, transparent);
    text-align: center;
}

.mv h2 small{
    display: block;
    padding-bottom: 20px;
}

.mv p{
    color: #fff;
    text-align: center;
    font-size: 1.5em;
    font-weight: bold;
    font-family: "Shippori Mincho", serif;
    text-shadow: 1px 1px #000;
	margin-bottom:20px;
}

.button{
    text-align: center;
}

.button a{
	width:25%;
	display:block;
	color:#fff;
	background-color:#423121;
	border-radius:15px;
	text-align:center;
	text-decoration:none;
	box-shadow: 0px 4px 4px 0px rgb(175, 175, 175);
	margin:0 auto;
	padding:10px 30px;
}

.button .button-white{
	color:#423121;
	background-color:#fff;
}

.button .button-long{
	width:90%;
}

h3{
    font-family: "Instrument Serif", serif;
    font-weight: 400;
    font-style: normal;
    letter-spacing: -1px;
    text-align: center;
    font-size: 2.7em;
}

video{
	display:block;
	width:70%;
	height:auto;
	margin:50px auto;
}

.instagram{
    background-color: #423121;
    padding: 100px 0 50px;
}

.instagram ul{
    display: flex;
    column-gap: 2em;
}

.message{
    display: flex;
    justify-content: center;
    align-items: end;
    height: 600px;
    background-image: url('../images/index_back1.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 50px;
}

.message h4,.philosophy-box h4{
    font-family: "Inter", sans-serif;
    font-size: 2em;
    font-weight:normal;
    background-image: linear-gradient(90deg, transparent, #ffffff 50%, transparent);
    text-align: center;
    margin-bottom: 10px;
    padding: 10px;
}

.message-sp,.philosophy-box-sp{
	padding-bottom:50px;
}

.message-sp h4,.philosophy-box-sp h4{
	color:#fff;
    font-family: "Inter", sans-serif;
    font-size: 1.2em;
    font-weight:normal;
    background-image: linear-gradient(90deg, transparent, #000 50%, transparent);
    text-align: center;
    margin-bottom: 10px;
    padding: 10px;
}

.message-sp p,.philosophy-box-sp p{
	padding:10px;
}

.philosophy-box-sp .button{
	margin-top:20px;
}

.servicemenu{
    background-color: #423121;
    padding: 100px 0 0;
}

.servicemenu .box{
    height: 400px;
    background-image: url('../images/index_back2.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 100px;
}

.servicemenu ul{
    display: flex;
    flex-wrap: wrap;
    column-gap:1em;
    margin-bottom: 30px;
}

.servicemenu ul li{
    flex-basis: calc(98%/2);
    box-sizing: border-box;
    color: #fff;
    background-color: rgba(0,0,0, 0.7);
    text-align: center;
    margin-bottom: 15px;
    padding: 30px;
}

.philosophy{
    background-color: #423121;
    padding: 100px 0 50px;
}

.philosophy-box{
	display: flex;
    justify-content: center;
    align-items: end;
    height: 600px;
    background-image: url('../images/index_back3.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-bottom: 50px;
}

.philosophy-box p{
	margin:30px 50px;
}

.philosophy-box-sp{
	background-color:#fff;
}

.news,.blog{
    padding: 50px 100px;
}

.news .box{
    display: flex;
    border-bottom: 1px solid #000;
    column-gap: 2em;
    padding: 10px;
}

.blog .box{
    display: flex;
    justify-content: center;
    background-image: url('../images/blog_back1.webp');
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
    column-gap: 2em;
	width: 100vw;
	box-sizing: border-box;
	margin: 0 calc(50% - 50vw) 50px;
    padding: 30px 100px;
}

.blog .box .image{
    flex-basis: 30%;
}

.blog .box .text{
    flex-basis: 70%;
}

.blog .box ul li a{
	color:#fff;
}

.blog .box h4{
    color: #FFF;
    font-size: 1.5em;
    border-bottom: 1px solid #fff;
}

.blog .box p{
    color: #FFF;
}

.contact{
    display: flex;
    background-color: #423121;
    padding: 0 100px;
}

.contact .text,.contact .image{
    flex-basis: calc(100%/2);
}

.contact .text{
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.icon{
    display: flex;
    column-gap: 0.5em;
    justify-content: flex-end;
    margin-top: 30px;
}

footer{
    color: #fff;
    font-family: "Shippori Mincho", serif;
    background-color: #423121;
    padding: 30px;
}

footer .box{
    margin-bottom: 50px;
}

footer nav ul{
    display: flex;
    justify-content: flex-end;
    font-size: 1.5em;
    font-family: "Shippori Mincho", serif;
    font-weight: 400;
    font-style: normal;
    margin-bottom: 50px;
}

footer nav ul li a{
    color: #FFF;
}

footer nav ul li::after{
    content: '｜';
}

footer h2{
    font-size: 1.2em;
    font-weight: normal;
    border-bottom: 1px solid #fff;
    margin-bottom: 10px;
}

footer h3{
    font-size: 1.2em;
    text-align: left;
}

footer a{
    color: #fff;
}

footer .box{
    display: flex;
    column-gap: 2em;
}

footer .logo{
    flex-basis: 40%;
}

footer .text{
    flex-basis: 60%;
}

footer .flex{
    display: flex;
    column-gap: 2em;
}

footer .icon li a{
	display:block;
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #fff;
    border-radius: 50%;
}

footer .icon li img{
    max-width: 50%;
}

.menu-wrapper{
	display:none;
}

.pc{
	display:flex;
	justify-content:center;
}

.sp{
	display:none;
}

@media screen and (max-width: 1000px) {
	header nav ul{
		display:none;
	}
	
	header .logo{
		width:100%;
	}
	
	.logo-menu{
		padding:100px 50px 50px 50px;
	}
	
	.button a{
		width:60%;
	}
	
	.mv h2{
		font-size:2em;
		padding:5px;
	}
	
	.mv h2 small{
		padding-bottom:0;
	}
	
	h3{
		font-size:1.8em;
	}
	
	.instagram h3::after, .servicemenu h3::after, .contact h3::after,.news h3::after, .blog h3::after,.philosophy h3::after {
		width: 255px;
		height: 8px;
	}
	
	.message,.philosophy-box{
		height:400px;
	}
	
	.servicemenu .box{
		height:auto;
		padding:50px 20px;
	}
	
	.servicemenu ul{
		justify-content:center;
	}
	
	.servicemenu ul li{
		flex-basis:100%;
	}
	
	.blog .box{
		width:100%;
		display:block;
		margin:0 0 20px;
		padding:20px;
	}
	
	.blog .box .image{
		margin-bottom:20px;
	}
	
	.news, .blog{
		padding:50px 20px;
	}
	
	.contact{
		display:block;
		padding:50px;
	}
	
	.contact .image{
		margin-top:50px;
	}
	
	footer .box{
		display:block;
	}
	
	footer .flex{
		display:block;
	}
	
	footer .clinic:first-child{
		margin-bottom:50px;
	}
	
	.pc{
		display:none;
	}

	.sp{
		display:block;
	}
	
	.menu-wrapper {
		display:block;
	  position: relative;
	}

	.menu-icon {
	  width: 40px;
	  height: 30px;
	  position: fixed; /* ← fixedにして常に左上固定 */
	  top: 10px;
	  left: 20px;
	  cursor: pointer;
	  z-index: 9999;
	  display: inline-block;
	}

	.menu-icon span {
	  display: block;
	  height: 4px;
	  margin: 6px 0;
	  background: #fff;
	  border-radius: 2px;
	  transition: 0.4s;
	}

	/* ハンバーガーがXに変形 */
	#menu-toggle:checked + .menu-icon span:nth-child(1) {
	  transform: translateY(10px) rotate(45deg);
	}
	#menu-toggle:checked + .menu-icon span:nth-child(2) {
	  opacity: 0;
	}
	#menu-toggle:checked + .menu-icon span:nth-child(3) {
	  transform: translateY(-10px) rotate(-45deg);
	}

	/* オーバーレイ背景 */
	.overlay {
	  position: fixed;
	  inset: 0;
	  background: rgba(0,0,0,0.5);
	  opacity: 0;
	  pointer-events: none;
	  transition: 0.4s;
	  z-index: 1;
	}

	#menu-toggle:checked ~ .overlay {
	  opacity: 1;
	  pointer-events: auto;
	}

	/* メニュー本体（左から出す） */
	.spmenu {
	  position: fixed;
	  top: 0;
	  left: -300px; /* ← 初期位置を左へ */
	  width: 300px;
	  height: 100%;
	  background: #423121;
	  box-shadow: 2px 0 8px rgba(0,0,0,0.2);
	  transition: left 0.4s ease;
	  z-index: 2;
	}

	#menu-toggle:checked ~ .spmenu {
	  left: 0; /* ← 開いたときは左0へ */
	}

	.spmenu ul {
	  list-style: none;
	  padding: 60px 20px;
	}

	.spmenu li {
	  margin: 20px 0;
	}

	.spmenu a {
	  display:block;
	  text-decoration: none;
	  color: #fff;
	  font-size: 1.2rem;
	  transition: color 0.3s;
	  border-bottom:ridge 1px #fff;
	  padding:15px;
	}

	.spmenu a:hover {
	  color: #007bff;
	}
}

@media screen and (max-width: 768px) {
	.mv{
		height:300px;
	}
	
	.mv h2{
		font-size:1em;
	}
	
	.mv p{
		font-size:1em;
	}
	
	button{
		font-size:1em;
	}
	
	.blog .box h4{
		font-size:1.2em;
	}
	
	footer .logo{
		margin-bottom:50px;
	}
	
	footer nav ul{
		display:block;
		font-size:1.2em;
		text-align:center;
	}
	
	footer nav ul li::after{
		content:"";
	}
	
	footer nav ul li a{
		display:block;
		border-bottom:ridge 1px #fff;
		padding:20px;
	}
}