@charset "UTF-8";
/*------------------------------------
  全体設定　ここから
-------------------------------------*/
/* 初期設定 */
html {
  font-size: 62.5%;
}
body {
  width: 100%;
  font-size: 1.4rem;
  line-height: 1.75;
  font-family: "游ゴシック体", YuGothic, "游ゴシック", "Yu Gothic", sans-serif;
}
body,
header,
nav,
h1,
h2,
h3,
h4,
h5,
h6,
p,
ol,
ul,
li,
a,
dl,
dd,
dt,
div,
span,
time,
figure,
figcaption,
article,
section,
aside {
  margin: 0px;
  padding: 0px;
  box-sizing: border-box;
}
h2 {
  font-size: 2.4rem;
  text-align: center;
  line-height: 1.5;
}
h3{
  font-size: 2.1rem;
  text-align: center;
}
p{
  font-size: 1.4rem;
}
small{
  font-size: 1.2rem;
}
img,
svg {
  vertical-align: bottom;
  width: 100%;
  height: 100%;
  object-fit: cover;
}
a {
  text-decoration: none;
  color: #fff;
  display: inline-block;
  text-align: center;
  vertical-align: middle;
}
ul li {
  list-style-type: none;
}

.flex-container{
  display: flex;
  flex-wrap: wrap;
}
.sp-newline{
  display: none;
}
@media screen and (max-width: 570px){
  .pc-newline{
    display: none;
  }
  .sp-newline{
    display: block;
  }
}

/* 初期設定----------------------------------------------- */

/* セクション設定 */
.section-wrapper {
  padding: 5rem 2rem;
}
.section-wrapper-l {
  padding: 5rem 2rem 8rem;
}
.lp-width{
  max-width: 1200px;
  margin: 0 auto;
}
.site-name{
  font-size: 2.1rem;
  line-height: 1;
}
.section-title-sub {
  text-align: center;
  font-size: 1.2rem;
  color: #999;
  margin-bottom: 5rem;
  font-family:'Georgia',serif;
}
.bg-gray{
  background-color: #F5F5F5;
}
.txt-gray{
  color: #CCCCCC;
}
.txt-large{
  font-size: 2.1rem;
}
@media screen and (max-width: 760px){
  .section-title-sub{
    margin-bottom: 3rem;
  }
}
@media screen and (max-width: 570px){
  .section-wrapper {
    padding: 3rem 1rem;
  }
  .section-wrapper-l{
    padding: 3rem 1rem 5rem;
  }
  .txt-large{
    font-size: 1.8rem;
  }
}
/* セクション設定-------------------------------------------- */

/** -----------------------------------
    ボタン設定　ここから
-------------------------------------**/
.button,
.button-s{
  display: block;
  background-color: #fff;
  max-width: 222px;
  width: 100%;
  height: 67px;
  line-height: 67px;
  margin: 5rem auto 0;
  cursor: pointer;
  position: relative;
  transition: all .2s;
  border: 0.25px solid #999;
  color: #000;
  text-align: center;
  font-size: 2.1rem;
}
.button-s{
  font-size: 1.2rem;
  height: 30px;
  line-height: 30px;
  max-width: 100px;
  margin: 0 0 0 auto;
  border-color: #0068B7;
  color: #0068B7;
}
@media screen and (max-width: 760px){
  .button{
    margin-top: 3rem;
  }
}
@media screen and (max-width: 570px){
  .button{
    font-size: 1.8rem;
  }
}

/** -----------------------------------
    テーブル設定　ここから
-------------------------------------**/
table.info{
  width: 100%;
  border-top: 0.25px solid #999;
  margin-top: 2rem;
}
table.info tr{
  border-bottom: 0.25px solid #999;
}
table.info td{
  padding: 0.8rem 1rem;
}
table.info:not(:last-of-type){
  margin-bottom: 6rem;
}
table.info.detail{
  border-top: none;
  margin-top: 0;
}
table.info.detail td{
  padding: 1.5rem 3rem;
}
table.info.detail td.title{
  width: 20%;
  padding-right: 0;
}
.table-title{
  background-color: #0068B7;
  color: #fff;
  padding: 0.2rem 3rem;
}
@media screen and (max-width: 570px){
  table.info.detail td{
    padding: 1rem 1.5rem;
  }
  table.info:not(:last-of-type){
    margin-bottom: 4rem;
  }
}

/*------------------------------------
  トップページ（index.html）設定
-------------------------------------*/
#header{
  width: 100%;
  margin: 0 auto;
  padding: 15px;
  position: relative;
  z-index: 100;
  background-color: #0068B7;
  color: #fff;
}
#header .flex-container{
  align-items: center;
}
#header .logo{
  width: 35%;
  text-align: left;
  z-index: -1;
}
@media screen and (max-width: 900px){
  #header .logo{
    width: calc(100% - 5rem);
  }
}

/* ナビゲーション（PC） */
#header .gnav-pc-wrap {
  width: 65%;
}
#header ul.gnav-pc{
	display: flex;
	text-align: center;
  justify-content: flex-end;
  align-items: baseline;
  width: 100%;
}
#header ul.gnav-pc li {
  display: inline;
  margin-left: 2.6vw;
}
#header ul.gnav-pc li a {
  letter-spacing: 0.1em;
	transition:	all .2s;
  padding: .6rem .8rem .8rem;

}

/*	ハンバーガーメニュー（ボタン）	*/
#header .openbtn{
	position: relative;
	cursor: pointer;
  width: 40px;
  height:40px;
	transition: all .2s;
  border: 0.25px solid #fff;
}
#header .openbtn span{
  display: inline-block;
  transition: all .2s;/*アニメーションの設定*/
  position: absolute;
  left: 6px;
  height: 2px;
	background: #FFF;
	width: 70%;
}
#header .openbtn span:nth-of-type(1) {
	top:8px;
}
#header .openbtn span:nth-of-type(2) {
	top:19px;
}
#header .openbtn span:nth-of-type(3) {
	top:30px;
}
#header .openbtn.bgchange span{
  background: #0198ce;
}
/*activeクラスが付与されると線が回転して×に*/
#header .openbtn.active{
  position: fixed;
  top: 1.8rem;
  right: 1.5rem;
}
#header .openbtn.active span:nth-of-type(1) {
  top: 13px;
  left: 4px;
  transform: translateY(6px) rotate(-45deg);
  width: 80%;
}
#header .openbtn.active span:nth-of-type(2) {
  opacity: 0;/*真ん中の線は透過*/
}
#header .openbtn.active span:nth-of-type(3){
  top: 25px;
  left: 4px;
  transform: translateY(-6px) rotate(45deg);
  width: 80%;
}

/*	ハンバーガーメニュー（メニュー）	*/
#header .gnav-sp-wrap{
  display: none;
  width: 5rem;
	z-index: 1;
}
#header .gnav-sp-list{
	display: block;
	visibility: hidden;
	opacity: 0;
	z-index: -1;
	background-color: #0068B7;
	position: fixed;
	width: 100%;
	height: 100vh;
	top: 0;
	right: 0;
	transition: all 0.2s;
}
#header .gnav-sp-list.is-active{
	visibility: visible;
	opacity: 1;
}
#header ul.gnav-sp {
  display: flex;
  flex-direction: column;
  width: 100%;
  height: 100%;
  justify-content: center;
  padding: 0 10%;
  text-align: left;
}
#header ul.gnav-sp li {
  display: block;
}
#header ul.gnav-sp li a {
  display: block;
  text-align: center;
  margin: 2rem 0;
  color: #fff;
}
@media screen and (max-width: 900px){
  #header{
    align-items: center;
  }
	#header .gnav-pc-wrap{
		display: none;
	}
	#header .gnav-sp-wrap{
		display: flex;
		justify-content: flex-end;
		align-items: center;
	}
	#header .gnav-sp{
		display: block;
	}
}
@media screen and (max-width: 570px){
  #header{
    padding: 1.5rem;
  }
}

/* メインビジュアル（TOPページ） */
#mainvisual{
  width: 100%;
  max-height: 50rem;
  height: 43vw;
}
#mainvisual .main-text{
  width: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  background-image: url(../images/header.jpg);
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
}
#mainvisual .tel-icon{
  position: absolute;
  top: 2rem;
  left: 4rem;
  width: 30rem;
}
@media screen and (max-width: 760px){
  #mainvisual .tel-icon{
    width: 20rem;
    left: 3rem;
  }
}
@media screen and (max-width: 570px){
  #mainvisual .main-text{
    background-image: url(../images/sp_top.jpg);
  }
  #mainvisual .tel-icon{
    width: 15rem;
    top: 1rem;
    left: 1rem;
  }
}

/* 業務案内 */
#service .flex-container{
  justify-content: space-between;
}
#service .flex-container .flex-item{
  width: 30%;
  background-color: #fff;
}
#service .flex-container .flex-item .img{
  width: 100%;
  height: 222px;
}
#service .flex-container .flex-item .text{
  padding: 2rem;
}
@media screen and (max-width: 760px){
  #service .flex-container .flex-item{
    width: 100%;
  }
  #service .flex-container .flex-item:not(:last-of-type){
    margin-bottom: 3rem;
  }
}
@media screen and (max-width: 570px){
}

/* こだわり */
#about .flex-container .flex-item{
  width: 50%;
  padding: 0 7.5rem;
}
#about .flex-container .flex-item .text{
  padding-top: 2rem;
}
#about table.info td.title{
  width: 28%;
}
@media screen and (max-width: 760px){
  #about .flex-container .flex-item{
    width: 100%;
  }
  #about .flex-container .flex-item:not(:last-of-type){
    margin-bottom: 3rem;
  }
  #about table.info{
    margin-top: 0;
  }
}
@media screen and (max-width: 570px){
  #about .flex-container .flex-item{
    padding: 0;
  }
}

/* お問い合わせ */
#contact-area .lp-width{
  max-width: 960px;
}
#contact-area .box-white{
  background-color: #fff;
  padding: 3rem 4rem;
}
#contact-area .flex-container{
  margin-top: 1rem;
}
#contact-area .flex-container .flex-item{
  width: 50%;
}
#contact-area .flex-container .flex-item .tel-box{
  display: flex;
  align-items: center;
  margin-top: 0.7rem;
}
#contact-area .flex-container .flex-item .tel-box .yellow{
  display: flex;
  width: 110px;
  height: 52px;
  justify-content: center;
  align-items: center;
  background-color: #FFCF07;
  border-radius: 6.414px;
  text-align: center;
}
#contact-area .flex-container .flex-item .tel-box .tel-info{
  padding-left: 1rem;
  text-align: left;
}
#contact-area .flex-container .flex-item .tel-box .tel-no{
  font-size: 2.4rem;
  line-height: 1.5;
}
#contact-area .flex-container .flex-item .tel-box .small{
  font-size: 1.1rem;
}
#contact-area .flex-container .flex-item .button-s{
  max-width: 100%;
  font-size: 1.4rem;
  height: 52px;
  line-height: 52px;
  margin-top: 0.7rem;
}
@media screen and (max-width: 760px){
  #contact-area .box-white{
    text-align: center;
  }
  #contact-area .flex-container .flex-item{
    width: 100%;
  }
  #contact-area .flex-container .flex-item:not(:last-of-type){
    margin-bottom: 1rem;
  }
  #contact-area .flex-container .flex-item .tel-box{
    justify-content: center;
  }
}
@media screen and (max-width: 570px){
  #contact-area .box-white{
    padding: 2rem 1rem;
  }
}

/* フッター */
#footer{
  padding: 3% 2% 1%;
  border-top: 10px solid #0068B7;
}
#footer .address{
  margin: 2rem 0 5rem;
}
@media screen and (max-width: 570px){
  #footer{
    text-align: center;
  }
}

/*------------------------------------
  行政書士紹介ページ（profile.index）設定
-------------------------------------*/
#profile .flex-container{
  align-items: center;
}
#profile .flex-item.img{
  width: 30%;
  height: 480px;
}
#profile .flex-item.text{
  width: 70%;
  padding-left: 5rem;
}
#profile .flex-item.text .name{
  font-weight: bold;
  text-align: right;
}
#profile .flex-item.text .main-text{
  line-height: 2.57;
}
#profile .flex-item.text .catch-copy{
  margin-bottom: 5rem;
}
@media screen and (max-width: 760px){
  #profile .flex-item.img{
    width: 100%;
    height: 100vw;
    max-height: 400px;
    margin-bottom: 3rem;
  }
  #profile .flex-item.img img{
    object-fit: contain;
  }
  #profile .flex-item.text{
    width: 100%;
    padding-left: 0;
  }
  #profile .flex-item.text .catch-copy{
    margin-bottom: 2rem;
  }
  #profile .flex-item.text .main-text{
    line-height: 2.2;
  }
}


#point .flex-container .flex-item{
  width: 50%;
  padding: 0 7.5rem;
}
#point .flex-container .flex-item .title{
  display: flex;
  align-items: center;
  margin-bottom: 3rem;
  justify-content: center;
}
#point .flex-container .flex-item .title .point{
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: #F4CD00;
  line-height: 1;
  font-weight: bold;
  margin-right: 2rem;
}
@media screen and (max-width: 760px){
  #point .flex-container .flex-item{
    width: 100%;
    padding: 0;
  }
  #point .flex-container .flex-item:first-of-type{
    margin-bottom: 3rem;
  }
  #point .flex-container .flex-item .title{
    margin-bottom: 2rem;
  }
}

#profile-detail .lp-width{
  max-width: 800px;
}

/*------------------------------------
  業務案内ページ（service.index）設定
-------------------------------------*/
#service-detail .lp-width{
  max-width: 800px;
}
#service-detail h3{
  width: 240px;
  height: 50px;
  line-height: 50px;
  background-color: #0068B7;
  color: #fff;
  margin-bottom: 2.5rem;
}
#service-detail .table-title{
  background-color: #ccc;
  color: #000;
  font-weight: bold;
  margin-top: 5rem;
}
#service-detail table.info.detail tr:last-of-type{
  border-bottom: none;
}
#service-detail table.info.detail td.title{
  width: 27%;
}
@media screen and (max-width: 570px){
  #service-detail h3{
    width: 210px;
    height: 40px;
    line-height: 40px;
    margin-bottom: 1.5rem;
  }
  #service-detail .table-title{
    margin-top: 3rem;
  }
}

/*------------------------------------
  お問い合わせページ（contact.index）設定
-------------------------------------*/
#contact-form .lp-width,
#contact-check .lp-width{
  max-width: 800px;
}
#contact-form .txt-large{
  margin-bottom: 2rem;
}
#contact-form .button{
  background-color: #8CC63F;
  color: #fff;
  border: none;
  font-size: 1.4rem;
  height: 50px;
  line-height: 50px;
  max-width: 180px;
}
#contact-comp p{
  margin-top: 5rem;
  text-align: center;
}

form.contact{
  margin: 5rem 0;
}
table.form{
  width: 100%;
  margin: 0 auto;
  line-height: 2.14;
  text-align: left;
}
table.form{
  border-top: 0.25px solid #999;
}
table.form tr{
  border-bottom: 0.25px solid #999;
}
table.form td{
  padding: 1.5rem;
}
table.form td.title{
  width: 25%;
}
table.form input,
table.form textarea,
table.form select{
  max-width: 360px;
  width: 100%;
  height: 30px;
  padding: 0.8rem;
  border: 0.25px solid #999;
  background: #E6E6E6;
  border-radius: 0;
}
table.form input:focus,
table.form textarea:focus,
table.form select:focus{
  border: 1px solid #00d9d9;
  outline: 0;
}
table.form textarea{
  height: 18.3rem;
  resize: none;
}
table.form .label{
  display: inline-block;
  text-align: center;
  width: 5rem;
  background-color: #888;
  padding: .2rem;
  color: #fff;
  font-size: 1.4rem;
  line-height: 1;
}
input[type="button"],
input[type="text"],
input[type="submit"] {
   -webkit-appearance: none;
   border-radius: 0;
}
@media screen and (max-width: 570px){
  form.contact{
    margin: 3rem 0;
  }
  #contact-comp p{
    margin-top: 2rem;
  }
}
