@charset "utf-8";

/*====================================================================================================
  WHOLE
====================================================================================================*/
* { margin: 0; padding: 0;}
:root { 
	--violet: #585BBF;
	--light-violet: #F9F5FF;
	--green: #26A687;
	--h-height: 120px;
	--bottom: 10rem; /*160px*/
	--bottom-sm: 3.75rem; /*60px*/
}
html { scroll-behavior: smooth;	font-size: 16px;}
body {
	margin: 0;
	padding: 0;
	color: #343434;
	font-family: "Noto Sans JP", sans-serif, system-ui;
	line-height: 1.7;
	font-weight: 500;
	font-size: 16px;
    overflow-x: hidden; 
}

h1, h2, h3, h4, h5, h6, th, strong { font-weight: 700;}
ul { list-style: none;}
a { color: #343434; text-decoration: none;}
a:hover { color: var(--violet);}
div, p, ul, ul li, h1, h2, h3, h4, h5, dl, dt, dd {	margin: 0; padding: 0;}
img { width: 100%; height: auto; vertical-align: bottom; border: none;}
.pc {display:block;}
.sm {display:none!important;}
.drag-sort-y { display:flow-root;}

[id] { scroll-margin-top: var(--h-height);}

/*====================================================================================================
  BASE
====================================================================================================*/
#base { margin: 0; padding: 0; width: 100%; position: relative;}

/*====================================================================================================
  HEADER
====================================================================================================*/
#header {
	position: fixed;
	width: 100%;
	line-height: 0;
	z-index: 99999;
	pointer-events: none;
}
#header .h_box {
	display: flex;
	justify-content: space-between;
	align-items: center;
	width: 100%;
} 
#header_logo {
	display: block;
	width: fit-content;
	margin-left: 2.5rem;
	transition: all 0.5s ease-in-out;
	pointer-events: auto;
}
#header_logo a { text-indent: -9999px;}
#header_logo img {
	width: 515px;
	height: auto;
	transition: width 0.5s ease-in-out;
}
#header_logo.shrink img {
	width: 400px;
}
.scrolled #header_logo img {
	width: 293px;
}
#header_logo.shrink p {
	font-size: 0.8em;
	transition: width 0.5s ease-in-out;
}
#header .h_inner {
	height: var(--h-height);
	align-items: center;
	width: fit-content;
	display: flex;
	flex-direction: column;
	gap: 1.1875rem;
	background-color: #fff;
	padding: 1.5rem 2.5rem 1.5rem 3.25rem;
	border-bottom-left-radius: 30px;
	justify-content: center;
	pointer-events: auto;
}
#header .h_inner ul { display: flex;}
#header .h_inner ul li { line-height: 31px;}
#header .tel_icon { width: 28px; height: auto; margin-right: 6px; vertical-align: baseline;}
#header .h_nav ul {
	display: flex;
	gap: 2.5rem;
	font-size: clamp(0.875rem, 0.563rem + 0.42vw, 1.063rem); /* 1200:15px, 1920:17px */
}
#header .contact ul li:first-child {
	background-color: var(--light-violet);
	border-radius: 5px;
	font-size: 14px;
	padding: 4px 18px; 
	margin-right: 20px;
}
#header .contact ul li:last-child a {
	font-size: 2.625rem;
	color: var(--violet);
	font-weight: 700;
	margin-left: 7px;
}

#header .openbtn { display: none;}
#header #h_nav_sm { display: none;}


/*====================================================================================================
  MAIN
================================================================== ==================================*/
#main { margin: 0 auto; width: 1200px;}

/*====================================================================================================
  FOOTER
====================================================================================================*/
#footer { margin-top: 3rem;}
#footer .grad_box { position: relative;}
#footer .f_tree {
	width:462px;
	height: auto;
	position: absolute;
	bottom: 0;
	left: calc(50% - 260px) ;
}
#footer .f_box {
	margin: 0 auto;
	padding-block: 1.6875rem 2.5rem;
	display: flex;
	max-width: 898px;
	background: #fff;
	gap: 5rem;
}
#footer .f_inner_l { font-size: 17px; line-height: 1.8823;}
#footer .link_bnr { display: flex; gap: 1.875rem;}
#footer .ubie_bnr { position: relative; width: 180px;}
#footer .ubie_bnr img { width: 180px; height: 180px;}
#footer .kyukyu7119_bnr img { width: 180px; height: 60px;}
#footer .ubie_bnr a {
	position: absolute;
	width: 160px;
    height: 25px;
    bottom: 20px;
    left: 9px;
    border-radius: 20px;
}
#footer .logo { width: 428px;}
#footer .tel_icon { width: 23px; height: auto; vertical-align: baseline; margin-right: 6px;}
#footer .tel_no { font-size: 2rem;}

/*リンクを右下に固定*/
#page-top {
	position: fixed;
	text-indent: -9999px;
	width: 100px;
	height: 100px;
	right: 7%;
	bottom: 100px;
	z-index: 1;
    /*はじめは非表示*/
	opacity: 0.8;
}
#page-top a {
	display: block;
	width: 100px;
	height: 100px;
	background: #fff url(../image/pageup.svg) no-repeat center center / 80%;
	border-radius: 50%;
	box-shadow: 0 0 20px 0 rgba(88, 91, 191, 0.6)
}
#page-top {
    position: fixed;
    bottom: 50px;
    right: -100px; /* 初期状態で画面外 */
    opacity: 0;
    transition: all 0.5s ease-in-out;
}
#page-top.LeftMove {
    right: 20px; /* 画面内にスライド */
    opacity: 1;
}
#page-top.RightMove {
    right: -100px; /* 画面外に移動 */
    opacity: 0;
}

#footer .copy {
	font-size: 15px;
	font-weight: 400;
	text-align: center;
}
#footer .copy p {
	display: inline-block;
	background-color: var( --light-violet);
	padding: 20px 40px;
	border-radius: 20px 20px 0 0;
}

