/*
Theme Name: Takatuskimirai Theme
Author: 有限会社アイシス
Description: 高槻ミライ歯科・矯正歯科テーマ
Version: 1.0
*/


@charset "utf-8";

body{
	margin:0px;
	padding:0px;
	color: #222;
}
a{letter-spacing: 0.05em;font-weight: 500;font-family: "Noto Sans JP", sans-serif;}
a:hover img,a:hover{
 opacity:.5;
  -webkit-transition: .3s ease-in-out;
  transition: .3s ease-in-out;
	color: inherit;
 }

p{line-height: 2!important;letter-spacing: 0.05em;font-family: "Noto Sans JP", sans-serif;color: #222;font-weight: 400;}
@media screen and (max-width:1200px){	
	p{font-size: 14px;}
}

h1,h2,h3,h4,h5,h6{color: #222;font-family: "Noto Sans JP", sans-serif;}

video{
	width: 100%;
  max-width: 1400px;
}

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

/*==================common==================*/

li{font-family: "Noto Sans JP", sans-serif!important;letter-spacing: 0.05em;font-weight: 500;}
.fontg1{font-family: "Noto Sans JP", sans-serif!important;}
.fontg2{font-family: "Noto Serif JP", serif!important;}
.marker{background:linear-gradient(transparent 60%, #F1E76B 60%);}


.flbox{
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
}
.flbox2{
  display: -ms-flexbox;
  display: -webkit-box;
  display: -webkit-flex;
  display: flex;
  -ms-flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  flex-wrap: wrap;
	flex-direction: column;
}

.flend{
	align-self: flex-end;
}

.flcenter{
  align-self: center;
}


/*==================header==================*/

header {
	margin-bottom: 0;
	padding: 10px 0 0;
	width: 100%;
	position: fixed;
	top: 0;
	z-index: 9999;
	font-weight: 600!important;
	font-family: "Noto Sans JP", sans-serif!important;
	background: linear-gradient(0deg,rgba(255, 255, 255, 0) calc(100% - 90px), rgba(255, 255, 255, 1) calc(100% - 90px));
}
header::after{
	content: "";
	position: absolute;
	left: 0;
	bottom: 0;
	width: 100%;
	height: 60px;
	background-color: #fff;
}

.headerin {
	display: flex;
	flex-wrap: wrap;
	height: 140px;
	padding:0 20px;
	justify-content:space-between;
}

.logo{
	width: 360px;
	text-align: left;
	padding-left: 10px;
	z-index: 1;
}

h1{
	font-size:10px!important;
	margin: 0!important;
	padding-bottom: 4px;
	color: #878787;
}

.hinfo{
	display: flex;
	z-index: 1;
	
}

.hinsta{
	margin: 0 10px 0 0;
	width: 60px;
}

.members{
	line-height: 1.3;
	font-family: "Noto Serif JP", serif!important;
}

a.hbtn{
  position: relative;
	display: flex;
	flex-direction: column;
	width: 300px;
	border:2px solid #ccb084;
}
a.hbtn:hover{
	color: inherit;
}

.hbtnin1,.hbtnin2{
	width: 100%;
}
.hbtnin1{
	background-color: #ccb084;
	padding: 2px 0;
	text-align: center;
	font-weight: 400;
	color:#fff;
}
.hbtnin2{
	display: flex;
	align-items: center;
	padding: 0 10px;
	height: 100%;
	background-color: #fff;
	background-image: url("img/top/hba2.png");
	background-size: 30px;
	background-repeat: no-repeat;
	background-position: right 5px center;
	font-family: "Noto Serif JP", serif!important;
	color:#C2A05A;
	font-weight: 600;
}

@media screen and (max-width:1400px){
a.hbtn{width: 200px;}
}

@media screen and (max-width:1200px){
header {
	margin-bottom: 0;
	width: 100%;
	height: inherit;
	padding: 5px 0;
	background:rgba(255, 255, 255, 1);
}
header::after{display: none;}
.headerin {
	height: 70px;
	padding:0 5px;
}
.hinsta{
	margin: 10px 0 0;
	width: 50px;
}
a.hbtn{width: 170px;}
.hbtnin2{background-size: 20px;}
.hbtnin2 img{width: 30px;}
.logo{
	width: calc(100% - 720px);
	padding-left: 10px;
}
.logo img{
	max-width: 300px;
}
.hinfo{
	margin: 0 80px 0 0;
}
}
@media screen and (max-width:991px){	
header {
	padding: 5px 0;
}
.logo{
	width: calc(100% - 150px);
	padding-left: 10px;
}
.hinsta{
	margin: 0;
	width: 60px;
}
a.hbtn{display: none;}
.members{display: none;}
}
@media screen and (max-width:576px){
.headerin {
	height: 50px;
	padding:0;
}
.logo img{
	width: 200px;
}
.hinfo{
	margin: 0 50px 0 0;
}
.hinfo img{
	width: 50px;
}
}

/*==================slide==================*/

#slider-area{
	position: relative;
    width:100%;
    height: 100%;
	overflow: hidden;
	background-color: #fff;
	z-index: 0;
}

#slider-area #slider{
	position: relative;
	z-index: 0;
    width:100%;
    height:100vh;
	overflow: hidden;
}
#slider-area #slider::after{
	content: "";
	position: absolute;
	width: 100%;
	height: 100%;
	background:linear-gradient(0deg,rgba(0, 0, 0, 0.5) 0%, rgba(0, 0, 0, 0) 100%);
}

.scon{
	position: absolute;
	bottom: 120px;
	left: 0;
	right: 0;
	margin: auto;
	max-width:1320px;
	z-index: 2;
}
@media screen and (max-width:1400px){
.scon{
	position: absolute;
	bottom: 120px;
	padding:0 20px;
}
}
@media screen and (max-width:991px){
.scon{
	bottom: 200px;
}
}


/*==================main==================*/

#main{
	position: relative;
	margin: 80px 0 0;
	padding: 120px 0;
	z-index: 1;
	background: linear-gradient(90deg,rgba(249,248,245, 0) 40%, rgba(249,248,245, 1) 40%, rgba(249,248,245, 1) 100%);
}

@media screen and (max-width:991px){
#main{
	padding: 0 0 80px;
	background: linear-gradient(90deg,rgba(249,248,245, 0) 40%, rgba(249,248,245, 1) 40%, rgba(249,248,245, 1) 100%);
}
}

/*==================FIVE FEATURE==================*/

#fivef{
	position: relative;
	background-image: url("img/top/pobg2.png");
	background-repeat: no-repeat;
	background-size: cover;
	background-position: center;
	z-index: 1;
	overflow: hidden;
}

.fiveft{
	display: flex;
	justify-content: center;
	align-items: center;
	position: relative;
	height: 100%;
	width: 100%;
	border: 1px solid #fff;
	color:#fff;
	background-color: rgba(129,97,48,0.50);
}
.fiveft::after{
	content: "";
	position: absolute;
	height: calc(100% + 20px);
	width: calc(100% + 20px);
	border: 1px solid #fff;
	top:-10px;
	left: -10px;
}

.fiveb{
	display: block;
	position: relative;
	color:#c69534;
	padding: 20px 40px 24px;
	z-index: 1;
}
.fiveb::before{
	content: "";
	position: absolute;
	top:0;
	left: 0;
	width: 100vw;
	height: 100%;
	background-color: rgba(255,255,255,1.00);
	z-index: -1;
}
.fiveb span{
	position: relative;
}
.fiveb span::after,.fiveb span::before{
	content: "";
	position: absolute;	
	height: 1px;
	background-color: #c69534;
}
.fiveb span::after{
	width: 150px;
	bottom: -8px;
	left: 0;
}
.fiveb span::before{
	width: 15px;
	bottom: -7px;
	left: 151px;
	transform-origin: bottom left;
	transform: rotate(-135deg);
}

@media screen and (max-width:576px){
.fiveft{
	padding: 30px 0;
}
.fiveb{
	display: block;
	position: relative;
	padding: 20px 20px 24px;
	z-index: 1;
}
}

/*==================SERVICE==================*/

.servt{
	position: relative;
	text-align: center;
	margin: 0 0 240px;
}
.servt::after{
	content: "";
	position: absolute;
	top:110%;
	left: 50%;
	width: 1px;
	height: 80px;
	background: #000;
}

.serv1,.serv2{
	position: relative;
	padding: 40px;
}
.serv1::before,.serv2::before{
	content: "";
	position: absolute;
	top:-100px;
	width: 140%;
	height: calc(100% + 200px);
	z-index: -1;
}
.serv1::after,.serv2::after{
	position: absolute;
	top: -120px;
	font-size: 120px;
	width: 100vw;
	font-family: "Noto Serif JP", serif!important;
}
.serv1::before{
	background: #f4f4f4;
	left: 0;
}
.serv1::after{
	content: "ORTHODONTICS";
	left: 20px;
	color: rgba(0,0,0,0.03);
}
.serv2::before{
	background: #F8F5F2;
	right: 0;
}
.serv2::after{
	content: "MICRO ENDO";
	right: 20px;
	color: rgba(204,176,132,0.1);
	text-align: right;
}

.servimg1,.servimg2{
	position: absolute;
	top:0;
	width: 55%;
	height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center;
}
.servimg1{
	right: 0;
}
.servimg2{
	left: 0;
}

.serv1b,.serv2b{
	position: absolute;
	bottom: -40px;
	padding: 14px 20px 24px;
	width: 230px;
	color:#fff;
	letter-spacing: 0.1em;
}
.serv1b{
	right: -80px;
	background: rgba(63,63,63,0.8);
}
.serv2b{
	left: -80px;
	background: rgba(204,176,132,0.8);
}

.serv1b::after,.serv1b::before,.serv2b::after,.serv2b::before{
	content: "";
	position: absolute;	
	height: 1px;
	background-color: #fff;
}
.serv1b::after,.serv2b::after{
	width: 190px;
	bottom: 16px;
	left: 20px;
}
.serv1b::before,.serv2b::before{
	width: 15px;
	bottom: 16px;
	left: 211px;
	transform-origin: bottom left;
	transform: rotate(-135deg);
}

@media only screen and (max-width: 1200px) {
.serv1::after,.serv2::after{font-size: 100px;}
.servimg1,.servimg2{width: 45%;}
}

@media only screen and (max-width: 991px) {
.servt{
	margin: 0 0 120px;
}
.servimg1,.servimg2{
	position: relative;
	margin: 0 0 0 20%;
	width: 80%;
	height: 350px;
}
.serv1::after,.serv2::after{
	top: -350px;
	width: auto;
	height: 100vh;
	right: inherit;
	text-align: left;
	left: -60px;
	font-size: 120px;
  -ms-writing-mode: tb-rl;
  writing-mode: vertical-rl;
}
.serv1b,.serv2b{
	padding: 14px 20px 24px;
	width: calc(100% - 80px);
	left: inherit;
	right: 40px;
}
.serv1b::after,.serv2b::after{width: 150px;}
.serv1b::before,.serv2b::before{left: 171px;}
	
}

@media only screen and (max-width: 576px) {
.servimg1,.servimg2{
	height: 250px;
}
.serv1::after,.serv2::after{
	top: -200px;
	left: -40px;
	font-size: 100px;
}
}

.orthk{
	display: block;
	position: relative;
	padding: 0 0 70px;
	border-right: 1px solid #C2A05A;
	text-align: center;
}
.orthk::before,.orthk::after {
  content: "";
  position: absolute;
}
.orthk::before {
	left: calc(50% - 20px);
	bottom:30px;
	width: 40px;
	height: 1px;
	background-color: #C2A05A;
}
.orthk::after {
	left: calc(50% + 10px);
	bottom:19px;
	width: 12px;
	height: 12px;
	border-top: 1px solid #C2A05A;
	border-right: 1px solid #C2A05A;
	transform-origin: top right;
	transform: rotate(45deg);
}
.orthk:first-child{border-left: 1px solid #C2A05A; }

@media only screen and (max-width: 991px) {
.orthk{
	margin: 0 0 40px;
}
.orthk:first-child,.orthk:nth-of-type(3){
	border-left: 1px solid #C2A05A;
	}
}

@media only screen and (max-width: 576px) {
.orthk{
	margin: 0;
	padding: 20px 0 70px;
	border-right: none;
	border-bottom:1px solid #C2A05A;
}
.orthk:first-child{
	border-left: none;
	border-top:1px solid #C2A05A;
}
.orthk:nth-of-type(3){
	border-left: none;	
}
}

.shinryo{
	text-align: center;
	margin: 0 0 40px;
}
.shinryo img{
	width: 160px;
}

.shinryo ul{
	list-style: none;
	margin: 0;
	padding: 0;
	border-top: 1px solid #000;
}
.shinryo ul li{
	position: relative;
	border-bottom: 1px solid #c9caca;
}
.shinryo ul li::before,.shinryo ul li::after{
	content: "";
	position: absolute;
	top:50%;
	left: 0;
	height: 1px;
	width: 10px;
	transform-origin: center right;
	background-color: #000;
}
.shinryo ul li::before{
	transform: rotate(45deg);
}
.shinryo ul li::after{
	transform: rotate(-45deg);
}

.shinryo ul li a{
	display: block;
	padding: 22px 22px 22px 30px;
	text-align: left;
	letter-spacing: 0.1em;
}

@media only screen and (max-width: 991px) {
.shinryo::before{
	left: 20px;
	width: 100%;
	height: 100%;
}

.shinryo ul li a{
	display: block;
	padding: 14px 14px 14px 20px;
	font-size: 14px;
}
}

/*==================CASE==================*/

.case{
	position: relative;
	z-index: 1;
}
.case::before{
	content: "";
	position: absolute;
	top: 5px;
	left: 5px;
	width: 100%;
	height: 100%;
	background:#e8e3da;
	z-index: -1;
}

.caseb{
	display: inline-block;
	position: relative;
	margin: auto;
	padding: 20px 40px 30px;
	background: #ccb084;
	color: #fff;
}
.caseb::after,.caseb::before{
	content: "";
	position: absolute;
	left: 50%;
	transform: translate(-50%, 0);
	height: 1px;
	background:#fff; 
}
.caseb::after{
	bottom:20px;
	width: 50%;
}
.caseb::before{
	bottom:14px;
	width: 30%;
}

/*==================CLINIC==================*/

.clinicimg{
	position:absolute;
	width: 50%;
	height: 100%;
	top:0;
	left: 0;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

.clinicb{
	display: block;
	position: relative;
	margin: 0 0 0 200px;
	padding: 24px 30px 30px;
	color: #fff;
	z-index: 1;
}
.clinicb::before{
	content: "";
	position: absolute;
	top:0;
	left: 0;
	width: 100vw;
	height: 100%;
	border: 1px #fff solid;
	z-index: -1;
}
.clinicb span{
	position: relative;
}
.clinicb span::after,.clinicb span::before{
	content: "";
	position: absolute;	
	height: 1px;
	background-color: #fff;
}
.clinicb span::after{
	width: 190px;
	bottom: -10px;
	left: 0;
}
.clinicb span::before{
	width: 15px;
	bottom: -10px;
	left: 190px;
	transform-origin: bottom left;
	transform: rotate(-135deg);
}

@media only screen and (max-width: 991px) {
.clinicimg{
	position: relative;
	width: calc(100% - 80px);
	height: 350px;
}
}

@media only screen and (max-width: 576px) {
.clinicimg{
	width: calc(100% - 30px);
	height: 250px;
}
.clinicb{
	margin: 0 0 0 60px;
}
}


/*==================GREETING==================*/

.gree{
	position: relative;
	padding: 160px 0;
	z-index: 1;
	overflow: hidden;
}
.gree::before{
	content: "";
	position: absolute;
	top:0;
	right: 0;
	height: 100%;
	width: 40%;
	background:linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%),url("img/top/greebg.png");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: cover;
	z-index: -1;
}

.greeb{
	position: absolute;
	bottom: 100px;
	padding: 20px;
	width: 300px;
	color:#fff;
	letter-spacing: 0.1em;
	right: -180px;
	background: rgba(204,176,132,0.8);
}

.greeb::before,.greeb::after {
  content: "";
  position: absolute;
}
.greeb::before {
	right: 20px;
	bottom:30px;
	width: 40px;
	height: 1px;
	background-color: #fff;
}
.greeb::after {
	right: 20px;
	bottom:20px;
	width: 10px;
	height: 10px;
	border-top: 1px solid #fff;
	border-right: 1px solid #fff;
	transform-origin: top right;
	transform: rotate(45deg);
}

.greeimg{
	height: auto;
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}

@media only screen and (max-width: 1400px) {
.gree{
	padding: 80px 0;
}
.gree::before{
	height: 100%;
	width: 60%;
	background:linear-gradient(90deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0) 100%),url("img/top/greebg.png");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: cover;
}
}
@media only screen and (max-width: 1200px) {
.greeimg{
	height: 600px;
	margin: auto;
}
}
@media only screen and (max-width: 991px) {
.gree{
	padding: 40px 0 0 ;
	margin: 0 0 40px;
}
.gree::before{
	height: 100%;
	width: 100%;
	background:linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%),url("img/top/greebg.png");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: 100% auto;
}
.greeb{
	bottom: 100px;
	padding: 20px;
	width: 240px;
	right: -360px;
}
.greeimg{
	height: 450px;
}
}
@media only screen and (max-width: 576px) {
.gree::before{
	background:linear-gradient(0deg,rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 100%),url("img/top/greebg.png");
	background-repeat: no-repeat;
	background-position: right top;
	background-size: auto 750px;
}
.greeb{
	bottom: -300px;
	width: 240px;
	right: 0;
}
.greeimg{
	height: 350px;
}
}

/*==================BLOG==================*/

.blogtb{
	display: flex;
	align-items: center;
}

.blogt{
	display: inline-block;
	position: relative;
	padding: 0 0 10px;
	line-height: 1;
}
.blogt::before{
	content: "";
	position: absolute;
	bottom: 0;
	right: 0;
	width: 100vw;
	height: 1px;
	background: #000;
}

.blogb{
	position: relative;
	padding: 14px 60px 14px 20px;
	margin: 0 0 0 40px;
	background: #CCB084;
	color: #fff;
}
.blogb::before,.blogb::after{
	content: "";
	position: absolute;
	top:50%;
	right: 20px;
	height: 1px;
	width: 10px;
	transform-origin: center right;
	background-color: #fff;
}
.blogb::before{
	transform: rotate(45deg);
}
.blogb::after{
	transform: rotate(-45deg);
}

@media only screen and (max-width: 576px) {
.blogtb{
	flex-direction: column;
	justify-content: flex-start;
	align-items: flex-start;
}
.blogb{
	position: relative;
	width: 100%;
	padding: 14px 60px 14px 20px;
	margin: 40px 0 0;
}
}

/*==================ACCESS==================*/

.accb{
	display: inline-block;
	position: relative;
	margin: 0 0 180px;
	padding: 20px 80px 0 0;
	color: #C2A05A;
	z-index: 1;
}
.accb::after,.accb::before{
	content: "";
	position: absolute;	
	bottom: -10px;
	right: 0;
	height: 1px;
	background-color: #ccb084;
}
.accb::after{
	width: 100%;
}
.accb::before{
	width: 15px;
	transform-origin: bottom right;
	transform: rotate(45deg);
}

.map{
	position: absolute;
	top: 0;
	right: 0;
	width: 60%;
	height: 600px;
}
@media only screen and (max-width: 1400px) {
.accb{
	margin: 0 60px 300px 0;
	padding: 20px 60px 0 0;
}
}
@media only screen and (max-width: 1200px) {
.accb{
	margin: 0 120px 300px 0;
}
}
@media only screen and (max-width: 991px) {
.accb{
	margin: 0 0 240px 0;
}
.map{
	width: 50%;
	height: 500px;
}
}
@media only screen and (max-width: 576px) {
.accb{
	margin: 0 0 40px;
}
.map{
	position: relative;
	margin: 0 0 0 30px;
	width: calc(100% - 30px);
	height: 350px;
}	
}

/*==================info==================*/

.info{
	position: relative;
	padding:40px 0; 
}
.info::after{
	content: "";
	position: absolute;
	bottom: 0;
	left: 0;
	background-color: #ccb084;
	width: 100%;
	height: calc(100% + 40px);
	z-index: -1;
}
@media only screen and (max-width: 991px) {
.info{
	padding:40px 0 120px; 
}
}
@media only screen and (max-width: 576px) {
.info{
	padding:80px 0 120px; 
}
}

.time {
	width: 100%;
	font-weight: 600;
	font-family: "Noto Serif JP", serif!important;
}
.time tr{
	border-top: 1px solid #fff;
}
.time th {
	padding:12px 4px;
	font-size: 18px;
	word-break: break-all;
	font-weight: 600;
	color: #fff;
	letter-spacing: .2em;
}
.time td {
	padding:12px 4px;
	font-size: 18px;
	word-break: break-all;
	color: #fff;
	font-weight: bold;
}
@media only screen and (max-width: 1400px) {
	.time th {
		padding:14px 2px;
		letter-spacing: 0.2;
		font-size: 14px;
	}
	.time td {
		padding:14px 2px;
		font-size: 14px;
	}
}


/*==================footer==================*/

footer {
	margin:0;
	position: fixed;
    bottom:0;
	width:100%;
	padding:0;
	z-index: 9999;
}
	
.fmenu{;display: none;}

@media only screen and (max-width:991px){
.fmenu {
	display: flex;
	padding: 10px 5px;
	margin:0;
	position: fixed;
    bottom:0;
	z-index: 99999;
	transition: 1s;
	justify-content: space-between;
	width: 100%;
}

.fmenu1{
	display: flex;
	justify-content: space-between;
	width: 66%;
	box-shadow: 2px 2px 8px -3px rgba(0,0,0,0.3);
}
.fmenu2{
	width: 34%;
	background: #ccb084;
	box-shadow: 2px 2px 8px -3px rgba(0,0,0,0.3);
	display: flex;
	flex-direction: column;
	justify-content: center;
	font-size: 20px;
	line-height: 1;
}
.fmenu2 a{
	color: #fff;
	text-align: center;
	font-family: "Noto Serif JP", serif!important;
}
.fmenu2 i{
	transform: scaleX(-1);
	margin: 0 5px 0 0;
}
	
.footb{
	width: calc(50% - 5px);
	margin:0 5px 0 0;
	border: solid 2px #ccb084;
	background-color: #fff;
}
	
.footb1,.footb2{
	width: 100%;
}
.footb1{
	background-color: #ccb084;
	padding: 2px 0;
	text-align: center;
	font-weight: 400;
	color:#fff;
}
.footb2{
	display: flex;
	align-items: center;
	padding: 5px 10px;
	background-image: url("img/top/hba2.png");
	background-size: 20px;
	background-repeat: no-repeat;
	background-position: right 5px center;
	font-family: "Noto Serif JP", serif!important;
	color:#C2A05A;
	font-weight: 600;
}
.footb2 img{
	width: 20px;	
}
}
@media only screen and (max-width:576px){
.fmenu1{
	width: calc(100% - 50px)
}
.fmenu2{
	width: 50px;
	font-size: 14px;
}
.fmenu2 span{display: none;}
.fmenu2 i{
	margin: 0 0 5px;
}
}


/*==================back top==================*/

.back-top{
	position: fixed;
	bottom: 20px;
	right: 20px;
	z-index: 9999;
}
.back-top a{
	width: 60px;
	height: 60px;
	display: block;
	color: #fff;
	text-align: center;
	text-decoration: none;
}

@media screen and (max-width:991px){
	.back-top{
		position: fixed;
		bottom: 80px;
		right: 1.5%;
		z-index: 9999;
	}
	.back-top a{
		width: 50px;
		height: 50px;
		display: block;
		color: #fff;
		text-align: center;
		text-decoration: none;
	}
}

/* お知らせカード全体のホバー効果 */
.blog-card {
    transition: all 0.3s ease;
    height: 100%;
}

.blog-card:hover {
    opacity: 0.8;
    transform: translateY(-3px);
}

/* 画像のサイズを統一する */
.blog-img img {
    width: 100%;
    height: 200px; /* PCでの画像の高さを固定 */
    object-fit: cover; /* 縦横比を維持して切り抜き */
    border-radius: 5px;
}

/* タイトルを最大2行でカット（はみ出し防止） */
.blog-title {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    height: 1.4em; /* 2行分の高さを確保してガタつき防止 */
}

/* 本文抜粋を最大3行でカット */
.blog-excerpt {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    overflow: hidden;
}

/* スマホ時の画像高さ調整 */
@media (max-width: 767px) {
    .blog-img img {
        height: auto;
        aspect-ratio: 16 / 9;
    }
}

/*============内部ページ============*/

.titlebg{
	position: relative;
	padding: 200px 0 0;
	margin: 0 0 40px;
	background-color: #262626;
}

.title{
	max-width: 1320px;
	margin: auto;
	padding: 40px 20px;
	font-size: 48px;
	letter-spacing: 0.1em;
	color:#fff;
	font-family: "Noto Serif JP", serif;
	font-weight: 600;
}
.titleimg{
	position: absolute;
	right: 0;
	bottom:-100px;
	width: 50%;
	height: 500px;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
}
@media (max-width: 1200px) {
.title{
	font-size: 40px;
}
}
@media (max-width: 991px) {
.title{
	margin: 0;
	font-size: 34px;
	max-width: inherit;
	width: 50%;
}
}
@media (max-width: 576px) {
.titlebg{
	padding: 80px 0 100px;
	margin: 0 0 60px;
}
.title{
	padding: 20px;
	font-size: 28px;
	width: 100%;
}
.titleimg{
	position: absolute;
	right: 0;
	bottom:-70px;
	width: 80%;
	height: 160px;
}
}

.st{
	position: relative;
	text-align: center;
	margin: 0 0 140px;
	font-weight: 600;
}
.st::after{
	content: "";
	position: absolute;
	top:110%;
	left: 50%;
	width: 1px;
	height: 80px;
	background: #ccb084;
}
@media (max-width: 576px) {
.st{
	position: relative;
	text-align: center;
	margin: 0 0 80px;
	font-weight: 600;
}
.st::after{
	content: "";
	position: absolute;
	top:110%;
	left: 50%;
	width: 1px;
	height: 50px;
	background: #ccb084;
}
	
}

.st2{
	margin: 0;
	padding: 1em;
	letter-spacing: 0.05em;
	color:#fff;
	text-align: center;
	font-family: "Noto Serif JP", serif;
	background-color: #262626;
	font-weight: 600;
}
.st2 span{
	display: inline-block;
	position: relative;
	padding: 0.5em;
	border-top:1px solid #ccb084;
	border-bottom:1px solid #ccb084;
}
.st2 span::after{
	content: "";
	position: absolute;
	top:-8px;
	left: 0;
	right: 0;
	margin: auto;
	border-top:1px solid #ccb084;
	border-bottom:1px solid #ccb084;
	height: calc(100% + 16px);
	width: 80%;
}

.st3{
	border-left: 4px solid #ccb084;
	padding: 0 0 0 0.5em;
	font-weight: 600;
}

.st4{
	position: relative;
	padding: 0.5em;
	border-top:solid #717171 1px;
	border-bottom:solid #717171 1px;
	font-weight: 500;
}
.st4::after{
	content: "";
	position: absolute;
	top: -5px;
	left: 0;
	width: 100%;
	height: calc(100% + 10px);
	border-top:solid #717171 2px;
	border-bottom:solid #717171 2px;
}

.st5{
	position: relative;
	padding: 0 0 0.7em;
	letter-spacing: 0.1em;
	font-weight: 500;
	text-align: center;
}
.st5::after,.st5::before{
	content: "";
	position: absolute;
	height: 2px;
	background: #ccb084;
}
.st5::after{
	bottom:0 ;
	left: 25%;
	width: 50%;
}
.st5::before{
	bottom:-5px ;
	left: 35%;
	width: 30%;
}

.st6{
	padding: 0 0 0.5em;
	border-bottom: solid 1px #848484;
	font-weight: 500;
}

.st7{
	position: relative;
	padding: 0 0 0.5em;
	border-bottom: solid 1px #848484;
	text-align: center;
	font-weight: 500;
}
.st7::after {
  position: absolute;
  content: '';
  top: 100%;
  left: 0;
	right: 0;
	margin: auto;
  border: 15px solid transparent;
  border-top: 15px solid #848484;
  width: 0;
  height: 0;
}

table.price{
	margin:0 auto 15px;
	padding:4px;
	width:100%;
	border-collapse:collapse;
	border-spacing:0;
	background-color:#fff;
	empty-cells:show;
	border-top:solid 1px #ccc;
	border-left:solid 1px #ccc
}
.price th{
	font-size:16px;
	letter-spacing:1px;
	padding:8px;
	border-bottom:solid 1px #ccc;
	border-right:solid 1px #ccc;
	text-align: center;
		border-top:solid 1px #ccc;
	border-left:solid 1px #ccc

}
.price td{
	font-size:14px;
	color:#333;
	padding:4px;
	background-color:#fff;
	border-bottom:solid 1px #ccc;
	border-right:solid 1px #ccc
}

.cp_actab {
	position: relative;
	overflow: hidden;
	width: 100%;
	margin: 0 auto 10px;
	color: #ffffff;
}
.cp_actab > input {
	position: absolute;
	z-index: -1;
	opacity: 0;
}
.cp_actab label {
	font-weight: bold;
	line-height: 2;
	position: relative;
	display: block;
	padding: 1em 1.7em 1em 1em;
	cursor: pointer;
	margin: 0 0 1px 0;
}
.cp_actab .cp_actab-content {
margin:0!important;
	overflow: hidden;
	max-height: 0;
	-webkit-transition: max-height 0.35s;
	transition: max-height 0.35s;
	color: #333333;
	background: #F2F2F2;
}
.cp_actab .cp_actab-content p {
	margin: 1em;
}
.cp_actab > input:checked ~ .cp_actab-content {
	max-height: 50em;
}
.cp_actab label::after {
	line-height: 4;
	position: absolute;
	top: 0;
	right: 0;
	display: block;
	width: 2em;
	height: 4em;
	-webkit-transition: all 0.35s;
	transition: all 0.35s;
	text-align: center;
}
.cp_actab input[type=checkbox] + label::after {
	font-family: "Font Awesome 5 free";
	content: '\f103';
}
.cp_actab input[type=checkbox]:checked + label::after {
	transform: rotate(180deg);}