@charset "utf-8";

/* **************************
Web font
************************** */
.rig-shaded{
    font-family: rig-shaded-bold-face,sans-serif;
    font-weight: 700;
    font-style: normal;
}

/* **************************
Common
************************** */
:root {
  --main-color: #270E52;
  --sub-color1: #B5B5D7;
  --sub-color2: #4B469A;
  --sub-color3: #EFEFEF;
  --hover: #6e1cff;
}

body {
    color: var(--main-color);
    letter-spacing: 0.5px;
    line-height: 1.5;
    font-family:"ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro",'Noto Sans Japanese',"Helvetica Neue",Helvetica,sans-serif,"メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS P Gothic";
}

h2,h3{
    font-size: 36px;
    font-weight: bold;
    text-align: center;
}

img{
    max-width: 100%;
}

a{
	-webkit-transition: all 0.2s ease;
	-moz-transition: all 0.2s ease;
	-o-transition: all 0.2s ease;
}

/* Button trial */
a.trial{
    background: #000000;
    color: #FFFFFF;
}

a.trial:hover{
    background: var(--hover);
}

/* Link underline */
.underline{
	position: relative;
	display: inline-block;
}

.underline::after{
	position: absolute;
	bottom: -3px;
	left: 0;
	content: '';
	width: 0;
	height: 2px;
	background-color: var(--hover);
	transition: .2s;
}

.underline:hover::after{
  width: 100%;
}

.pc {
    display: block;
}

.sp {
    display: none;
}

section{
	padding: 128px 0;
}

.inner {
	max-width:960px;
	margin:auto;
}

.flex {
	display: flex;
	justify-content: space-between;
}

/* **************************
Header
************************** */
.l_main {
    padding-top: 72px;
}
.l_header {
    background: rgba(255, 255, 255, 0.9);
    color:#fff;
    font-weight: bold;
    position: fixed;
    width: 100%;
    z-index: 9999;
}
.header_wrap {
    margin: 0 auto;
    display: flex;
    padding: 16px;
}

/*logo*/
header .logo img {
    max-height: 40px;
}

/*nav*/
.nav {
    width: calc( 100% - 121px );
    font-size: 16px;
    margin-left: 2%;
}
.nav_list {
    display: flex;
    align-items: center;
    margin-left: auto;
    color: var(--main-color);
    float: left;
}
.nav_list li a{
    display: block;
    width:100%;
    padding: 12px 16px;
    vertical-align: middle;
}

.nav_list li a em{
	font-style: normal;
	font-size: 12px;
	padding: 4px;
	margin-right: 4px;
	background: #f74e4e;
}

.nav_list li a:hover .underline::after{
  width: 100%;
}

.hd_contact_btn {
    float: right;
    display: flex;
}

.hd_contact_btn li:last-child{
    margin-left:12px;
}

.hd_contact_btn a {
    display: inline-block;
    padding: 10px 20px;
    border-radius: 25%/80%;
}

/*sub menu*/
.nav_list li.sub{
	position:relative;
	cursor: pointer;
	display: block;
	padding: 12px 16px;
}

.nav_list li.sub > .pc{
	display: inline-block;
}

.nav_list li.sub .icon{
	padding-left:8px;
	font-size: 12px;
	vertical-align: 2px;
}

.nav_list li.sub > ul {
	display:none;
	position: absolute;
	top: 48px;
	left: 16px;
	width:200px;
}

.nav_list li.sub > ul li:first-child{
	border-bottom:solid 1px rgba(255, 255, 255, 0.3)
}

.nav_list li.sub:hover > ul {
	display:block;
}


/* **************************
Main
************************** */
.heading[id]::before {
  content: "";
  display: block;
  height: 105px;
  margin-top: -105px;
  visibility: hidden;
}

/* **************************
Top
************************** */
.top{
	background: url(../img/ag/top-img.png) no-repeat left -80px center;
	background-size: 50%;
	padding: initial;
}

.top .inner{
	margin-left: 42%;
	padding: 16% 8%;
	text-align: center;
} 

.top h1{
	font-size: 2vw;
	font-weight: bold;
	padding-top: 24px;
} 

.top .btn a{
	display: block;
	padding: 16px 0;
	font-size: 20px;
	font-weight: bold;
	max-width: 320px;
	text-align: center;
	margin:40px auto;
	border-radius: 60px;
}
.top p{
	font-size: 3.5vw;
	font-weight: bold;
	padding-top: 12%;
} 

/* **************************
About
************************** */
.about{
	/* padding-top:initial; */
}

.about h2{
	font-size: 80px;
	line-height: 1.3em;
	text-align: left;
}

.about p{
	font-size: 24px;
	font-weight: bold;
	margin:24px 0 40px;
	line-height: 2em;
	letter-spacing: 4px;
}

.about .video{
	width: 100%;
	height: 0;
	position: relative;
	padding-top: 56.25%;
	overflow: hidden;
	margin-top: 24px;
}

.about .video iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;

}
/* **************************
problem
************************** */
.problem{
	background: var(--sub-color3);
	padding-top: 56px;
	padding-bottom: 40px;
}

.problem h3{
	margin-bottom: 32px;
}

.problem ul{
	text-align: center;
}

.problem ul li{
	width:30%;
}

.problem ul li figcaption{
	font-size: 18px;
	padding-top: 12px;
	font-weight: bold;
}

/* **************************
Function
************************** */
.function{
	padding-bottom: inherit;
}

.function video{
	width: 100%;
}

.function h2{
	margin-top: 24px;
	margin-bottom:20px;
	line-height:1.4em;
}

.function > p{
	max-width:720px;
	margin:auto;
	margin-bottom: 56px;
	text-align: center;
}
.function .point{
	background: var(--sub-color1);
	padding: 48px 0;
	position:relative;
}

.function .point::after{
  content: "";
  position: absolute;
  top: -36px;
  left: 0;
  right: 0;
  width: 20px;
  margin: auto;
  border: 20px solid transparent;
  border-bottom: 20px solid var(--sub-color1);
}

.function .point ul.inner{
}

.function .point ul.inner li{
	width:30%;
	text-align: center;
}

.function .point ul.inner li figcaption{
	padding-top:12px;
	font-weight: bold;
}

/* **************************
Value
************************** */
.value h1{
	font-size:52px;
	text-align: center;
	font-weight: bold;
	margin-bottom:72px;
}
.value h1::after{
	border-bottom: solid 2px var(--main-color);
	display:block;
	content:"";
	width: 120px;
	margin:auto;
	padding-top:16px;
}
.value h1 span{
	display:block;
	font-size:16px;
}
.value li h2{
	font-size:32px;
	text-align: center;
	font-weight: bold;
	margin-bottom:40px;
}

.value li:nth-child(1) h2::before{
	content:"1.";
}

.value li:nth-child(2) h2::before{
	content:"2.";
}

.value ol > li:first-child{
	border-bottom: solid 1px #D6D6D6;
	padding-bottom:80px;
	margin-bottom:80px;
}

.value .flex{
	max-width:720px;
	margin:auto;
	text-align: center;
}

.value .flex li{
	width:30%;
}

/* **************************
Customer
************************** */
.customer{
	background: var(--sub-color2);
	padding-bottom: 64px;
	padding-top: 80px;
}

.customer h2{
	color: #FFFFFF;
	margin-bottom:32px;
}

.customer h2 span{
	display: block;
	font-size:16px;
}

.customer ul{
	max-width: 560px;
	margin: auto;
}

.customer ul li{
	background: #FFF;
	margin-bottom:2px;
	font-weight: bold;
}

.customer ul li a{
	padding: 12px 16px;
	display: block;
}

.customer ul li a:hover{
	background: var(--sub-color3);
}

.customer ul li.new a:before{
	content: "New!";
	background: #f00;
	color:#FFFFFF;
	padding: 3px 6px;
	font-size:12px;
}

.customer ul li .url{
	display: block;
	color: #2D2D2D;
	text-decoration: underline;
	font-size: 12px;
	font-weight: normal;
}

/* **************************
Contact
************************** */
.contact{
	background: #393542;
	color: #FFFFFF;
	padding: inherit;
}

.contact .btn {
	width: 50%;
}

.contact .btn.inquiry {
	border-right:solid 1px #636168;
}

.contact .btn a{
	padding: 64px 0 64px 32px;
	font-weight: bold;
	position: relative;
	display: block;
	font-size: 24px;
}

.contact .btn a span{
	display: block;
	font-size: 14px;
	font-weight: normal;
	width: 68%;
}

.contact .btn a .icon{
	width: 64px;
	height:64px;
	background: #FFFFFF;
	position: absolute;
	right: 40px;
	top:0;
	bottom:0;
	margin:auto;
	border-radius: 50%;
}

.contact .btn a .icon::after{
	position: absolute;
	right: 0;
	left: 0;
	top: 0;
	bottom: 0;
	margin: auto;
	content:"";
	display:inline-block;
	width: 14px;
	height: 14px;
	border-top: #393542 4px solid;
	border-right: #393542 4px solid;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
	vertical-align: top;
}

.contact .btn a:hover .icon{
	background: var(--hover);
}

.contact .btn a:hover .icon::after{
	border-top: #FFFFFF 4px solid;
	border-right: #FFFFFF 4px solid;
}
/* **************************
Footer
************************** */
footer{
	padding: 8px;
	text-align: center;
}

footer .logo{
	width: 160px;
	margin-bottom: 4px;
	display: none;
}

footer .copyright{
	font-size: 10px;
}

@media screen and (min-width: 1240px) {
	/* **************************
	Top
	************************** */
	.top{
		max-width: 1240px;
		margin: auto;
		background: url(../img/ag/top-img.png) no-repeat left center;
		background-size: 46%;
	}
	
	.top .inner{
		max-width: 520px;
		margin-right: 72px;
		margin-left: auto;
		padding: 220px 0;
	} 
	
	.top h1{
		font-size: 24px;
	} 
	
	.top p{
		font-size: 42px;
		padding-top: 48px;
	} 
	/* **************************
	About
	************************** */
	.about{
		background: #fafafa;
	}
	
}

@media screen and (max-width: 960px) {
	/* **************************
	Common
	************************** */
	section{
		padding: 10% 5%;
	}
	
	/* **************************
	Header
	************************** */
	.header_wrap {
		display: flex;
		justify-content:space-between;
	}
	.nav_list {
		margin-left: 12px;
	}
	.nav_list li,
	.hd_contact_btn a {
		font-size:15px;
	}
	.nav_list li a{
		padding: 12px 6px;
	}
	.hd_contact_btn a {
		padding: 10px;
	}

	/*sub menu*/
	.nav_list li.sub > ul {
		width:160px;
	}
	
	/* **************************
	About
	************************** */
	.about h2{
		font-size: 50px;
	}

	.about p{
		font-size: 18px;
	}

	/* **************************
	Function
	************************** */
	.function{
		padding-left: inherit;
		padding-right: inherit;
	}
	
	.function .inner{
		padding-left: 5%;
		padding-right: 5%;
	}
	
	/* **************************
	Contact
	************************** */
	.contact .btn a .icon{
		width: 56px;
		height:56px;
		right: 5%;
	}

	
}

@media screen and (max-width: 768px) {
	/* **************************
	Common
	************************** */
    .pc {
        display: none;
    }
    .sp {
        display: block;
    }
	h2, h3{
		font-size:24px;
	}

	/* **************************
	Header
	************************** */
    .l_main {
        padding-top:40px;
    }
    .header_wrap {
        padding: 7px 10px 5px;
    }
    .header_inner{
        width: 100%;
        height: 40px;
        position:fixed;
        top: 0;
        left: 0;
        z-index: 10000;
        background: #FFFFFF;
    }
    .header_wrap {
        position:relative;
        width: 100%;
        height: 40px;
    }
	header .logo img {
		max-height: 24px;
	}
    .nav {
        display: none;
        position: absolute;
        width: 100%;
        text-align: center;
        top: 40px;
        left: 0;
        background: #6e1cff;
        box-shadow: 0 4px 4px 0 rgb(0 0 0 / 15%);
        z-index: 10000;
        margin-left: 0;
    }
	.nav_list,
	.hd_contact_btn{
		float:inherit;
	}
    .nav_list {
        flex-direction: column;
        padding: 10px;
        height: auto;
    }
	.nav_list li a{
		color: #FFFFFF;
	}
    .nav li {
            /* background: var(--main-color); */
            width: 100%;
            margin: 0 auto;
    }
    .nav a {
            display: block;
            padding: 0.75em 0.25em;
    }
    .nav .underline:after {
            display: none;
    }
	/*sub menu*/
	.nav_list li.sub > .pc{
	    display: none;
    }
	.nav_list li.sub{
		padding: 0;
	}
	.nav_list li.sub > ul {
		display:block;
		position:inherit;
		top: inherit;
		left: inherit;
		width:100%;
		background: none;
	}
	.nav_list li.sub > ul li:first-child{
		border-bottom:none
	}
	.hd_contact_btn{
		width:90%;
		margin: 12px auto 0;
	}

    .hd_contact_btn a {
        border-radius: 25px;
        width: 100%;
        margin: 0 auto 1.5em auto;
    }

/*header_sp_nav=====*/
    .header_sp_nav {
        width: 30px;
        height: 26px;
        position: absolute;
        top: 5px;
        bottom: 0;
        right: 15px;
        margin:auto;
        cursor: pointer;
    }
    .nav_line {
        display: block;
        position: absolute;
        width: 30px;
        height: 3px;
        background: #6e1cff;
        -webkit-transition: .3s;
        transition: .3s;
    }
    .nav_line1 {
        top: 0;
        bottom: auto;
        margin-bottom: 10px;
    }
    .nav_line2 {
        top: 0;
        bottom: 0;
        margin: 9px 0 9px;
    }
    .nav_line3 {
        bottom: 5px;
        top: auto;
    }
    .header_sp_nav.active .nav_line2{
            right: -60px;
    }
    .header_sp_nav.active .nav_line1{
            top: 0;
            bottom: 0;
            margin: auto;
            transform:rotate(45deg);
    }
    .header_sp_nav.active .nav_line3{
            top: 0;
            bottom: 0;
            margin: auto;
            transform:rotate(-45deg);
    }
    /* inquiry button*/
    .hd_contact_btn ul a{
    	margin: 0.5em auto;
    }
    .hd_contact_btn ul a.btn_inquiry{
    	background:#009ae1;
    	color:#FFFFFF;
    }
    .hd_contact_btn ul a.btn_demo{
    	background:#ffdf17;
    }

	/* **************************
	Main
	************************** */
    .heading[id]::before {
        height: 40px;
        margin-top: -40px;
    }
	/* **************************
	Top
	************************** */
	.top{
		background: url(../img/ag/top-img.png) no-repeat left -60% center;
		background-size: 80%;
		padding: initial;
	}
	
	.top .inner{
		margin-left: auto;
		padding: 30% 5% 25%;
		text-align: center;
		background: rgba(255, 255, 255, 0.85);
	}
	.top h1{
		font-size: 18px;
	} 
	.top p{
		font-size: 20px;
		padding-top: 20px;
	} 
	/* **************************
	About
	************************** */
	.about p{
		font-size: 15px;
		letter-spacing: 2px;
	}

	/* **************************
	problem
	************************** */
	.problem h3{
		font-size: 20px;
	}
	
	.problem ul li figcaption{
		font-size: 15px;
	}
	
	/* **************************
	Function
	************************** */
	.function .flex{
		flex-wrap: wrap;
	}
	.function .point ul.inner li{
		width:100%;
		margin-bottom: 10px;
		background: #FFFFFF;
		border-radius: 6px;
		overflow: hidden;
	}
	.function .point ul.inner li figure{
		display:flex;
		align-items: center;
	}
	.function .point ul.inner li figure img{
		width: 40%;
	}
	.function .point ul.inner li figure figcaption{
		text-align: left;
		padding: 0 16px;
		width: 60%;
		padding-top: initial;
		font-weight: normal;
		line-height: 1.2em;
	}
	/* **************************
	Value
	************************** */
	.value h1{
		font-size: 30px;
		margin-bottom:40px;
	}
	.value h2{
		font-size: 22px;
		margin-bottom: 24px;
	}
	.value .flex li {
		width:28%;
		font-size:14px
	}
	.value ol > li:first-child{
		padding-bottom:40px;
		margin-bottom:40px;
	}
	
	/* **************************
	Customer
	************************** */
	.customer{
		padding-bottom: 10%;
		padding-top: 10%;
	}
	
	/* **************************
	Contact
	************************** */
	.contact .flex {
		flex-wrap:wrap;
	}
	.contact .btn {
		width: 100%;
	}	
	.contact .btn a{
		padding: 24px 5%;
		font-size: 20px;
	}
	.contact .btn.inquiry {
		border-right:none;
		border-bottom:solid 1px #636168;
	}
	.contact .btn a span{
		width: 90%;
		font-size: 13px;
	}
	.contact .btn a .icon{
		width: 40px;
		height:40px;
	}
	.contact .btn a .icon::after{
		width: 8px;
		height: 8px;
		border-top: #393542 2px solid;
		border-right: #393542 2px solid;
	}


	
	/* **************************
	Footer
	************************** */
	
}

