@charset "utf-8";
/*
Theme Name: ゼロウェブ Theme
Description: ゼロウェブ themes
Version: 1.0
Author: kobaishi
Author URI: e-f.co.jp
*/

@font-face {
    font-family: "DIN_Alternate_Bold";
    src: url("./assets/fonts/DIN_Alternate_Bold.eot") format('eot'),
	     url("./assets/fonts/DIN_Alternate_Bold.woff") format('woff'),
	     url("./assets/fonts/DIN_Alternate_Bold.ttf")  format('truetype');
}

/*------------------------------------------------------

   common

-------------------------------------------------------*/
:root {
    --base-color:  #000000;
    --main-color:  #a200ed;
    --bg-color:    #f8f8f8;

	--font-sub:    "Zen Maru Gothic", sans-serif;
	--font-en:     "Oswald", sans-serif;
	--font-tegaki: "Zen Kurenaido", sans-serif;
}


body {
	position: relative;
    font-size: 15px;
	font-family: 'Noto Sans JP', sans-serif;
	color: var(--base-color);
}
h1,h2,h3,h4,h5,h6 {
	font-weight: 500;
}

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: 1120px;
	padding: 0 20px;
	margin:auto;
	position: relative;
}
.inner-in {
	padding: 0 50px;
}

b {
	font-weight: 500;
    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%;
	padding-top: 30px;
    -webkit-transition: all 0.2s ease-in-out;
    transition: all 0.2s ease-in-out;
	position: fixed;
	left:0;
	top: 0;
	z-index: 1000;
}
#global-header.scrolled {
	padding-top: 0;
    background: rgba(255, 255, 255, 0.7);
}
#global-header .header-in {
    height: 70px;
	position: relative;
}
.site-title {
    width: 175px;
    line-height: 1;
    position: absolute;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}
.site-title a {
    display: flex;
    align-items: center;
}
.main-nav {
    display: flex;
    align-items: center;
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
}
.main-nav__list {
    display: flex;
}
.main-nav__list >li {
    font-size: 14px;
    margin-left: 25px;
}
.main-nav__list >li a {
    color: var(--base-color);
}
.to-counseling {
	margin-left: 20px;
}
.to-counseling a {
	font-size: 14px;
	font-weight: 500;
	width: 160px;
	display: block;
	color: #fff;
	text-align: center;
	padding: 10px 0;
	background-image: linear-gradient(0deg, #3d84f8, #a662c5);
	border-radius: 1000px;
}

#sp-nav {
	display: none;
}

/* ----------------------------
   contets
-------------------------------*/
#main-contents {
	overflow: hidden;
}

.conBox {
    padding: 100px 0;
	position:relative;
}

/* cmn-title */
.cmn-title {
    margin-bottom: 70px;
}
.cmn-title h2 {
	font-size: 90px;
    font-weight: 300;
    font-family: var(--font-en);
    letter-spacing: 0.05em;
    line-height: 1;
}
.cmn-title p {
    font-size: 18px;
    font-weight: 500;
	margin-top: 20px;
}
.cmn-title.center {
    text-align: center;
}
.cmn-title.inline {
    display: flex;
	align-items: end;
}
.cmn-title.inline p {
	margin-top: 0;
	margin-left: 20px;
}


.cmn-subtitle {
    margin-bottom: 20px;
    font-size: 18px;
}
.cmn-text {
    line-height: 2;
}

.cmn-desc {
    font-size: 18px;
    line-height: 2.5;
    text-align: center;
}
.cmn-desc-s {
    font-size: 13px;
}


/* table */
.cmn-table {
	width: 100%;
	border-collapse: collapse;
	line-height: 2;
	border-top: solid 1px #ccc;
}
.cmn-table th {
    background: var(--bg-color);
    width: 300px;
    padding: 20px;
    text-align: left;
	border-bottom: solid 1px #ccc;
	vertical-align: top;
}
.cmn-table td {
	padding: 20px;
	border-bottom: solid 1px #ccc;
}



/* more */
.more {
    text-align: center;
    margin-top: 90px;
}
.more a {
    color: #fff;
    display: inline-block;
    font-size: 17px;
    font-weight: 600;
    width: 330px;
    padding: 13px 0 14px;
    text-align: center;
    background: var(--base-color);
    border-radius: 1000px;
    -webkit-transition: all 0.3s ease-in-out;
    transition: all 0.3s ease-in-out;
}

/* grd-btn */
.grd-btn {
	max-width: 670px;
	margin: 80px auto 0;
	position: relative;
}
.grd-btn .fuki {
    color: #fff;
    font-size: 20px;
    padding: 3px 20px;
    background: #000;
    position: absolute;
    left: 40px;
    top: -25px;
    z-index: 1;
}
.grd-btn .fuki:after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-color: transparent #000000 transparent transparent;
    border-width: 0px 20px 20px 0px;
    position: absolute;
    left: 40px;
    bottom: -19px;
}
.grd-btn a {
    display: block;
    color: #fff;
    font-size: 23px;
    font-weight: 500;
    background-image: linear-gradient(0deg, #3d84f8, #a662c5);
    padding: 25px;
    position: relative;
    text-align: center;
    border-radius: 1000px;
    box-shadow: 2px 2px 5px #222;
}
.grd-btn a:after {
    content: '';
    color: #fff;
    display: block;
    width: 14px;
    height: 14px;
    border-top: solid 2px;
    border-right: solid 2px;
    position: absolute;
    right: 40px;
    top: calc(50% - 7px);
    transform: rotate(45deg);
}


/* btm-nav */
.btm-nav__list {
    display: flex;
    flex-wrap: wrap;
}
.btm-nav__list >li {
    font-size: 20px;
    width: 32%;
    margin: 0 0 2% 2%;
}
.btm-nav__list >li:nth-child(3n+1) {
    margin-left: 0;
}
.btm-nav__list >li a {
    color: var(--base-color);
    min-height: 100px;
	height: 100%;
    display: flex;
    align-items: center;
    border: solid 3px var(--main-color);
    border-radius: 5px;
    padding: 20px 20px 20px 0;
}
.btm-nav__list >li a i {
	width: 110px;
    height: 51px;
    background-position: center;
    background-repeat: no-repeat;
}
.btm-nav__list >li a i.btm-nav01 {
	background-image: url("./assets/img/icon/icon_link_01.png");
	background-size: 53px 51px;
}
.btm-nav__list >li a i.btm-nav02 {
	background-image: url("./assets/img/icon/icon_link_02.png");
	background-size: 53px 21px;
}
.btm-nav__list >li a i.btm-nav03 {
	background-image: url("./assets/img/icon/icon_link_03.png");
	background-size: 72px 49px;
}
.btm-nav__list >li a i.btm-nav04 {
	background-image: url("./assets/img/icon/icon_link_04.png");
	background-size: 53px 53px;
}
.btm-nav__list >li a i.btm-nav05 {
	background-image: url("./assets/img/icon/icon_link_05.png");
	background-size: 53px 53px;
}
.btm-nav__list >li a i.btm-nav06 {
	background-image: url("./assets/img/icon/icon_link_06.png");
	background-size: 53px 53px;
}
/* ----------------------------
   footer style
-------------------------------*/

#global-footer {
    margin-top: 30px;
    padding-top: 70px;
    background: var(--bg-color);
}
.footer-main {
    display: flex;
}
.footer-link {
    width: 435px;
}
.footer-link__list {
    display: flex;
    align-items: center;
    margin-top: 30px;
}
.footer-link__list >li:not(:first-child) {
    margin-left: 20px;
}
.footer-nav {
    display: flex;
    width: calc(100% - 435px);
}
.footer-nav__list {
    width: 50%;
}
.footer-nav__list >li{
    font-size: 14px;
	margin-bottom: 15px;
}
.footer-nav__list >li a{
	color: var(--base-color);
}

.footer-sub {
    display: flex;
    align-items: center;
    margin-top: 50px;
    padding: 15px 0;
    border-top: solid 1px #d4d4d4;
}
.footer-subnav__list {
    display: flex;
}
.footer-subnav__list >li {
    font-size: 12px;
    margin-right: 10px;
}
.footer-subnav__list >li:not(:first-child):before {
    content: '|';
    margin-right: 10px;
}
.footer-subnav__list >li a {
    color: var(--base-color);
}
.copyright {
    font-size: 11px;
    margin-left: auto;
}

/* 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: 1140px) {
	
	.inner-in {
		padding: 0;
	}
	
	.main-nav__list {
		display: none;
	}
	.to-counseling {
		margin-right: 70px;
	}

    #menu-btn {
		display: block;
        width: 40px;
        height: 15px;
        cursor: pointer;
        position: absolute;
        right: 0;
        top: 10px;
        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 {
		display: block;
        width: 100%;
        height: 100%;
        background: #fff;
        padding: 70px 20px;
        overflow: auto;
        opacity: 0;
        visibility: hidden;
        position: fixed;
        left: 0;
        top:0;
        z-index: 999;
       -webkit-transition: all 0.3s ease-in-out;
        transition: all 0.3s ease-in-out;
    }
    .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;
    }

	#sp-nav .to-counseling {
		margin: 30px auto;
		text-align: center;
	}
	#sp-nav .to-counseling a {
	    width: 100%;
		font-size: 16px;
		padding: 15px 0;
	}

    #sp-nav.active {
        opacity: 1;
        visibility: visible;
		background: var(--base-color);
    }
	
	#global-header.active.scrolled {
		background: none;
	}
	#global-header.active .site-title,
	#global-header.active .to-counseling {
		display: none;
	}
	#global-header.active #menu-btn {
		top: -20px;
	}
	#global-header.active.scrolled #menu-btn {
		top: 0;
	}
}

@media (max-width: 815px) {

	body {
        font-size: 13px;
		min-width: 375px;
        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 {
		padding-top: 0;
	}
    .site-title {
        width: 150px;
        left: 20px;
    }
	#menu-btn,
	#global-header.active #menu-btn {
        top: -10px;
	}
	
	.conBox {
		padding: 50px 0;
	}
    .cmn-title {
        margin-bottom: 40px;
    }
    .cmn-title h2 {
        font-size: 45px;
    }
    .cmn-title p {
		font-size: 13px;
    }
	.cmn-desc {
		font-size: 13px;
	}

	.cmn-table {
		border-top: none;
	}
	.cmn-table th {
		border-bottom: none;
		width: 100%;
		display: block;
		padding: 15px;
	}
	.cmn-table td {
		padding: 15px 15px 30px;
		border-bottom: none;
		display: block;
		width: 100%;
	}

	.more {
		margin-top: 50px;
	}
	.more a {
		font-size: 14px;
	}

	.grd-btn {
		margin: 50px auto 0;
		padding: 0 20px;
	}
	.grd-btn a {
		font-size: 14px;
		padding: 20px 0;
	}
	.grd-btn a:after {
		display: inline-block;
		width: 10px;
		height: 10px;
		position: relative;
		right: auto;
		top: auto;
		margin-left: 5px;
		vertical-align: -1px;
	}
	.grd-btn .fuki {
		font-size: 13px;
		top: -16px;
	}
	.grd-btn .fuki:after {
		border-width: 0px 10px 10px 0px;
		bottom: -9px;
	}


/* btm-nav */
	.btm-nav__list >li {
		font-size: 12px;
		width: 32%;
	}
	.btm-nav__list >li a {
        display:block;
		padding: 10px;
		height: 100%;
		border: solid 1px var(--main-color);
		text-align: center;
	}
	.btm-nav__list >li a i {
		display: block;
		width: 100%;
		margin-bottom: 10px;
	}
	.btm-nav__list >li a span {
		display: block;
	}

	.footer-main {
		display: block;
	}
	.footer-link {
		width: auto;
	}
	.footer-nav {
		width: auto;
		margin-top: 30px;
	}
	.footer-nav__list >li {
		font-size: 12px;
	}
	.footer-sub {
		margin-top: 30px;
		display: block;
	}
	.copyright {
		margin-top: 20px;
	}
}

