@charset "utf-8";

/* *****共通設定***** */
html {
	font-size: 62.5%;
}
body {
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}
* {
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	color :#615c61;
	font-size: 1.6rem;
}
strong { font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	font-weight: 900; /*'M PLUS 1 Code', 'Zen Kaku Gothic New', "Hiragino Sans", */ }


.btn-warning-navy {
	background-color: #615c61!important;
	color: #ffffff;
}
p {
    line-height: 2.8rem;
}

.fw-bold700 {
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	font-weight: 700;
}

.fw-black900 {
		font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
		font-weight: 900;
	}
.colorRed {
	color: #ff0000;
}

#index-service .box-title{
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	font-weight: bold;
}

span.spann {
    font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
	font-size: 22px;
}

#Aboutpage p{
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

#Menupage p{
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

#collagen p{
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

#scalp p{
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

#setplan p{
	font-family: "Shippori Mincho", 'Noto Serif JP','M PLUS 1', "メイリオ", "Hiragino Sans", "Hiragino Kaku Gothic ProN", sans-serif;
}

.red {
    font-weight: bold;
    margin-top: 20px;
    margin-left: 7px;
    border: #0F67B1 1px solid;
    color: #0F67B1;
    padding: 0px 7px;
    line-height: 19px;
    font-size: 12px;
}



@media screen and (min-width:400px) {
	.d-ss-none {
		display: none!important;
	}
}

main{
    display: block;
	color: #5B5B5B;
}
main .btn{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 1.5rem;
}

.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}

.midashi-10 {
	font-size: 10px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 10 + ((1vw - 3.2rem) * 0.625));
}

.midashi-12 {
	font-size: 12px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 12 + ((1vw - 3.2rem) * 0.625));
}

.midashi-14 {
	font-size: 14px; /* IE8以下とAndroid4.3以下用フォールバック */  /* before 16 */
	font-size: calc( 14 + ((1vw - 3.2rem) * 0.625));
}

.midashi-16 {
	font-size: 16px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 16 + ((1vw - 3.2rem) * 0.625));
}

.midashi-18 {
	font-size: 18px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 18 + ((1vw - 3.2rem) * 0.625));
}

.midashi-20 {
	font-size: 20px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 20 + ((1vw - 3.2rem) * 0.625));
}

.midashi-22 {
	font-size: 22px; /* IE8以下とAndroid4.3以下用フォールバック */
	font-size: calc( 22 + ((1vw - 3.2rem) * 0.625));
}

/*---------------------------------------------
大きいブロックの隙間調整
===============================================*/
section {
	padding: 70px 10px;
}

@media screen and (max-width:767.98px) {
	section {
		padding-top: 60px 10px;
	}
	
	.midashi-10 {
	font-size: 8px; 
}
}

/* 個別ページのsection　背景を白に */
#Page-contact section ,#Page-lesson section {
	background-color: #ffffff;
}

#Page-lesson section:nth-child(even) {
	background-color: rgba(38,157,255,.05) /*#f2f2f2*/;
}
/*---------------------------------------------
文字サイズ/h1～6
===============================================*/
h1.service-midashi {
	font-size: 2rem;
	background: linear-gradient( #1EAB5E , #615c61);
	padding: 1rem;
	color: #fff;

}
h2, h3{
   color: #401f0f;
	text-transform: uppercase;
}

h3 {
	font-size: 160%;
}

h1, h2, h3, h4, h5, h6 {
	color: #333;
}

.midashi-sub {
	color: #4e454a;
}
.midashi-udline {
	padding-bottom: 1rem;
	border-bottom: 0.5px solid #333;
	letter-spacing: 0.2rem;
	display: inline-block;
}

/*---------------------------------------------
ヘッダー(navbar) 
===============================================*/
header {
	width: 100%;
    position: absolute;
    z-index: 100;
}

.navFrame {
	display: flex;
	align-items: center;
	justify-content: space-between;
}

nav {
	display: flex;
	flex-direction: column;
}
ul.nav {
	align-items: center;
}
.navbar {
	padding: 0;
    background-color: rgba(245, 245, 245, 0);
}
.header-logo-bar {
	display: flex;
	flex-direction: row;
	align-items: center;
}
.header-logo-bar p {
	font-size: 110%;
	margin: 0;
	line-height: 1.4em;
}

.nav-item:nth-child(2n) p {
	margin: 0;
	padding: 0;
	font-size: 1.25rem;
}

.nav-item .nav-link {
	font-size: 1.4rem;
	font-weight: 500;
}

.top-naviimg a img {
	width: 150px;
    margin: 10px 0;
}

.header-comments {
	width:100%;
}

.header-comments p, .header-comments p span {
	margin: 0;
	padding: 0;
	font-size: 1.6rem;
}

button.menu-btn {
    position: fixed;
    right: 0;
    top: 0;
    width: 90px;
    height: 85px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 14;
    background: #0F67B1;
    padding: 20px;
}




@media screen and (max-width: 1499.98px) {
	header {
		position: fixed;
    	top: 0;
    	z-index: 15;
        background-color: #fff;
	}
	
	#Page-menu header, #Page-reserve header, #Page-thanks header, #Page-php header, #Page-about header {
		position: relative;
	}
	
	
	.header-logo-bar a {
		font-size: 90%;
	}
	
	.navbar-toggler {
		font-size: 1rem!important;
	}
	
	.top-naviimg a img {
		width: 117px;
	}
	
	.top-naviimg {
		display: flex;
		align-content: flex-end;
		flex-wrap: wrap;
	}
	
	.top-naviimg span {
		display: block;
		align-self: flex-end;
    	padding-bottom: 5px;
	}
	
	.navbar{
		background-color: #fff;
	}
	
	.header-comments {
		width:100%;
	}
	
	.header-comments p, .header-comments p span {
		margin: 0;
		font-size: 1.2rem
	}
    
    button.menu-btn {
        width: 89px;
        height: 89px;
}
    
   
}

@media screen and (min-width: 576px) and (max-width: 767.98px) {
	.nav-link-comments p, .header-comments p span {
		font-size: 1.2rem;
	}
	
	header {
		position: fixed;
    	top: 0;
    	z-index: 15;
	}
	
	#Page-menu header, #Page-reserve header, #Page-thanks header, #Page-php header, #Page-about header {
		position: relative;
	}
	
	.navbar {
		background-color: transparent!important;
	}
	
	.top-naviimg {
		display: flex;
		align-content: flex-end;
		flex-wrap: wrap;
	}
	
	.top-naviimg span {
		display: block;
		align-self: flex-end;
    	padding-bottom: 10px;
	}
    
    button.menu-btn {
    width: 60px;
    height: 60px;
}
    
        .top-naviimg a img {
            margin: 5px 0;
            width: 85px;
    }
}


@media screen and (max-width: 575.98px) {
	header {
		position: fixed;
    	top: 0;
    	z-index: 15;
	}
	
	#Page-menu header, #Page-reserve header, #Page-thanks header, #Page-php header, #Page-about header {
		position: relative;
	}
	
	
	.header-logo-bar a {
		font-size: 90%;
	}
	
	.navbar-toggler {
		font-size: 1rem!important;
	}
	
	.top-naviimg a img {
		width: 60px;
	}
	
	.top-naviimg {
		display: flex;
		align-content: flex-end;
		flex-wrap: wrap;
	}
	
	.top-naviimg span {
		display: block;
		align-self: flex-end;
    	padding-bottom: 5px;
	}
	
	.navbar{
		background-color: #fff;
	}
	
	.header-comments {
		width:100%;
	}
	
	.header-comments p, .header-comments p span {
		margin: 0;
		font-size: 1.2rem
	}
    
    button.menu-btn {
        width: 60px;
        height: 60px;
        padding: 13px 20px 27px;
}
}

@media screen and (max-width: 575.98px) {
	nav.navbar {
		height: 100%;
	}
	
	.top-naviimg a {
		text-decoration: none;
	}
	
	.top-naviimg a img {
		width: 80px;
		margin: 5px 0 5px 0;
	}
	
	.top-naviimg {
		display: flex;
		align-content: flex-end;
		flex-wrap: wrap;
	}
	
	.top-naviimg span {
		display: block;
		align-self: flex-end;
    	padding-bottom: 5px;
	}
	
	.top-naviimg a img {
        width: 85px;
        margin: 5px 0;
}
}


.navbar .navbar-collapse{
    flex-grow: 0;
	background-color: #fff;
    padding: 7px 30px;
    border-radius: 1.5rem;
}

.nav-link {
	color: #5b5b5b!important;
	text-transform: uppercase;
}

.nav-item a.active {
	display: block;
	color: #615c61!important;
}

a.nav-link:hover{
	opacity: 1.0;
}

.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(251,251,241,1);
}

p.top-small {
	font-size: 0.6rem;
	padding: 0; margin: 0px auto 5px auto;
}

/*---------------------------------------------*/
/* breadcrumb
============================================== */
.breadcrumbBox {
	background-color: #9E9E9F;
	padding: 5px 0;
}

.breadcrumb {
	margin-bottom: 0!important;
}

.breadcrumb-item a, .breadcrumb-item.active {
	color: #ffffff;
}
/*---------------------------------------------*/
/* toppage main-bar
============================================== */
#Page-company .main-bar {
	background: url("../image/banner_about.jpeg") no-repeat center;
	background-size: cover;
	display: flex;
	align-items: center;
	margin: 0;
}

#Page-business .main-bar {
	background: url("../image/banner_business.jpeg") no-repeat center;
	background-size: cover;
	display: flex;
	align-items: center;
	margin: 0;
}

#Page-product .main-bar {
    background: url("../images/banner_product.jpeg") no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    margin: 0;
}

#Page-contact .main-bar {
    background: url("../images/banner_contact.jpeg") no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    margin: 0;
}

#Page-thanks .main-bar {
    background: url("../images/top02.jpeg") no-repeat center;
    background-size: cover;
    display: flex;
    align-items: center;
    margin: 0;
}

.main-bar h1 {
    margin: 0 auto;
    color: #0F67B1;
    text-align: left;
    position: relative;
    z-index: 7;
    font-size: 3.75rem;
    letter-spacing: 10px;
    display: block;
    line-height: 1;
    font-weight: 500;
}

span.text-sab {
    font-weight: bold;
}

.main-bar {
	display: flex;
	flex-direction: row;
	align-items: center;
	height: 50vh;
	width: 100%;
	position: relative;
}

.main-bar-img {
	background-color: rgba(0,0,0,0.0);
	height: 100%;
	width: 100%;
	display: flex;
	flex-direction: row;
	align-items: center;
	padding-left: 50px;
	margin: 0 auto;
}

.main-bar-img img {
	height:70px;
}

#Page-about .main-bar::after, #Page-reserve .main-bar::after {
	content: '';
	position: absolute;
	background: rgba(255,255,255,0.4);
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 3;
}

#Page-menu .main-bar::after {
	content: '';
	position: absolute;
	background: rgba(255,255,255,0.4);
	top: 0; right: 0; bottom: 0; left: 0;
	z-index: 3;
}

#sec-topcontact {
	background-color: rgba(160, 233, 255,0.2);
}

@media screen and (max-width: 767.98px) {
	.main-bar {
		height: 40vh!important;
	}
	.main-bar-img img {
		height: 45px;
	}
}






/*---------------------------------------------*/

/* contact.html

============================================== */

div#contact {
    padding-top: 100px;
}

#contact h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
	margin-top: 40px;
	letter-spacing: 0.2em;
	font-weight: normal;
	font-size: 1.8rem;
}
#contact h2:before {
    position: absolute;
    bottom: -1.5rem;
    left: 25%;
    font-size: 12px;
    text-transform: uppercase;
    content: 'contact';
    margin: auto;
	line-height: 30px;
}

#form-table, .form-line {
	display: flex; flex-direction: row; align-items: center;
	width: 100%; flex-wrap: wrap;
}
.form-line {
	border-bottom: #e2e2e2 1px solid;
	padding: 0 0.5em;
}

.form-koumoku {
	font-weight: bold;
	color: #393E46;
	width: 25%;
}

.form-naiyou {
	width: 75%;
    padding: 28px 45px;
}

.colorBlue {
    color: #929AAB !important;
    font-family: 'Arial Black', 'Gadget', 'sans-serif';
    font-size: 150%;
}

.form-select{
	font-size: 16px;
}

.form-control{
	font-size: 16px;
    font-weight: normal;
}

.en-title {
    font-family: 'Arial Black', 'Gadget', 'sans-serif';
    font-size: 180%;
    margin: 0;
    padding: 1em 0 0.5em 0;
    line-height: 1em;
}

.form-check-input[type=checkbox] {
    border-radius: 1.25em;
}

textarea.form-control {
    min-height: calc(2.5em + 10.75rem + calc(var(--bs-border-width)* 2));
}

.tx-left{
	text-align: left;
	padding: 0;
}

.col-12 {
    flex: 0 0 auto;
    width: 80%;
    margin: auto;
}

.fmail {
    font-size: 16px;
    padding-right: 20px;
    margin-right: 5px;
    border: 1px solid #ced4da;
}

.select01 {
    width: 20%;
    display: inline;
}

.btn-primary {
    overflow: hidden;
    position: relative;
    z-index: 1;
    color: #000;
    background: #fff;
    padding: 10px 100px;
	letter-spacing: 0.2em;
	border: 1px solid #525252;
	font-family: "Shippori Mincho B1", serif;
}

.btn-primary:hover {
    background: #525252;
    transition-duration: 0.2s;
    color: #fff;
	opacity: 0.5;
	border: 1px solid #525252;
	font-family: "Shippori Mincho B1", serif;
	margin-top: -3px;
    height: 50px;
}

.btn {
    border-radius: 0;
}


#about .btn02 {
    width: 45%;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
    padding: 0.8em 2em;
}


.box-scroll {
    width: 100%;
    height: 200px;
    overflow: auto;
    padding: 10px 20px;
    border: 1px solid #ced4da;
}

p {
    font-size: 16px;
}

#privacy span.font-600 {
    font-weight: bold;
    font-size: 16px;
}



@media screen and (max-width: 998.98px) {
    #about .btn02 {
    width: 70%;
    margin-top: 15px;
    margin-bottom: 0;
    text-align: center;
    padding: 0.4em 2em;
}
}

@media screen and (max-width: 767.98px) {
	.form-koumoku {
		width: 100%; padding: 0.75em 0 0.25em 0;
	}
	
	.form-naiyou {
		width: 100%; padding: 0 0 0.75em 0;
	}
	
	.btn-primary {
    padding: 10px 90px;
}
	
	.btn-primary:hover {
    height: 60px;
}
    
    #about .btn02 {
    width: 100%;
}
}

@media screen and (max-width:575.98px) {
	.btn-primary {
    padding: 10px 60px;
}
	
	.btn-primary:hover {
    height: 50px;
}
}

div.form-line:first-child {
	border-top: #e2e2e2 1px solid;
}
/*---------------------------------------------*/
/* technical-data, technical-data-DL
============================================== */
.form-DL-table {
	width: 80%;
	margin: 0 auto;
	display: flex; flex-direction: row; align-items: center;
	flex-wrap: wrap;
}

.form-DL-table .form-koumoku {
	font-size: 80%;
	color: #fbaa05;
}

.form-DL-table .form-naiyou {
	width: calc( 100% - 25% - 30px);
	padding: 0.75em 0;
}

@media screen and (max-width: 767.98px) {
	.form-DL-table {
		width: 100%;
	}
	.form-DL-table .form-naiyou {
	width:100%;
}
}


i.fab {
    font-size: 30px;
}




/*---------------------------------------------*/

/* thanks.html

============================================== */


#thankyou h2 {
  position: relative;
  display: inline-block;
  margin-bottom: 1em;
	margin-top: 40px;
	letter-spacing: 0.2em;
	font-weight: normal;
	font-size: 1.8rem;
}
#thankyou h2:before {
    position: absolute;
    bottom: -1.5rem;
    left: 35%;
    font-size: 12px;
    text-transform: uppercase;
    content: 'thank you';
    margin: auto;
	line-height: 30px;
}

div#thankyou {
    padding-top: 150px;
}

h4.h2-udline {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.thanks {
    margin-top: 100px;
}

/*---------------------------------------------*/

/* ボタンの色、変更

============================================== */
.form-check-input:checked {
    background-color: #0F67B1;
    border-color: #0F67B1;
}

.form-check-input:focus {
    border-color: #0F67B1;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(194, 186, 163, .25);
}

.form-control:focus {
    border-color: #0F67B1;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(194, 186, 163, .25);
}

.form-select:focus {
    border-color: #0F67B1;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(194, 186, 163, .25);
}

.btn-primary:focus {
    border-color: #0F67B1;
    outline: 0;
    box-shadow: 0 0 0 .25rem rgba(194, 186, 163, .25);
}



/*---------------------------------------------*/
/* size
============================================== */
.max-960 {
	 max-width: 960px;
	margin: 0 auto;
}


/*---------------------------------------------

画面右側のお問い合わせの指示

===============================================*/

div#keiyaku-top {
    position: absolute;
    right: 0;
    top: 150px;
    width: 70px;
    padding: 25px 5px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 14;
    background: rgba(0,0,0,.8);
    text-orientation: upright;
    -ms-writing-mode: tb-rl;
    writing-mode: vertical-rl;
}

div#keiyaku-top a {
    text-decoration: none;
}

div#keiyaku-top:hover {
    opacity: 0.3;
}

div#contents-top {
    position: fixed;
    right: 0;
    top: 85px;
    width: 90px;
    height: 85px;
    text-align: center;
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    z-index: 14;
    background: #BEA574;
    padding: 20px;
   
}

div#contents-top::before {
    position: absolute;
    bottom: 0.5rem;
    left: 17%;
    font-size: 12px;
    text-transform: uppercase;
    content: 'お問い合せ';
    margin: auto;
    line-height: 26px;
}

div#contents-top a{
    text-decoration: none;
}

div#contents-top:hover {
    opacity: 0.3;
}

.sp-001{
    display: none;
}

.pc-001{
    display: block;
}



@media screen and (max-width: 1499.98px) {
 div#contents-top {
    position: fixed;
    right: 89px;
    top: 0;
    width: 89px;
    height: 89px;
}
}



@media screen and (max-width: 767.98px) {
.sp-001{
    display: block;
    color: #fff;
    margin-bottom: 0;
}
    
    .pc-001{
    display: none;
}
    
    div#contents-top {
    right: 60px;
    top: 0;
    width: 60px;
    height: 60px;
    padding: 15px;
}
    div#contents-top::before {
    display: none;
}
}

/*---------------------------------------------*/

/* トップページ　index.html

============================================== */


#pagetop01 .rl-text p {
    font-size: 18px;
    line-height: 4.5rem;
}

.rl-text p {
    font-weight: 600;
}

#pagetop01 {
    background: linear-gradient(135deg, white 0%, white 40%, #EAF4F8 60%, #EAF4F8 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 400px;
}

.pagetop01Box {
    display: flex;
    justify-content: space-between;
}

.company01 {
    width: 30%;
}
.company02 {
    width: 65%;
}
.company03 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
}

a.contents-top {
    width: calc((100% - 5%) / 2);
     text-decoration: none;
    margin-bottom: 30px;
}


a.contents-top:hover{
	opacity: 1.0;
    font-weight: bold;
}

#pagetop02{
    background: url("../image/top_001.jpeg");
    background-size: cover;
	background-position: top center;
    padding: 7.64706% 0.11765% 0;
    display: flex;
    justify-content: space-between;
}

section#pagetop03 {
    padding: 140px 10px 70px;
}


@media screen and (max-width: 767.98px) {
.pagetop01Box {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    
    section#pagetop03 {
    padding: 140px 10px 70px;
}
}

/*---------------------------------------------*/

/* index.html　ご案内部分の指示

============================================== */

.pagetop02Box {
    display: flex;
    justify-content: space-between;
    margin-top: -5px;
    -webkit-transform: translateY(70px);
    transform: translateY(70px);
}

.pagetop02Box p {
    line-height: 3.5rem;
    text-align: center;
}

.img_wrap{
  width: calc((100% - 10%) / 3);
  height: 260px;
  transition-duration: 0.5s;
  padding: 80px 30px;
}

.img_wrap img{
  width: 100%;
  cursor: pointer;
}
.img_wrap:hover{
  box-shadow: 10px 10px 10px rgba(0,0,0,0.5);
  transform: translateY(-10px);
  transition-duration: 0.5s;
}

a.img_wrap {
    text-decoration: none;
    margin: auto 0;
}

.box_lightblue{
background: rgba(135, 206, 235, 0.9);

}

.box_blue {
    background-color: rgba(64, 141, 193, 0.9);
}

.img_wrap p {
    color: white;
}

.img_wrap h4 {
    color: white;
    text-align: center;
    font-size: 3rem;
    font-weight: 500;
    letter-spacing: 0.155em;
    line-height: 1.2;
    margin-bottom: 35px;
}

.img_wrap h5 {
    width: 30%;
    margin: auto;
}


@media screen and (max-width: 767.98px) {
.pagetop02Box {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    
    a.img_wrap {
    width: 100%;
    height: auto;
    transition-duration: 0.5s;
    padding: 30px 30px;
    margin-bottom: 20px;
}
}

/*----------　ここまで　---------*/

.height-250{
    height: 250px;
}

.main01 {
    width: 60%;
    margin: 0 40px;
}

.company01.main01 {
    width: 30%;
    margin: auto;
}

.main02 {
    display: flex;
    justify-content: space-between;
}


.main01 h4 {
    text-align: center;
    padding: 20px 0;
    border: solid 3px #0F67B1;
    background: #0F67B1;
    color: white;
    font-size: 2rem;
    margin-bottom: 20px;
}

.main03 p {
    text-align: center;
    font-weight: bold;
    background: white;
    padding: 10px 30px;
    width: 240px;
    margin: 30px auto 0;
}

div.main06 {
    display: flex;
    justify-content: space-between;
    list-style: none;
    margin: 30px auto;
}

div.main06 a {
    border: solid 3px #0F67B1;
    padding: 20px;
    background: rgb(255, 255, 255, 0.8);
    width: 48%;
    text-align: center;
    color: #615c61;
    margin: 0;
}

div.main06 a.contents-top:hover{
	opacity: 1.0;
    font-weight: bold;
    background: rgb(70, 181, 1, 0.8);
    color: white;
}

.main03 div.service-top {
    padding: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
}

.service-top a.service-sab.contents-top {
    width: 100%;
    margin: 0;
    padding: 25px 0;
    text-align: center;
}

div.service-sab {
    text-align: center;
    padding: 25px 0;
}


.green02 {
    background: #4fcc02;
    color: white;
}
.green01 {
    background: #0F67B1;
    color: white;
}

.whitebox {
    background: white;
    color: #615c61;
}


.green02:hover {
    background: rgb(70, 204, 2, 0.3);
}
.green01:hover {
    background: rgb(70, 181, 1, 0.3);
}

.whitebox:hover {
    background: rgb(70, 181, 1, 0.3);
    color: white;
}


.partner-logo {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    flex-direction: row;
}



a.logo-images {
    width: calc((100% - 10%) / 3);
    margin: 0 auto 20px;
}

a.logo-images:hover {
    opacity: 0.5;
}


section#pagetop05 {
    padding: 20px 10px 70px;
}

#pagetop05 a.contents-top {
    width: calc((100% - 10%) / 3);
    text-decoration: none;
    margin-bottom: 30px;
}

#pagetop05 p.title {
    color: white;
    font-size: 2rem;
    margin-top: -7em;
    margin-left: 20px;
    font-weight: bold;
    position: absolute;
    z-index: 10;
}

section#pagetop04 {
    background: rgba(135, 206, 235, 0.5);
}

.top-contactBox {
    display: flex;
    justify-content: space-between;
    width: 80%;
    margin: 0 auto;
}

.sabbox08 a {
    display: flex;
    justify-content: center;
    background-color: #BEA574;
    padding: 18px 10px;
    color: #fff;
    width: 250px;
    font-size: 16px;
    font-weight: 500;
}

section#pagetop04 h2 {
    text-align: center;
    font-size: 3rem;
    line-height: 4.5rem;
}

section#pagetop04 h4 {
    text-align: center;
    font-size: 20px;
    margin: 30px 0;
}

section#pagetop04 p {
    text-align: center;
    margin-top: 20px;
}

.pagetop04Box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: auto;
}

.pagetop04Box a {
    width: calc((100% - 10%) / 2);
}

a.telbox {
    border: 1px solid white;
    background: #0F67B1;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    color: white;
}

a.telbox:hover {
    border: 1px solid #0F67B1;
    background: white;
    color: #0F67B1;
}

a.mailbox {
    border: 1px solid white;
    background: #BEA574;
    padding: 10px;
    text-decoration: none;
    text-align: center;
    color: white;
}

a.mailbox:hover {
    border: 1px solid #BEA574;
    background: white;
    color: #BEA574;
}

.bgbox {
    display: flex;
    margin: auto;
    justify-content: center;
}

.bgbox01 {
    display: block;
}


@media screen and (max-width: 1399.99px) {
    .company01.main01 {
    width: 25%;
    margin: auto;
}
    
    .main01 {
    width: 65%;
    margin: 0 20px;
}
}

@media screen and (max-width: 1180px) {
    
    .main01 h4 {
    margin-bottom: 50px;
}
    
   .main02 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    .main03 p {
    width: 100%;
    margin: 0 auto;
}
    
    .main03 div.service-top {
    padding: 0 0 50px 0;
}
    
        .company01.main01 {
        margin: 0 auto;
    }
    
    .keiyasuzumi {
    width: 95%;
    margin: 0 auto;
}
    
}

@media screen and (max-width: 990px) {
    
    section#pagetop04 h2 {
    text-align: center;
    font-size: 2.5rem;
    line-height: 3rem;
}
    
    section#pagetop04 h4 {
    text-align: center;
    font-size: 18px;
    margin: 30px 0;
}
    
    .bgbox01 {
    display: none;
}
}

@media screen and (max-width: 767.98px) {
    
    section#pagetop01 {
    background-color: #0F67B1;
    padding-top: 70px;
}
    
    #pagetop03 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    
        .company01.main01 {
        width: 95%;
        margin: auto;
    }
    
    .main01 {
        width: 95%;
        margin: auto;
    }
    
    .keiyasuzumi {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    
}
    
    .company01 {
    width: 100%;
}
    
       .company02 {
        width: 100%;
        margin-top: 20px;
    }
    
    #pagetop05 a.contents-top {
    width: 100%;
}
    
    section#pagetop06 {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    
    .other-contents {
    width: 95%;
    margin: 0 auto;
}
    
    
    
}

@media screen and (max-width: 575.98px) {
    div.main06 {
    display: flex;
    justify-content: space-between;
    margin: 0;
    flex-direction: column;
}
    
    div.main06 a {
    width: 100%;
    margin: 10px auto;
}
    
    .company03 {
    display: flex;
    justify-content: space-between;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: column;
}
    
    a.contents-top {
    width: 100%;
    text-decoration: none;
    margin-bottom: 30px;
}
    
    section#pagetop04 {
    padding: 20px 0;
}
    
    .top-contactBox {
    display: flex
;
    justify-content: space-between;
    width: 100%;
    margin: 0 auto;
}
    
    section#pagetop04 h2 {
    text-align: center;
    font-size: 2rem;
    line-height: 2.5rem;
}
    
    section#pagetop04 h4 {
    text-align: center;
    font-size: 12px;
    margin: 15px 0;
}
    
    .pagetop04Box {
    display: flex;
    justify-content: space-between;
    width: 100%;
    margin: auto;
    flex-direction: column;
}
    
    .pagetop04Box a {
    width: 100%;
    margin: 10px auto;
}


}



/*---------------------------------------------

company.html

===============================================*/
#Page-company h1{
    font-size: 2rem;
}

section#Management-Philosophy {
    background: linear-gradient(135deg, white 0%, white 40%, #EAF4F8 60%, #EAF4F8 100%);
}

.contents-title h1:after {
    width: 60px;
    height: 3px;
    content: '';
    display: block;
    margin: 25px 0;
    background-color: #4fcc02;
}

.contents-title h2:after {
    width: 60px;
    height: 3px;
    content: '';
    display: block;
    margin: 25px 0;
    background-color: #4fcc02;
}

#message .mainbox {
    display: flex;
    justify-content: space-between;
}

#message .sabbox01 {
    width: 60%
}

#message .sabbox02 {
    width: 36%
}

p.sabbox01-1 {
    text-align: right;
}

#Management-Philosophy h3 {
    margin-bottom: 30px;
    font-weight: 600;
}

#Page-company p {
    line-height: 2.8rem;
}


#Page-company .rl-text p {
    font-weight: 600;
}


li.bottom30 {
    margin-bottom: 30px;
}

#policy01 h4.title {
    font-size: 2rem;
    margin: 40px 0 20px;
}

#policy01 h2 {
    font-size: 2.5rem;
}

#policy01 ul li {
    line-height: 3.5rem;
}

#policy02 h5 {
    font-size: 1.8rem;
    font-weight: bold;
}

#policy02 h4.title {
    font-size: 2rem;
    margin: 40px 0 20px;
}

#policy03 h4.title {
    font-size: 2rem;
    margin: 40px 0 20px;
}

#policy03 h2 {
    font-size: 2.5rem;
}


a.url {
    color: #38b73b;
}

.gaiyo-pege {
    width: 100%;
    display: flex;
    justify-content: space-between;
}

a.ContactForm001 {
    margin: 20px 10px;
    color: black;
    border: solid 2px #0F67B1;
    padding: 30px 0;
    text-align: center;
    text-decoration: none;
}

a.ContactForm001:hover {
    background-color: #0F67B1;
    color: white;
}

a.map {
    color: black;
    border: solid 2px #0F67B1;
    padding: 5px 15px;
    text-align: center;
    text-decoration: none;
    margin: 20px auto;
}

a.map:hover {
    background-color: #0F67B1;
    color: white;
}

.link {
    width: 25%;
    display: flex;
    flex-direction: column;
    margin-top: 0;
}


@media screen and (max-width: 992px) {
#message .mainbox {
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
}
    #message .sabbox01 {
    width: 100%;
}
    
    #message .sabbox02 {
    width: 100%;
}
    .gaiyo-pege {
    width: 100%;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
}
    a.ContactForm001 {
    margin: 20px 0;
}
}



@media screen and (max-width: 767.98px) {
#message .mainbox {
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
}
    #message .sabbox01 {
    width: 100%;
}
    
    #message .sabbox02 {
    width: 100%;
}
    
    
}

/*---------------------------------------------

会社概要の表のためのcss

===============================================*/

/* company-access */

table#company-access {
    width: 70%;
}


#company-access tr {
  border-bottom: 1px solid #b5b1b1;
}

#company-access th,
#company-access td {
  padding: 24px 0;
  border: none;
}

#company-access th {
  width: 30%;
}


@media screen and (max-width: 992px) {
    
    table#company-access {
    width: 100%;
}
    
    .link {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin-top: 10px;
}
    
}




/* sp */
@media only screen and (max-width: 480px) {
  #company-access th,
  #company-access td {
    width: 100%;
    display: block;
  }

  #company-access th {
    width: 100%;
  }

  #company-access td {
    padding-top: 0;
  }
}



/*---------------------------------------------

business.html

===============================================*/

.BusinessBox {
    margin: 50px auto;
}

.businessBox {
    display: flex;
    justify-content: space-between;
}

.businessBox01 {
    display: flex;
    justify-content: space-between;
    flex-direction: row-reverse;
}

.sabbox03 {
    width: 48%;
    line-height: 3.5rem;
}

a.btn01 div {
    margin: 20px 0;
    color: black;
    border: solid 2px #0F67B1;
    padding: 10px 0;
    text-align: center;
}

a.btn01 div:hover {
    color: white;
    border: solid 2px #0F67B1;
    background: #0F67B1;
}

a.btn01 {
    text-decoration: none;
}


@media screen and (max-width: 992px) {
    
    .businessBox01 {
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
}
    
    .businessBox {
    display: flex;
    justify-content: space-between;
    flex-direction: column-reverse;
}
    
    .sabbox03 {
    width: 100%
}

}

@media screen and (max-width: 767.98px) {

}



/*---------------------------------------------

product.html

===============================================*/

section#product-menu {
    background: linear-gradient(135deg, white 0%, white 40%, #EAF4F8 60%, #EAF4F8 100%);
    
}

#product-menu .mainbox {
    margin: 50px auto;
}

#product-menu .sabbox {
    display: flex;
    justify-content: space-between;
    column-gap: 0;
}


#product-menu .sabbox a {
    border: 1px solid #0F67B1;
    background: white;
    padding: 10px 2%;
    width: calc((100% - 5%) / 6);
    text-align: center;
    text-decoration: none;
    color: #0F67B1;
}

#product-menu .sabbox a:hover {
    border: 1px solid #0F67B1;
    color: white;
    background: #0F67B1;
}

.productBox ul {
    display: flex;
    justify-content: space-between;
    width: 100%;
    padding: 0;
    flex-wrap: wrap;
}

.productBox ul li {
    width: calc((100% - 10%) / 4);
    margin: 10px 0;
}

.productBox ul li div {
    border: 1px solid #615c61;
    margin-bottom: 10px;
}


section#makers-menu {
    background: linear-gradient(135deg, white 0%, white 40%, #EAF4F8 60%, #EAF4F8 100%);
}

section#makers-menu .makersBox {
    display: flex;
    justify-content: space-between;
    margin: 50px auto 0;
    flex-wrap: wrap;
}

section#makers-menu .makersBox a {
    border: 1px solid #0F67B1;
    padding: 10px 2%;
    width: calc((100% - 10%) / 3);
    text-align: center;
    text-decoration: none;
    color: white;
    margin: 20px 0;
    background: #0F67B1;
}

section#makers-menu .makersBox a:hover {
    border: 1px solid #0F67B1;
    color: #0F67B1;
    background: white;
}



/*---------------------------------------------

ラインナップの指示
ボタン押したらポップが開く

===============================================*/

#popup {
  display: none; /* label でコントロールするので input は非表示に */
}

.popup-open {
  cursor: pointer; /* マウスオーバーでカーソルの形状を変えることで、クリックできる要素だとわかりやすいように */
}

.popup-overlay {
  display: none; /* input にチェックが入るまでは非表示に */
  pointer-events: auto;
}

#popup:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
  
}

.popup-window {
  width: 90vw;
  max-width: 560px;
  padding: 20px;
  background-color: #ffffff;
  border-radius: 6px;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.popup-text {
    margin: 0;
    padding: 10px;
}

.popup-text:not(:last-of-type) {
  margin-bottom: 1em
}

.popup-close {
  cursor: pointer;
  position: absolute;
  top: -26px;
  right: 0;
}

.popup-img{
     border-bottom: 1px solid #615c61;
}

#popup02 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup02:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup03 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup03:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup04 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup04:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup05 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup05:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup06 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup06:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup07 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup07:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup08 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup08:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup09 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup09:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup10 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup10:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup11 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup11:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup12 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup12:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup13 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup13:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup14 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup14:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup15 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup15:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup16 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup16:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

#popup17 {
  display: none; /* label でコントロールするので input は非表示に */
}

#popup17:checked ~ .popup-overlay {
  display: block;
  z-index: 99999;
  background-color: #00000070;
  position: fixed;
  width: 100%;
  height: 100vh;
  top: 0;
  left: 0;
}

/* ----------------------　ここまで　------------------------- */

@media screen and (max-width: 992px) {
    
    #product-menu .sabbox {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
}
    
    #product-menu .sabbox a {
    width: calc((100% - 3%) / 2);
    margin: 5px 0;
}
    
    .productBox ul li {
    width: calc((100% - 5%) / 2);
    margin: 10px 0;
}
    
    section#makers-menu .makersBox a {
        width: 100%;
        margin: 10px 0;
}
    
    


}

@media screen and (min-width: 768px) {
    #product-menu .sabbox {
        display: flex;
        justify-content: flex-start;
        column-gap: 30px;
    }
    
    .productBox ul {
        justify-content: flex-start;
        column-gap: 20px;
    }
}

/*---------------------------------------------

footer.html

===============================================*/
#footer{
	margin-top: auto;
    border-top: #e2e2e2 1px solid;
}

#footer-contents {
	display: flex;
	flex-direction: row;
	align-items: flex-start;
	margin: 80px 0;
}

#footer-contents .footer-contents-inner {
	display: flex;
	align-items: flex-start;
	margin: 0 auto;
}

#footer .footer-logo {
	display: block;
	margin-bottom: 30px;
}

#footer .footer-logo img {
	width: 165px;
}

#footer .btm-green {
	height: 150px;
	background: url("../images/footer-btm-green.jpg");
	background-size: cover;
	background-position: top center;
}
.bannerBox {
	padding: 20px 0;
	display: flex;
	flex-direction: row;
	align-items: center;
	justify-content: center;
} 

#footer address, #footer p {
	color: #615c61;
    margin-bottom: 0.5rem;
}

#footer #copyright p, #footer #copyright a {
    background-color: #000000;
    color: #ccc;
	font-size: 1.4rem;
	text-decoration: none;
}

 
 
#footer ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

 
#footer .logo {
  text-align: center;
  padding: 20px 0;
  border-bottom: 1px solid #111;
}
 
#footer .logo a {
  display: inline-block;
}
 
#footer .logo img {
  width: 120px;
}
 
#footer .nav a {
    display: block;
    padding: 0 10px;
    color: #615c61;
    margin: 20px auto;
    text-decoration: none;
}

#footer .nav a:hover {
    border-bottom: solid 2px #0F67B1;
}


@media screen and (max-width: 767.98px) {
	#footer-contents {
		flex-direction: column;
		align-items: flex-start;
        margin: 30px 0;
	}
	
	#footer-contents img {
		width: 120px;
	}
    
    #footer ul {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    
    #footer ul li {
    width: calc((100% - 5%) / 3);
}
    
    #footer address, #footer p {
    color: #615c61;
    margin-bottom: 0.5rem;
    margin-bottom: 30px;
}
    
    #footer .nav a {
    display: block;
    padding: 0 10px;
    color: #615c61;
    margin: 5px auto;
    text-decoration: none;
    font-size: 14px;
}

}


 
@media only screen and (min-width: 641px) {
  #footer01 .nav {
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -webkit-align-items: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -webkit-justify-content: center;
    -ms-flex-pack: center;
    justify-content: center;
    padding: 20px 0;
  }
  #footer01 .nav a:hover {
    color: #ca353b;
  }
}