@charset "utf-8";
/*
Theme Name: 一般社団法人塗装保証協会 Theme
Description: 一般社団法人塗装保証協会 themes
Version: 1.0
Author: kobaishi
Author URI: e-f.co.jp
*/

/*------------------------------------------------------

   common

-------------------------------------------------------*/
:root {
    --base-color:  #303030;
    --main-color:  #e0041b;
    --bg-color:    #f1f1f1;

	--font-en:     "Oswald", sans-serif;
	--font-mincho: 'Noto Serif JP', serif;
}


body {
	position: relative;
    font-size: 16px;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--base-color);
    padding-top: 130px;
}
input,
select,
textarea,
radio,
checkbox,
button {
	font-family: 'Noto Sans JP', sans-serif;
}

img {
    vertical-align: middle;
}
.sp { display: none !important; }

.inner {
    width: 100%;
    max-width: 1280px;
	padding: 0 40px;
	margin:auto;
	position: relative;
}

.red {
    color: var(--main-color);
}
.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 2px var(--main-color);
    transform: scale(0, 1);
    transform-origin: right top;
    transition: transform .3s;
}
.nav-line a:not(.no-line):hover:after {
    transform-origin: left top;
    transform: scale(1, 1);
}

/*------------------------------------------------------

   header style

-------------------------------------------------------*/
#global-header {
	width: 100%;
	height: 110px;
	padding-top: 25px;
    background: #fff;
	position: fixed;
	left:0;
	top: 0;
	z-index: 1000;
}
#global-header.scrolled {
	border-bottom: solid 1px #eee;
}
#global-header .inner {
    height: 75px;
}
.site-title {
    width: 270px;
    line-height: 1;
    transform: translateY(-50%);
    position: absolute;
    top: 50%;
    left: 40px;
}
.site-title a {
    display: flex;
    align-items: center;
}
.main-nav {
    position: absolute;
    top: 50%;
    right: 40px;
    transform: translateY(-50%);
}
.main-nav__list {
    display: flex;
}
.main-nav__list >li {
    font-size: 14px;
    margin-left: 10px;
}
.main-nav__list >li:not(:first-child):before {
    content: '/';
	margin-right: 10px;
}
.main-nav__list >li a {
    color: var(--base-color);
}


/* ----------------------------
   contets
-------------------------------*/
#main-contents {
	overflow: hidden;
}

.conBox {
    padding: 100px 0;
	position:relative;
}

/* cmn-title */
.cmn-title {
    margin-bottom: 70px;
}
.cmn-title h2 {
    font-size: 20px;
    font-weight: 500;
	margin-top: 10px;
}
.cmn-title p {
    font-size: 64px;
    font-weight: 500;
    font-family: var(--font-en);
    line-height: 1;
    color: var(--main-color);
}
.cmn-title.center {
    text-align: center;
}

.cmn-subtitle {
    margin-bottom: 20px;
    font-size: 18px;
}
.cmn-text {
    line-height: 2;
}

.cmn-desc {
    line-height: 2;
    text-align: center;
}

/* more */
.more {
    text-align: center;
    margin-top: 100px;
}
.more a {
	color: var(--base-color);
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    width: 200px;
    padding: 13px 0 14px;
    text-align: center;
    background: #fff;
    border: solid 2px;
    border-radius: 1000px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}
.more a:after {
    content: '';
    display: inline-block;
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent transparent transparent var(--main-color);
    border-width: 6px 0px 6px 10px;
    margin-left: 20px;
}
.more a:hover {
    color: #fff;
    background: var(--base-color);
}


/* blog　共通 */
.blog-thumb {
    margin-bottom: 20px;
}
.blog-info {
	color: var(--base-color);
}
.blog-info-category {
    font-size: 15px;
    display: inline-block;
    background: var(--bg-color);
    border-radius: 1000px;
    padding: 2px 10px 4px;
	margin-right: 10px;
}
.blog-info-date {
    display: inline-block;
    font-size: 15px;
}
.blog-info-title {
    display: block;
    margin-top: 5px;
}




/* ----------------------------
   footer style
-------------------------------*/

#global-footer {
	margin-top: 100px;
    padding: 15px;
    color: #fff;
	text-align: center;
	background: var(--main-color);
}
#global-footer .copyright {
	font-size: 12px;
	font-weight: 100;
}

/* 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: 815px) {

	body {
        font-size: 13px;
		min-width: 375px;
        padding-top: 71px;
        overflow-x: hidden;
	}
	body.menu-fix {
		overflow: hidden;
	}
	.pc {
		display: none !important;
	}
	.sp {
		display: block !important;
	}

	.inner {
		 width: 100%;
        padding: 0 20px;
	}
    .inner-in {
        padding: 0;
    }
	#global-header {
		height: 70px;
		padding-top: 0;
	}
	#global-header .inner {
		height: 70px;
	}
    .site-title {
        width: 150px;
        left: 20px;
    }

    #menu-btn {
        width: 40px;
        height: 15px;
        cursor: pointer;
        position: fixed;
        right: 20px;
        top: 25px;
        z-index: 10000;
       -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #menu-btn span {
        width: 100%;
        height: 3px;
        background: var(--main-color);
        position: absolute;
        left: 0;
        -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #menu-btn span.m {
        top: 0;    
    }
    #menu-btn span.b {
        bottom: 0;
    }
    #menu-btn.active span.t {
        transform: rotate(45deg);
        top: 7px;
    }
    #menu-btn.active span.b {
        transform: rotate(-45deg);
        bottom: 6px;
    }

    #sp-nav {
        width: 100%;
        height: 100%;
        background: #fff;
        padding: 70px 20px;
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        position: fixed;
        left: 0;
        top:0;
        z-index: 9999;
       -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    #sp-nav.active {
        opacity: 1;
        visibility: visible;
		background: var(--base-color);
    }
    .sp-nav__list >li {
        border-bottom: dotted 1px #fff;
    }
    .sp-nav__list >li a {
        display: block;
        padding: 10px;
        color: #fff;
        font-size: 16px;
        font-weight: 500;
    }

	.conBox {
		padding: 50px 0;
	}
    .cmn-title {
        margin-bottom: 40px;
    }
    .cmn-title h2 {
        font-size: 16px;
    }
    .cmn-title p {
		font-size: 32px;
    }


    .more {
        text-align: center;
    }
	.more a {
		font-size: 14px;
	}


}

