@charset "utf-8";
/*
Theme Name: 株式会社つなぐ Theme
Description: 株式会社つなぐ themes
Version: 1.0
*/

@import url('https://fonts.googleapis.com/css?family=Montserrat');

/*------------------------------------------------------

   common

-------------------------------------------------------*/
:root {
    --base-color: #333333;
    --main-color: #002061;
    --sub-color:  #ffe63d;

	--font-base: 'Noto Sans JP', sans-serif;
	--font-en:  "Montserrat", sans-serif;
}



body {
	position: relative;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--base-color);
    background: var(--sub-color);
}

input,
select,
textarea,
radio,
checkbox,
button {
	font-family: 'Noto Sans JP', sans-serif;
}
label {
    cursor: pointer;
}
p {
    line-height: 2;
}
img {
    vertical-align: middle;
}
.sp {
	display: none !important;
}
.inner {
    width: 100%;
    max-width: 1140px;
	padding: 0 20px;
	margin:auto;
	position: relative;
}
.inner-in {
	padding: 0 100px;
}

.link {
    color: var(--main-color);
	text-decoration: underline !important;
}


/* off */
.link-off a {
    cursor: default !important;
    /*color: #ccc !important;*/
}

/* nav-line */
.nav-line a:not(.no-line){
	opacity: 1 !important;
	text-decoration: none !important;
    position: relative;
}
.nav-line a:not(.no-line):after {
    position: absolute;
    bottom: -4px;
    left: 0;
    content: '';
    width: 100%;
    height: 0;
    border-top:solid 1px var(--main-color);
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
.nav-line a:not(.no-line):hover:after,
.nav-line .current a:after {
    transform-origin: left top;
    transform: scale(1, 1);
}
.nav-line-white a:not(.no-line):after {
    border-top:solid 1px #fff;
}

/* more */
.more a {
    font-size: 18px;
    font-weight: 500;
    color: var(--main-color);
    display: inline-block;
    width: 230px;
    padding: 13px 5px;
    text-align: center;
    background: var(--sub-color);
    border-radius: 1000px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.more a i {
	display: inline-block;
	width: 38px;
	height: 38px;
	background: url("./assets/img/cmn/icon_arrow.png") no-repeat center;
	background-size: contain;
    vertical-align: -12px;
}
.more a:hover {
    color: var(--sub-color);
    background: var(--main-color);
}
.more.center {
	text-align: center;
	margin-top: 30px;
}

/* outlink */
i.outlink {
    display: inline-block;
    width: 18px;
    height: 18px;
	background: url("./assets/img/cmn/icon_outlink.png") no-repeat center;
	background-size: contain;
}


/*------------------------------------------------------

   header style

-------------------------------------------------------*/
#gb-header {
	width: 100%;
	position: fixed;
	left:0;
	top: 0;
	z-index: 1000;
}
.header-in {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    height: 100px;
    padding: 0 20px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
}
.site-title {
	width: 320px;
	height: 100px;
    line-height: 1;
    border-radius: 0 0 20px 0;
    background: #fff;
    overflow: hidden;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
    position: absolute;
    left: 0;
	top: 0;

}
.site-title a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    text-align: center;
}

.main-nav {
    display: flex;
    align-items: center;
    margin-left: auto;
}
.main-nav__list {
    display: flex;
}
.main-nav__list >li {
    font-weight: 500;
    margin-left: 20px;
}
.main-nav__list >li:first-child {
	margin-left: 0;
}
.main-nav__list >li a {
    color: var(--main-color);
}
.main-nav .more {
	margin-left: 50px;
}



/* ----------------------------
   contets
-------------------------------*/

.conBox {
    padding: 100px 0;
	position:relative;
}


.cmn-title {
	text-align: center;
	margin-bottom: 80px;
    position: relative;
	z-index: 1;
}
.cmn-title.left {
    text-align: left;
}
.cmn-title h2 {
	color: var(--main-color);
	font-size: 66px;
	font-weight: 400;
	font-family: var(--font-en);
	line-height: 1;
}
.cmn-title p {
	font-size: 16px;
	line-height: 1;
	margin-top: 10px;
}

.cmn-desc {
    text-align: center;
    margin-bottom: 50px;
}

.cmn-bg {
	margin: 120px 0;
	background: #fff;
	position: relative;
}
.cmn-bg:before,
.cmn-bg:after {
	content: '';
	width: 100%;
	height: 120px;
	background: url("./assets/img/cmn/bg_white_t.png") repeat-x center top;
	position: absolute;
	left: 0;
}
.cmn-bg:before {
	top: -120px;
}
.cmn-bg:after {
	bottom: -120px;
	transform: rotate(180deg);
}

.cmn-entry {
    overflow: hidden;
}
.cmn-entry:after {
	content: '';
	width: 30%;
	height: 100%;
    background: url("./assets/img/cmn/entry_bg.png") no-repeat left top;
    background-size: cover;
	position: absolute;
	right: 0;
	top:0;
	z-index: -1;
}
.cmn-entry-in {
    padding: 50px;
    background: #fff url("./assets/img/cmn/entry-in_bg.png") no-repeat left bottom;
    background-size: 30%;
    position: relative;
    border-radius: 20px;
}
.cmn-entry-in .cmn-title {
	margin-bottom: 30px;
}
.cmn-entry-in .more {
	text-align: center;
}
.cmn-entry-in .fig {
    width: 25%;
    position: absolute;
    right: 40px;
    bottom: 0;
}


/* news */
.news__list >li {
	margin-bottom: 15px;
	padding-bottom: 15px;
	border-bottom: solid 1px var(--sub-color);
}
.news__list >li a {
    color: var(--base-color);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
}
.news__list >li a .news-date {
    display: inline-block;
    width: 100px;
}
.news__list >li a .news-cat {
    display: inline-block;
	color: #fff;
	width: 90px;
	line-height: 1;
	padding: 5px 0 6px;
	margin-right: 20px;
	background: var(--main-color);
	text-align: center;
	border-radius: 100px;
}
.news__list >li a .news-title {
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: calc(100% - 210px);
}

/* ----------------------------
   footer
-------------------------------*/
#gb-footer {
	color: #fff;
	padding: 60px 0 100px;
    background: url("./assets/img/cmn/ft_bg.png") no-repeat center;
	background-size: cover;
}
#gb-footer a {
	color: #fff;
}
.footer-main {
    display: flex;
    justify-content: space-between;
}
.footer-logo {
    display: inline-block;
    background: #fff;
    padding: 15px;
	margin-bottom: 60px;
    border-radius: 10px;
}
.footer-logo-text {
	color: var(--base-color);
    display: inline-block;
    vertical-align: bottom;
    margin-left: 10px;
}
.footer-addres h4 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 5px;
}
.footer-addres-wrap {
    margin-top: 30px;
}
.footer-addres-wrap h3 {
    color: var(--main-color);
    font-size: 16px;
    display: inline-block;
    padding: 5px 20px;
    margin-bottom: 15px;
    background: #fff;
    border-radius: 1000px;
}
.footer-addres-wrap-in {
    display: flex;
}
.footer-addres-wrap-in .footer-addres:not(:first-child) {
    margin-left: 30px;
    padding-left: 30px;
    border-left: solid 1px;
}

.footer-main-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: right;
}
.footer-main-nav-top {
    display: flex;
    justify-content: right;
}
.footer-main-nav__list {
    margin-right: 50px;
}
.footer-main-nav__list >li {
    margin-bottom: 20px;
}
.footer-main-nav-btm {
    width: 100%;
    text-align: right;
    margin-top: auto;
}
.footer-main-nav-btm a i.outlink {
	margin-left: 5px;
}

.footer-sub {
    display: flex;
    justify-content: space-between;
    margin-top: 50px;
    padding-top: 20px;
    border-top: solid 1px;
}
.copyright {
    font-size: 12px;
}


#sp-nav {
	display: none;
}


/* backtotop */
#backtotop {
    color: var(--main-color);
	width: 40px;
    height: 40px;
    background: #fff;
    cursor:pointer;
	visibility: hidden;
	opacity: 0;
    border-radius: 100px;
    border: solid 2px;
	position:fixed;
	right: 10px;
	bottom: 30px;
	z-index: 10;
   -webkit-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out;
}
#backtotop.show {
	visibility: visible;
	opacity: 1;
	bottom: 50px;
}
#backtotop:hover {
    color: #fff;
    background: var(--main-color);
}
#backtotop:after {
    content: '';
    display: block;
    width: 10px;
    height: 10px;
    border-top: solid 2px;
    border-right: solid 2px;
    transform: rotate(-45deg);
    position: absolute;
    top: 16px;
    left: calc(50% - 6px);
}


/* -----------------------------------

media query

------------------------------------- */
@media (max-width: 1024px) {

	.header-in {
		height: 60px;
	}
	.site-title {
		width: 200px;
		height: 60px;
	}
	.site-title a {
		padding: 10px;
	}
	.site-title a img {
		width: 160px;
	}
	
	.main-nav {
		padding-right: 50px;
	}
	.main-nav__list {
		display: none;
	}
	.main-nav .more a {
		font-size: 16px;
		width: 210px;
		padding: 10px;
	}
	.main-nav .more a i {
		width: 24px;
		height: 24px;
		vertical-align: -6px;
	}

	#menu-btn {
        width: 60px;
        height: 60px;
		background: var(--main-color);
        cursor: pointer;
        position: fixed;
        right: 0;
        top: 0;
        z-index: 10000;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
	#menu-btn span {
        width: 36px;
        height: 1px;
        background: #fff;
        position: absolute;
        left: 12px;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
	#menu-btn span.t {
		top: 20px;    
	}
	#menu-btn span.m {
		bottom: 30px;
	}
	#menu-btn span.b {
		bottom: 20px;
	}
	#menu-btn.active span {
		background: #fff;
	}
	#menu-btn.active span.t {
		transform: rotate(30deg);
		top: 30px;
	}
	#menu-btn.active span.m {
		width: 0;
	}
	#menu-btn.active span.b {
		transform: rotate(-30deg);
		bottom: 30px;
	}

	#sp-nav {
		color: #fff;
		display: block;
		width: 0;
		height: 100%;
		background: #fff;
		padding: 70px 30px;
		overflow: auto;
		opacity: 0;
		visibility: hidden;
		position: fixed;
		right: 0;
		top: 0;
		z-index: -10;
	   -webkit-transition: all 0.3s ease-in-out;
		transition: all 0.3s ease-in-out;
	}
	#sp-nav.active {
		width: 400px;
		opacity: 1;
		visibility: visible;
		background: var(--main-color);
		z-index: 9999;
	}
	.sp-nav__list {
		font-size: 18px;
	}
	.sp-nav__list > li {
		padding-bottom: 10px;
		margin-bottom: 10px;
		border-bottom: dotted 1px;
	}
	.sp-nav__list a {
		color: #fff;
	}
}

@media (max-width: 815px) {

	body {
        font-size: 15px;
		min-width: 375px;
        overflow-x: hidden;
		padding-top: 60px;
	}
	body.menu-fix {
		overflow: hidden;
	}
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}
	.inner {
		 width: 100%;
	}
    .inner-in {
        padding: 0;
    }


	.more a {
		font-size: 13px;
	}
	.more a i {
		width: 30px;
		height: 30px;
		vertical-align: -10px;
	}

	#gb-header {
		background: #fff;
	}

	#sp-nav.active {
		width: 100%;
	}

	.conBox {
		padding: 50px 0;
	}

	.cmn-title {
		margin-bottom: 40px;
	}
	.cmn-title h2 {
		font-size: 36px;
	}
	.cmn-title p {
		font-size: 14px;
	}

	.cmn-bg {
	    margin: 50px 0;
	}
	.cmn-bg:before,
	.cmn-bg:after {
		height: 70px;
	    background-size: cover;
	}
	.cmn-bg:before {
		top: -68px;
	}
	.cmn-bg:after {
		bottom: -68px;
	}

	.cmn-entry-in {
		padding: 25px;
	}
	.cmn-entry-in .fig {
		right: 0;
	}

	.news__list >li a {
		display: block;
	}
	.news__list >li a .news-date {
		width: auto;
		margin-right: 10px;
	}
	.news__list >li a .news-cat {
		width: auto;
		padding: 5px 20px 6px;
		margin-right: auto;
	}
	.news__list >li a .news-title {
		max-width: 100%;
		display: block;
		margin-top: 10px;
	}

	#gb-footer {
        padding: 40px 0;
    }
	.footer-logo {
		margin-bottom: 30px;
	}
	.footer-logo img {
		width: 170px;
	}
	.footer-logo-text {
		font-size: 12px;
	}
	.footer-main {
		display: block;
	}
	.footer-addres-wrap-in {
		display: block;
	}
	.footer-addres-wrap-in .footer-addres:not(:first-child) {
		margin-left: 0;
		padding-left: 0;
		border-left: none;
		margin-top: 20px;
	}
	.footer-main-nav {
		display: block;
	}
	.footer-main-nav-btm {
		text-align: left;
		margin-top: 30px;
	}
	.footer-sub {
		font-size: 12px;
	}

}

