﻿@charset "utf-8";

/* -----------------------------------------------------------
    company
-------------------------------------------------------------- */
.underline{
	text-decoration: underline;
}

.company-area{
	margin: 50px auto 0px;
	background: linear-gradient(90deg,#fff 0%, #fff 50%, #F8F8F8 50%, #F8F8F8 100%);
}
.company-area .inner{
	padding: 50px 0 0;
	background: linear-gradient(90deg, #fff 0%, #fff 880px, #F8F8F8 880px, #F8F8F8 100%);
}

.section-catch{
	display: flex;
    position: relative;
	align-items: baseline;
    gap: 20px;
	margin: 0 0 30px;
}
.section-catch {
    margin: 0px 0 15px;
    font-size: 2.0rem;
    letter-spacing: .1em;
    font-weight: 500;
    border-bottom: solid 1px #ccc;
    position: relative;
}

.section-catch::before {
    position: absolute;
    content: " ";
    border-bottom: solid 1px var(--green);
    bottom: -1px;
    width: 8%;
    display: block;
}

.company-area .en {
    font-family: var(--en);
    font-size: 4.5rem;
    font-weight: bold;
    color: var(--green);
	letter-spacing: .08em;
}

/* table */
#company table{
    width: 100%;
    border-collapse:collapse;
	line-height: 1.7;
	margin: 30px 0 0;
}
#company table tr{
	border-bottom: solid 1px #ddd;
	display: block;
}
#company table th{
    line-height: 1.5;
	font-size: 1.6rem;
	text-align: left;
	font-weight: 500;
    position: relative;
	padding: 20px 0 20px 20px;
	width: 200px;
    vertical-align: top;
}
#company table th::before {
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 32px;
	background: var(--green);
	width: 8px;
	height: 2px;
}

#company table td{
    padding: 20px;
    vertical-align: top;
}

#company .access-link{
	margin: 10px 0 0;
}
#company .access-link a{
	border: solid 1px #BEBEBE;
	border-radius: 30px;
	padding: 5px 10px ;
	font-size: 1.5rem;
}
#company .access-link i{
	color: var(--green);
	margin: 0 5px 0 0;
}
#company .box-com {
	padding: 0 0 50px;
}

#company iframe{
	margin: 20px 0 20px;
}

/*企業理念*/
.list-title{
    font-size: 2.0rem;
    font-weight: 600;
    margin: 30px 0 20px 0;
    line-height: 1.4;    
	padding: 0 0 0 20px;
    position: relative;
}

.list-title::before {
    background: var(--green);
    border-radius: 3px;
    content: '';
    display: block;
    height: calc(100% - 5px);
    left: 0;
    position: absolute;
    top: 2px;
    width: 4px;
}
/*ご挨拶*/
.message_name {
    text-align: right;
    margin: 20px 0 0;
}

.message_name span{
    display: inline-block;
    font-size: 2.2rem;
    padding: 0 5px 0 10px;
}

#message .txt{
	padding: 0 0 20px;
	line-height: 2;
}

#message .txt span{
	font-size: 1.8rem;
}


/* 沿革・歴史 */
#history dl {
	display: flex;
	flex-wrap: wrap;
	justify-content: space-between;
	margin: 30px 0 0px;
}

#history dl dt {
	text-align: right;
	width: 8.5em;
	padding: 0.5em 2.0em 0.5em 0.5em;
	position: relative;
}

#history dl dt::after {
	content: '●';
	position: absolute;
	right: -0.55em;
	top: 10px;
	font-size: 14px;
	color: var(--green);
}

#history dl dd {
	width: calc(100% - 8.5em);
	padding: 0 2.0em 3.0em;
	border-left: 2px solid #ccc;
}
#history dl dd:last-child {
	padding: 0 2.0em 2.0em;
}

#history dl dd h2 {
	font-size: 22px;
	font-weight: bold;
	margin: 0 0 5px;
}

#history dl dd > div{
	display: flex;
}

#history dl dd p{
	line-height: 2;
}

#history dl dd p.month{
	width: 50px;
}

#access span{
    text-align: center;
    padding: 5px 15px;
	margin: 0 10px 0 0;
    line-height: 1.6;
    border: 1px solid var(--green);
    border-radius: 3px;
}

@media screen and (max-width: 768px){
	
	.company-area{
		margin: 0 auto;
		background: #fff;
		padding: 40px 0 10px;
	}
	
	.company-area .inner{
		padding: 0;
		background: none;
	}
	
	.section-catch{
		gap: 15px;
		padding: 0;
	}
	
	.contents-left .section-title{
		font-size: 1.5rem;
	}
	
	.company-area .en{
		font-size: 3.0rem;
	}

	.company-area .copy {
		font-size: 2.6rem;
		margin: 40px 0 10px 0;
		font-weight: bold;
	}
	
    /* table */
    #company table{
		margin: 10px 0 0;
    }
    #company table tr{
        border-bottom: solid 1px #ddd;
    }
    #company table th{
        padding: 20px 0 5px 20px;
        width: auto;
        display: block;
    }
	#company table th::before {
		top: 30px;
	}
	
    #company table td{
        padding: 0 0 20px 0;;
        display: block;
    }
	
	#company .box-com {
		padding: 0 20px 30px;
		padding-top: 30px;
		margin-top: -30px;
	}
	/* アクセス */
	#company iframe{
		width: 100%;
		height: 300px;
		margin: 10px 0 15px;
	}
	
	/*企業理念*/
	.list-title{
		font-size: 1.8rem;
		margin: 20px 0 10px 0;
		padding: 0 0 0 20px;
	}
	
	.message_name {
		font-size: 1.4rem;
		margin: 10px 0 0;
	}

	.message_name span{
		font-size: 2.0rem;
		padding: 0 5px 0 5px;
	}
	
	#philosophy .basic-txt{
		font-size: 1.6rem;
	}
	
	#message .photo {
		margin: 0px auto 0;
	}

	/* 沿革・歴史 */
	#history dl {
		display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
		margin: 30px 0 0;
	}

	#history dl dt {
		text-align: left;
		width: 80px;
		padding: 0.5em 1.0em 0.5em 0.5em;
		position: relative;
	}

	#history dl dt::after {
		top: 9px;
		font-size: 14px;
	}

	#history dl dd {
		width: calc(100% - 80px);
		padding: 0 0px 20px 20px;
		border-left: 2px solid #ccc;
	}
	
	#history dl dd:last-child{
		padding: 0 0px 10px 20px;
	}

	#history dl dd h2 {
		font-size: 22px;
		font-weight: bold;
		margin: 0 0 5px;
	}

	#history dl dd > div{
		justify-content: space-between;
	}

	#history dl dd p{
		width: 180px;
		width: calc(100% - 35px);
		line-height: 1.7;
	}

	#history dl dd p.month{
		width: 40px;
	}
}

/* -----------------------------------------------------------
    side-nav
-------------------------------------------------------------- */
.contents-left {
	width: 800px;
	float: left;
    padding: 0 0 80px;
}

.contents-right {
	margin: -100px 0 0;
	width: 250px;
	float: right;
}

.contents-right #side-scroll {
	margin: 100px 0 100px;
    position: fixed;
    width: 250px;
    top: 55px;
}
.contents-right #side-scroll .company-logo {
	font-family: var(--en);
  	align-items: center;
  	font-size: 2rem;
    font-weight: 600;
	letter-spacing: 0.1em;
  	margin: 10px 0 0 0;
  	line-height: 1.4;    
	background: var(--green);
	color: #fff;
	padding: 20px 0;
	text-align: center;
	border-radius: 5px;
}
/*.contents-right #side-scroll .company-logo::after {
	content: "";
	height: 1px;
	flex-grow: 1;
	background: #432B26;
	margin: 0 0 0 1rem;
}*/

.contents-right .ttl-s span {
	color: var(--green);
	font-family: var(--en);
	font-size: 1.4rem;
    font-weight: 600;
	letter-spacing: 0.1em;
	display: block;
}

.contents-right .side-nav {
}

.contents-right .side-nav li {
	font-size: 1.6rem;
    line-height: 1.4;
    font-weight: 800;
}

.contents-right .side-nav li p {
	font-size: 1.6rem;
	font-weight: 500;
	line-height: 1.5;
	position: relative;
}

.contents-right .side-nav li a {
	border-bottom: #ccc dashed 1px;
    padding: 15px 15px 10px;
    display: block;
    width: 100%;
}

.contents-right .side-nav li a:hover {
	background-color: var(--palegreen);
	transition: 0.5s;
}


@media screen and (max-width: 768px){
	.contents-left {
		width: 100%;
        padding: 0 0 0px;
	}

	.contents-right {
		margin: 0;
		width: 100%;
		float: none;
        display: none;
	}

}