@import url("base.css");

h1,
h2 {
	font-family: "游明朝", "YuMincho", "Hiragino Mincho ProN W3", "ヒラギノ明朝 ProN W3", "Hiragino Mincho ProN", "HG明朝E", "ＭＳ Ｐ明朝", "ＭＳ 明朝", serif;}
h3,
h4 {
	font-family: '游ゴシック体', 'YuGothic', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', "Yu Gothic UI", "Yu Gothic UI Semibold", 'Sawarabi Gothic', sans-serif;}

ul,
ol,
dt,
th,
td {font-family: '游ゴシック体', 'YuGothic', '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', "Yu Gothic UI", "Yu Gothic UI Semibold", 'Sawarabi Gothic', sans-serif;
    list-style-type: unset;
}

.main_content {
    max-width: 1024px;
    margin: 0 auto;
}

.main p
{color: #342a0a;}

.menu-button {
    position: fixed;
    top: 2%;
    right: 2%;
}

.sec-header {
    text-align: center;
    margin-top: 100px;
}

.sec-header h1 {
    font-size: 30px;
    padding: 8px;
    letter-spacing: 0.4rem;
	color: #342a0a;
}

.left-border {
    border-left: 5px solid #5B8C06;
}

.main h2 {
    color: #342a0a;
    padding: 16px;
    border-left: 5px solid #342a0a;
    background: #EFEBE1;
    line-height: 1.2;
    letter-spacing: 0.2rem;
}

.main h3 {
    color: #342a0a;
    font-family: 'Sawarabi Gothic';
    font-size: 18px;
    letter-spacing: 0.1rem;
	font-weight: bold;
}

.h3_bold {
	font-weight: 100;
	text-shadow: 
		0.3px 0.3px 0, 
		0.3px -0.3px 0px,
		-0.3px 0.3px 0,
		-0.3px -0.3px 0px,
		0.3px 0px 0px,
		0px 0.3px 0px,
		-0.3px 0px 0px,
		0px -0.3px 0px;
}

.main h4 {
	color: #342a0a;
	padding: 5px;
	border-left: 5px solid #342a0a;
	background: #EFEBE1;
	line-height: 1.2;
	letter-spacing: 0.1rem;
}

.main h5 {
	color: #342a0a;
	padding: 5px;
	background: #f2f6f7;
	line-height: 1.2;
	letter-spacing: 0.1rem;
}

.main img {
    width: 100%;
}

.main a {
	color: #342a0a;
	font-weight: 900;
	text-decoration: underline;
}

.main a:hover {
	color: rgba(245,123,17,1.00);
	text-decoration: underline;
}

#rightNav {
 width:248px;}

#right-gnav li{
	position: relative;
	height:40px;
	padding: 8px 0 8px 8px;
	font-size: 13px;
	color: #483909;
}

.list-group-item a{
	color: #483909;
	font-weight: 600;
	display: block;
}

#right-gnav li a:hover{
	color: #f29855;
	text-decoration: underline;
}

.list-group-item.active {
    z-index: 2;
	font-weight: bold;
    background-color: #d5bf8d;
    border-color: #d5bf8d;
}

.time-calendar {
	width:225px;
	height: 75px;
	text-align: center;
	letter-spacing: 0.1rem;
	font-size:10.5px;
	color:#483909;
	border-collapse: collapse;
	table-layout: fixed;
	border: 1px solid #876f4a;
}
.time-calendar td {
	border-bottom: 1px solid #876f4a;
}
.time-calendar th {
	background-color: #d5bf8d;
}


@media screen and (min-width: 768px) {
	.sec-header {
		margin-top: 128px;
	}

	iframe {
		width: 710px;
		height: 400px;
	}
}
	@media screen and (min-width: 991px) {
    .sec-header {
        margin-top: 177px;
    }

	iframe {
		width: 710px;
		height: 400px;
	}
	
/*
    .main img {
        width: 604px;
        margin-bottom: 24px;
    }
*/
}
.flow_design10 {
	display: flex;
	justify-content: center;
	align-items: center;
  }
  
  .flow10 {
	padding-left: 0;
  }
  
  .flow10 > li {
	list-style-type: none;
	border: 2px solid rgba(245,123,17,1.00);
	padding: 20px;
	border-radius: 20px;
  }
  
  .flow10 > li:not(:last-child) {
	margin-bottom: 40px;
	position: relative;
  }
  
  .flow10 > li:not(:last-child)::after {
	content: '';
	position: absolute;
	border: 20px solid transparent;
	width: 0;
	height: 0;
	bottom: -53px;
	left: 50%;
	transform: translateX(-50%);
	-webkit-transform: translateX(-50%);
	-ms-transform: translateX(-50%);
	border-top-color: rgba(245,123,17,1.00);
  }
  
  .flow10 > li dl dt {
	font-size: 1.3em;
	font-weight: bold;
	border-bottom: 2pt dashed #ccc;
	padding-bottom: 0.5em;
	margin-bottom: 0.5em;
  }
  
  .flow10 > li .icon10 {
	color: rgba(245,123,17,1.00);
	margin-right: 0.5em;
  }
  
  .flow10 > li dl dd {
	margin: 0;
  }
  .qa-1 {
    max-width: 700px;
    margin-bottom: 7px;
    border: 1px solid #d6dde3;
    border-radius: 5px;
}

.qa-1 summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    padding: 1em 2em 1em 3em;
    color: #333333;
    font-weight: 600;
    cursor: pointer;
}

.qa-1 summary::before,
.qa-1 p::before {
    position: absolute;
    left: 1em;
    font-weight: 600;
    font-size: 1.3em;
}

.qa-1 summary::before {
    color: #80bc09;
    content: "Q";
}

.qa-1 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 7px;
    height: 7px;
    margin-left: 10px;
    border-bottom: 3px solid #333333b3;
    border-right: 3px solid #333333b3;
    content: '';
    transition: transform .5s;
}

.qa-1[open] summary::after {
    transform: rotate(225deg);
}

.qa-1 p {
    position: relative;
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 3em 1.5em;
    color: #333;
    transition: transform .5s, opacity .5s;
}

.qa-1[open] p {
    transform: none;
    opacity: 1;
}

.qa-1 p::before {
    color: red;
    line-height: 1.2;
    content: "A";
}
.denture-price th,.denture-price td{
	border: 1px solid #000;
	padding: 2%;
	width: 170px;
	text-align: center;
}
.denture-price th{
	background-color: #80bc09;
}

#mfp_OperationCheck{
	display: none;
}
@media screen and (min-width: 991px) {}

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

/* スマホ・小画面でロゴが中央寄せかつ切れないように調整 */
@media (max-width: 991px) {
  header.bg-white .site-title,
  header.bg-white .site-title a {
    display: block;
    width: 100%;
    text-align: center;
    padding-left: 0 !important;
    margin-left: 0 !important;
  }
/*  header.bg-white .site-title img {
    max-width: 80%;
    height: auto;
    margin: 0 auto;
    display: inline-block;
  }
}*/
    
    
  header.bg-white .site-title img {
    max-width: 100%;
      margin-left: 1.3rem;
    height: auto;
    /*margin: 0 auto;*/
    display: inline-block;
  }
}   
    
    

/* デスクトップ幅でロゴが左端に行きすぎないように中央寄せ or 左寄せ調整 */
@media screen and (min-width: 992px) {
  header.bg-white .site-title {
    display: flex;
    align-items: center;
    justify-content: flex-start; /* 左寄せなら flex-start、中央寄せなら center */
    padding-left: 20px; /* 適度な余白を追加 */
  }

  header.bg-white .site-title img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}