@charset 'UTF-8';

/*
GENERAL STYLING
================================================ */
.container{
	 max-width: 100%;
	}


body {
	font-family: sans-serif;
}

img{
	max-width:100%;	
	}

section {
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	}

*,
*:before,
*:after {
  -webkit-box-sizing: inherit;
  box-sizing: inherit;
}




/* 画像をサイズ寄せる */
.imgbox {
	width:150px;
}

/* カラーに寄せる */
.blue{
	color: #0000cd;
	}

.bold{
	font-weight: bold;
	}

/*
COMMON
================================================ */
p {
    line-height: 1.7;
}

.center {
	text-align: center;
	margin-top:10px;

	}

img {
    max-width: 100%;
}

h1 {
    font-size: 1rem;
    margin-bottom: 1rem;
}

h2 {
    font-size: 1rem;
    margin-bottom: 2rem;
    margin-top: 20px;
}

h1,
h2,
h3,
h4,
h5,
h6{
    text-align: center;
}

.title{
	font-family: 'Noto Sans JP', sans-serif;
	font-size: 3rem;
	margin-bottom:  2rem;
	color: #fff;
}


/* Layout */
.wrapper {
    max-width: 800px;
    width: 100%;
    margin:  auto;
}






/* 大きな背景画像 */
.big-bg{
	background-size: cover;
	background-position: center top;
	background-repeat: no-repeat;
}

/*
HEADER
================================================ */
.logo{
    width: 210px;
	margin-left:20px;
	}

.hero{
	background-image: url(../images/hd.jpg);
	text-align: center;
	padding-top: 10vh;
	}

.hero p{
	color: #fff;
	font-size: 1.5rem;
}

/*ボタン*/

.border-box{
-webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 62.5%;
}

.btn,
a.btn,
button.btn {
  font-size: 1.6rem;
  font-weight: 700;
  line-height: 1.5;
  position: relative;
  display: inline-block;
  padding: 1rem 4rem;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-transition: all 0.3s;
  transition: all 0.3s;
  text-align: center;
  vertical-align: middle;
  text-decoration: none;
  letter-spacing: 0.1em;
  color: #212529;
  border-radius: 0.5rem;
　padding: .5rem 1rem;
  margin-bottom:15px;
}

.btn-green,
a.btn--green {
  color: #fff;
  background-color: #008000;
}

.btn--green :hover,
a.btn--green :hover {
  color: #fff;
  background: #2e8b57;
}

.fa-position-left {
  position: absolute;
  top: calc(50% - 0.5em);
  left: 2rem;
}


/*
CATCH
================================================ */
#catch{
	text-align: center;		
}

h2.catch{
	font-size: 1.8rem;
	}


/*
Question
================================================ */

#Question{
	background-img:url(../images/question.png)
		}
#Question h3{
padding-bottom: 0.5em;
    border-bottom: 2px dotted #000;
	}

li {
  position: relative;
  line-height: 1.4;
  padding: 0.5em 1.8em 0.5em 1.8em;
 list-style:none;
}

li:before {
  font-family: "Font Awesome 5 Free";
  content: "\f14a";
  font-weight: 900;
  position: absolute;
  left : 0.5em; /*左端からのアイコンまでの距離*/
}

/*
ABOUT
================================================ */
#about {
    padding: 4rem 1rem;
	background-image:url(../images/bg1.png)
}

#about p {
    margin-bottom: 1.2rem;
}

/*
service
================================================ */
#service h2{
	font-size:1.8rem;
	width: 100%;
	color: #fff;
	text-align: center;
	background-color: #0000cd;	
}

#service h2 after{
  width: 0;
  height: 0;
 position: absolute;
 top: 100%;
left: 50%;
margin: 0 0 0 0;
border: 20px solid transparent;
border-top-color: #0000cd;
content: '';
}

#service h4 {
	font-size:1.5rem;
	margin-top:2rem;
	margin-bottom: 1rem;
}

.about-service{
    padding: 0.5em 1em;
    margin: 2em 0;
    border-top: solid 6px #0000cd;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
}

/*
case
================================================ */


.case {
    padding: 0.5em 1em;
    margin: 2em 0 2em 0;
    background: #F0EFE7;/*背景色*/
    border: solid 6px #663300;
    box-shadow: 0 3px 4px rgba(0, 0, 0, 0.32);/*影*/
}

.case p{
	 padding-top: 0px;
	 padding-bottom: 0px;  
	margin: 10px,0px,10px,0px;
}


.ribbon-wrapper {
  display: block;
  position: relative;
  margin: 15px auto;
  padding: 10px 0;
  background: #ffffff;
  box-shadow: 0 3px 5px rgba(0, 0, 0, 0.14);
  box-sizing: border-box;
}

.ribbon-content {
  position: absolute;
  top: -6px;
  right: -6px;
  width: 89px;
  height: 91px;
  overflow: hidden;
  }

.ribbon {
  display: inline-block;
  position: absolute;
  padding: 7px 0;
  left: -23px;
  top: 22px;
  width: 160px;
  text-align: center;
  font-size: 18px;
  line-height: 16px;
  background: #FFC421;
  color: #fff;
  letter-spacing: 0.05em;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.ribbon:before, .ribbon:after {
  position: absolute;
  content: "";
  border-top: 4px solid #b2751b;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  bottom: -4px;
}

.ribbon:before {
  right: 14px;
}

.ribbon:after {
  left: 18px;
}

.case h4.chosa, #casestudy h4.chosa{
  background: #E7DC87;/*背景色*/
  padding: 0.5em;/*文字まわり（上下左右）の余白*/
	}



.case h5.people {
  position: relative;
  display: inline-block;
  padding: 0 55px;
}
.case h5.people:before, .case h5.people:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 2px;
  border-top: solid 1px black;
  border-bottom: solid 1px black;
}

.case h5.people:before {
  left:0;
}
.case h5.people:after {
  right: 0;
}


.case h6.case-about{
  position: relative;
  display: inline-block;
  padding: 0 55px 5px;
}

.case h6.case-about:before, .case h6.case-about:after {
  content: '';
  position: absolute;
  top: 50%;
  display: inline-block;
  width: 45px;
  height: 1px;
  background-color: black;
}

.case h6.case-about:before {
  left:0;
}
.case h6.case-about:after {
  right: 0;
}


.box-case {
    position: relative;
    margin: 2em 0;
    padding: 25px 10px 7px;
    border: solid 2px #FFC107;
	background-color:#F0EFE7;
}
.box-case .box-case-title {
    position: absolute;
    display: inline-block;
    top: -2px;
    left: -2px;
    padding: 0 9px;
    height: 25px;
    line-height: 25px;
    font-size: 17px;
    background: #FFC107;
    color: #ffffff;
    font-weight: bold;
}
.box-case.case-about p {
    margin: 0; 
    padding: 0;
}



.case p.case-results{
  position: relative;
  color: black;
  background: #d0ecff;
  line-height: 1.6;
  padding: 0.25em 0.5em;
  margin: 2em 0 0.5em;
  border-radius: 0 5px 5px 5px;
  text-align:center;
  font-weight:bold;
}

.case p.case-results:after {
  /*タブ*/
  position: absolute;
  font-family: "Font Awesome 5 Free",'Quicksand','Avenir','Arial',sans-serif;
  font-weight: 900;
  content: '\f00c 児玉総合情報事務所の調査・成果';
  background: #2196F3;
  color: #fff;
  left: 0px;
  bottom: 100%;
  border-radius: 5px 5px 0 0;
  padding: 3px 7px 1px;
  font-size: 1em;
  line-height: 1.2;
  letter-spacing: 0.05em
}


/*cta
================================================ */
.cta {
    padding: 4rem 1rem;
    text-align:center;
}


/*
feature
================================================ */
#feature {
    padding: 4rem 1rem;
}

p.label{
	display: flex;
	justify-content: center;
	align-items: center;
	font-size: 26px;
	text-align: center;
}

p.label::before,
p.label::after {
	content: '';
	width: 3px;
	height: 40px;
	background-color: #3fc1c9;
}

p.label::before {
	margin-right: 30px;
	transform: rotate(-35deg)
}
p.label::after {
	margin-left: 30px;
	transform: rotate(35deg)
}

.feature-list {
    display: flex;
    flex-direction: row-reverse;
    align-items: flex-start;
    margin-bottom: 2rem;
}

.feature-text {
    margin-left: 1rem;
}

 #feature h2{
	font-size:1.8rem;
	width: 100%;
    position: relative;
color: #fff;
text-align: center;
background-color: #0000cd;	
}

#feature h2::after{
  width: 0;
  height: 0;
 position: absolute;
  top: 100%;
left: 50%;
margin: 0 0 0 -50px;
border: 20px solid transparent;
border-top-color: #0000cd;
content: '';
}


#feature h3 {
	    font-size: 1.5rem;
}
#feature h4 {
    font-size: 1.5rem;
    margin-bottom: .5rem;
}
#feature img {
    border-radius: 50%;
    width: 20%;
}

/*
point
================================================ */
#point h2 {
	font-size:1.8rem;
	width: 100%;
    position: relative;
	color: #fff;
	text-align: center;
	background-color: #0000cd;	
}

#point h2::after{
  width: 0;
  height: 0;
 position: absolute;
  top: 100%;
left: 50%;
margin: 0 0 0 -50px;
border: 20px solid transparent;
border-top-color: #0000cd;
content: '';
}

#point h3{
	background-color:#d5eaed;
    padding:1rem;
	}



#point h4,#books h4{
	background-color:#d5eaed;
    padding:1rem;
	}
/*
Plan
================================================ */
#plan {
    padding: 4rem 1rem;
}





/*
VOICE
================================================ */
.voice {
    padding: 0.5em 1em;
    margin: 2em 0;
    font-weight: bold;
    background: #FFF;
    border: solid 3px #6091d3;/*線*/
    border-radius: 10px;/*角の丸み*/
}
.voice p {
    margin: 0; 
    padding: 0;
}

/*
books
================================================ */
#books {
  text-align:center;
}



/*
FOOTER
================================================ */
#footer {
    background: #f0efe7;
    padding: 20px;
    text-align: center;
    font-size: .875rem;
}



/*
DESKTOP SIZE
================================================ */
@media (min-width:800px) {
/* Common */
    h2 {
        font-size: 5rem;
    }
	title{
		font-size: 7rem;
		
	}
    a:hover,
    .ticket-btn:hover {
        transition: .3s;
    }
    a:hover {
        color: var(--blue);
    }
    .ticket-btn:hover {
        background: var(--blue);
    }

/* Header */
   
/* Hero */
    #hero h1 {
    font-size: 6.875rem;
    text-align: center;
    }
    .hero-date {
        font-size: 3rem;
    }
 
}
/*
Mobile SIZE
================================================ */
@media (max-width: 500px ){
 .container { 
      max-width: 500px;
	   } 
	
h1.title{
	font-size:1.5rem;
	}
	
.hero p{
	font-size:1rem;
	}
	
.cta{
	font-size:0.8rem;
	line-hight: 0.1rem;
     }
	
a.btn{
	font-size:1rem;
	}
	
#service h2 , #feature h2, #point h2, .service h2{
	font-size:1.3rem;
}
	}

@media (min-width: 501px) {
  .container {
    max-width: 797px;
  }
}
 

 
