@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: #fff;
}

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

.main h2 {
    color: #342a0a;
    padding: 16px;
    border-left: 5px solid #f1ed6b;
    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;
}

.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: #fff;
}

.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: #7DD994;
    border-color: #7DD994;
}

.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;
    }
*/
}
.keireki dl {
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5em;
  }

  .keireki-item {
    display: flex;
	margin-bottom: 30px;
  }

  .keireki-item dt {
    min-width: 180px;
	font-weight: 500;
    margin: 0;
  }

  .keireki-item dd {
    margin: 0;
  }
   /* スマホサイズ（〜768px）では縦並び */
  @media (max-width: 768px) {
	.keireki{
		width: 90%;
		margin: 0 auto;
	}
    .keireki-item {
      flex-direction: column;
    }

    .keireki-item dt {
      min-width: auto;
	  font-weight: bold;
    }
  }

   .info-table {
            width: 100%;
            border-collapse: collapse;
        }
        .info-table th, .info-table td {
            border: 1px solid #ddd;
            padding: 10px;
        }
        .info-table th {
            background-color: #f1f1f1;
            text-align: center;
        }
        .info-table td {
            text-align: left;
        }
        .map {
            text-align: center;
            margin-top: 20px;
			max-width: 400px;
        }
        @media (max-width: 600px) {
            .info-table th, .info-table td {
                display: block;
                width: 100%;
            }
            .info-table th {
                text-align: left;
            }
        }

        .sp-only {
  display: none;
}
.pc-only {
  display: block;
}
.implant-table th {
	width: 20%;
}
.implant-table td {
	width: 30%;
}
.implant-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 40px;
}
.implant-table td,
.implant-table th {
  border: 1px solid #595959;
  padding: 2%;
  text-align: left;
}

/* レスポンシブ対応：スマホ表示時に切り替え */
@media screen and (max-width: 768px) {
  .sp-only {
    display: block;
  }
  .pc-only {
    display: none;
  }

  .implant-cards section {
    margin-bottom: 2em;
  }

  .implant-cards h3 {
    font-size: 1.2em;
    margin-top: 1em;
    border-left: 4px solid #007BFF;
    padding-left: 10px;
  }

  .implant-card {
    background: #f9f9f9;
    border: 1px solid #ddd;
    margin: 1em 0;
    padding: 1em;
    border-radius: 8px;
  }

  .implant-card h4 {
    font-size: 1em;
    margin-bottom: 0.5em;
  }

  .implant-card img {
    max-width: 300px;
    margin: 0 auto;
    height: 100%;
    display: block;
    margin-bottom: 0.5em;
  }

  .implant-card p {
    margin: 0;
    font-size: 0.95em;
  }
}
.syorei-table {
  width: 80%;
  border-collapse: collapse;
  margin: 0 auto;
  text-align: center;
}

.syorei-table th,
.syorei-table td {
  padding: 2%;
  vertical-align: middle;
 border: 1px solid #595959;
}

.syorei-table img {
  max-width: 100%;
  height: auto;
}
.syorei-table td:nth-child(1),.syorei-table td:nth-child(3) {
    width: 200px;
}
.syorei-table td:nth-child(2) {
    width: 50px;
    font-weight: bold;
}
.image-label-wrapper {
  position: relative;
  display: inline-block;
  width: 100%;
  max-width: 100%;
}

.image-label-wrapper img {
  display: block;
  width: 100%;
  height: auto;
}

.label {
  position: absolute;
  bottom: 5px;
  right: 5px;
  background: rgba(0, 0, 0, 0.7);
  color: #fff;
  padding: 4px 8px;
  font-size: 0.9rem;
  border-radius: 4px;
  font-weight: bold;
}

/* -------- レスポンシブ対応 -------- */
@media screen and (max-width: 768px) {
  .syorei-table {
  width: 95%;}
}

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

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