@charset "utf-8";
/*------------------------------------------------------------
	デフォルトスタイル
------------------------------------------------------------*/
html, body, div, span, applet, object, iframe,
h1, h2, h3, h4, h5, h6, p, blockquote, pre, hr,
a, abbr, acronym, address, big, cite, code,
del, dfn, em, font, img, ins, kbd, q, s, samp,
small, strike, strong, sub, sup, tt, var,
b, u, i, center,
dl, dt, dd, ol, ul, li,
fieldset, form, label, legend,
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	background: transparent;
	border: 0;
	outline: 0;
}
html{
	font-size: 62.5%;
}
body {
	min-width: 900px;
	font-size: 1.4rem;
}

body,
table,
input, textarea, select, option {
	font-family: "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Noto Sans JP", sans-serif;
	
}

article, aside, canvas, details, figcaption, figure,
footer, header, hgroup, menu, nav, section, summary {
	display: block;
}

ol, ul {
	list-style: none;
}

blockquote, q {
	quotes: none;
}

:focus {
	outline: 0;
}

ins {
	text-decoration: none;
}

del {
	text-decoration: line-through;
}

img {
	vertical-align: top;
}

h1, h2, h3, h4, h5, h6{
	font-weight: normal;
}

a,
a:link {
	color: #127c5e;
	text-decoration: underline;
}

a:visited {
	color: #88bdae;
}

a:hover {
	color: #88bdae;
	text-decoration: none;
}

a:active {
	color: #127c5e;
}
a.external-link::after{
	content: "";
	display: inline-block;
	margin:0 0.5rem;
	width: 1.5rem;
	height: 1.5rem;
	background: url("../../img/common/external_links.png") no-repeat;
	background-position: bottom;
	background-size: contain;
}
a.square-link{
	display: block;
	width: fit-content;
	padding: 1rem;
	margin: 0.75rem 0;
	color: #007FE1;
  background-color: #dbedfa;
	border: 1px solid #007FE1;
	border-radius: 0.5rem;
	font-weight: 600;
}
a[href*="tel:"]{
	color: inherit;
	text-decoration: none;
}
a[href*="tel:"]::after{
	background: none !important;
	margin:0;
	width:0;
	height:0;
}

@media (min-width: 751px) {
	a[href*="tel:"] {
		pointer-events: none;
		cursor: default;
	}
}
/*------------------------------------------------------------
	レイアウト
------------------------------------------------------------*/
body {
	min-width: 1000px;
	color: #463f3f;
	line-height: 1.5;
	background-color: #f0dfc5;
}

#container {
	text-align: left;
}

#main {
	margin: 0 auto;
	width: 960px;
}

/*------------------------------------------------------------
	ヘッダー
------------------------------------------------------------*/
#header {
	background-color: #dbb371;
	padding: 14px 0;
	height: 70px;
	border-bottom: 2px solid #bb2321;
	margin-bottom: 33px;
}

#header h1 {
	width: 960px;
	margin: 0 auto;
	box-sizing: border-box;
	padding: 20px 0 14px;
	text-align: center;
}

/*------------------------------------------------------------
	パンクズリスト
------------------------------------------------------------*/
#pagePath {
}

#pagePath li {
	display: inline;
	color: #000;
	font-size: 1.2rem;
}

#pagePath li a {
}

/*------------------------------------------------------------
	conts
------------------------------------------------------------*/
#conts {
	width: 730px;
	float: right;
}
/*------------------------------------------------------------
	sideBar
------------------------------------------------------------*/
#sideBar {
	width: 200px;
	float: left;
}

.sNavi {
	margin-bottom: 30px;
}

.sNavi li {
	background-color: #fff;
	margin-bottom: 10px;
	border-radius: 6px;
}
.sNavi li.igaku {
	display: table;
	border-radius: 0px;
	background-color: #8c6c9e;
}
.sNavi li.taiin {
	display: table;
	border-radius: 0px;
	background-color: #658ea7;
}

.sNavi li span{
	width: 200px;
	padding: 0 0 0 13px;
	display: table-cell;
	height: 60px;
	border: none;
	color: #FFF;
	font-weight: 600;
	vertical-align: middle;
}
.sNavi li a {
	display: flex;
	justify-content: space-between;
	padding: 2px 13px;
	line-height:41px;
	color: #463f3f;
	font-weight: 600;
	text-decoration: none;
	border-radius: 6px;
}
.sNavi li a::after {
	content: "▶";
	font-size: 1.1em;
	color: #bb2321;
}
.sNavi a:hover {
	color: #7d7979;
}

.sNavi .on a {
	color: #463f3f;
}

#sideBar .banner {
	margin-bottom: 15px;
}

#sideBar .banner a:hover {
	text-decoration: underline;
}
#sideBar .banner-no-img {
    font-size: 0.95rem;
    padding: 0.5rem;
    border: 1px solid #9D9D9D;
    text-align: center;
}
#sideBar .banner-no-img:hover {
	text-decoration: none;
    background-color: aliceblue
}
/*------------------------------------------------------------
	フッター
------------------------------------------------------------*/
/*画面下部に固定*/
#container{
	overflow:hidden;
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}
#main {
	flex: auto;
}

/*ここまで*/

footer {
	padding: 0;
	background-color: #463f3f;
	overflow: hidden;
}

footer div#contact{
	width: 960px;
	margin: 0 auto;
	overflow: hidden;

}
footer .txtArea {
	width: 420px;
	float: left;
	padding: 40px;
}

footer div.txtArea:first-of-type {
	padding-right: 0;
}

footer .txtArea .inner {
	padding: 0;/*15px 18px 16px*/
	color: #FFF;
}

footer .txtArea .ttl {
	margin-bottom: 9px;
	color: #fff;
	font-size: 1.5rem;
	font-weight: bold;
	line-height: 1.5;
	border-bottom: 2px solid #808080;
}

footer .txtArea p {
	font-size: 1.3rem;
	line-height: 1.5;
}

footer .txtArea .txt {
	margin-bottom: 0;/*10px*/
}
footer .txtArea .txt a{
	color: #fff;
}
footer .txtArea .txt a:hover{
	color: #aca9a9;
}
footer .txtArea .txt a[href*="tel:"]{
	color: #FFF;
}
footer p.copy-right {
	clear: both;
	padding: 10px 0;
	color: #FFF;
	font-size: 1.2rem;
	line-height: 16px;
	text-align: center;
}

/*------------------------------------------------------------
	scroll
------------------------------------------------------------*/

@media (prefers-reduced-motion: no-preference) {
  :root {
    scroll-behavior: smooth;
  }
}

#scrollTopButton {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 12px;
    font-size: 16px;
    background-color: #127c5e;/*#463f3f*/
    color: #fff;
    border: none;
    border-radius: 45px;
    cursor: pointer;
    opacity: 0; /* 初期状態で透明 */
    transition: opacity 0.3s; /* トランジションを追加 */
}

#scrollTopButton.show {
    display: block;
    opacity: 0.7; /* 表示時の不透明度 */
}
