@charset "utf-8";
/* ======================================================================
    共通
==========================================================================*/
.biz-udpgothic-bold {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 700;
  font-style: normal;
}

.biz-udpgothic-regular {
  font-family: "BIZ UDPGothic", sans-serif;
  font-weight: 400;
  font-style: normal;
}

h1{
  margin-bottom:10px;
  font-size: 30px;
  color: #3B3B3B;
  padding: 1rem 2rem;
  border-left: 6px double #d7177b
}

img {
	width: 100%;        		/* max-widht: 100%は避ける(レンダリングでチラつく) */
	height: auto;
}

html,body{ width:100%; overflow-x:hidden; }

body{
  margin: 0;
  height: 100%;
  font-family: BIZ UDPGothic;
}

main{
  flex: auto;
}

.title{
  border-left: solid 5px #05562e;
  background-color: #ebfcf1;
  padding: 20px;
  margin:  80px 30px 30px 30px;
  color: #022b16;
}

:root{
	scroll-padding: 120px;
	scroll-behavior: smooth;
}

@media screen and (max-width : 820px){
  :root{
    scroll-padding: 190px;
    scroll-behavior: smooth;
  }

}



/*
SLIDE MENU
================================================ */
.btn {
  width: 60px;
  height: 60px;
  background-color: #f2f9f5;/*p2+*/
  border-radius: 50%;
  position: fixed;
  top:10px;
  right:15px;
  opacity: 0.8;
  z-index: 10001;
  display: block;
}

.btn span {
  width:50%;
  border: 2px solid #05562e;/*li2+*/
  background-color: #05562e;/*li2+*/
  position: absolute;
  top:25%;
  left: 22%;
  transition: 0.3s;
}
.btn span:nth-child(2) {
  top:48%;
}
.btn span:nth-child(3) {
  top:72%;
}
.active:nth-child(1) {
  top:47%;
  left: 17%;
  width: 60%;
  transform: rotate(-45deg);
}
.active:nth-child(2) {
  opacity: 0;
}
.btn .active:nth-child(3) {
  width: 60%;
  top:47%;
  left: 17%;
  transform: rotate(45deg);
}


.menu {
  background-color: #05562e;
  box-shadow: 0 0 20px rgba(22, 22, 22, 0.1);
  overflow: hidden;
  width: 40%;
  height: 100vh;
  position: fixed;
  padding-top: 100px;
  top: 0;
  right: -40%;
  transition: 0.5s;
  z-index: 10000;
}
.menu p {
    width: 90%;
    height: 10vh;
    border-bottom: 0.1px solid #01811d;
    margin: 0 auto;
    text-align: center;
    align-content: center;
    font-size: 25px;



}

.menu p br{
  display: none;
}
  .activeCont {
      opacity: 1;
  }


.activeBtn {
  right: 0;
}

a:link {
	color: #fcfcfc;
	text-decoration: none;
}
a:visited {
	color: #fcfcfc;
	text-decoration: none;
}
a:hover {
	color: #fcfcfc;
}
a:active {
	color: #fcfcfc;
}

@media screen and (max-width : 767px){
  .menu p br{
    display: grid;
  }
  .menu p{
    line-height: 20px;
  }
 }

/*
ヘッダー
================================================ */
header{
  background-color: #f2f9f5;
  position: fixed;
  width: 100%;
  z-index: 999;
  top: 0;
  left: 0;
  box-sizing: border-box;
  box-shadow: 0px 5px 5px  rgb(92, 92, 92,0.3);
  display: flex;
}
.logo{
  display: flex;
  justify-content: left;
  padding: 20px;
  margin-right: auto;
}
.mark{
  width: 100px;
}
.type{
  display: grid;
  align-content: center;
  margin-left: 5px;
}
.copy{
  font-size: 15px;
  margin-bottom: 5px;
}
.name{
  margin-top: 5px;
  font-size: 30px;
}

.flexbox {
  display: flex;
}

.fw {
  flex-wrap: wrap;
}

ul {
  margin: 0;
  padding: 0;
  li {
    list-style: none;
  }
}

#fontSize {
    width: 120px;
    margin-left: 30px;
    display: grid;
    align-content: center;
  ul {
    width: 110px;
    height: 35px;
    margin: 0 auto;
    justify-content: center;
    border: 1px solid #179955;
    background-color: #fcfcfc;
    border-radius: 5px;
    -moz-border-radius: 5px;
    -webkit-border-radius: 5px;
    -ms-border-radius: 5px;
    -o-border-radius: 5px;
    overflow: hidden;
    li {
      width: 35px;
      min-width: inherit;
      text-align: center;
      line-height: 28px;
      height: 35px;
      align-self: center;
      line-height: 35px;
      position: relative;
      cursor: pointer;
      border-left: 1px solid #179955;
      font-weight: bold;
      &:first-of-type {
         border: none; 
      }
    }
  }
    p {
       text-align: center;
       font-weight: 600;
       font-size: .87em;
       display: block;
       width: 100%;
       margin: 0 0 5px 0;}
}

.TEL{
  display: grid;
  align-content: center;
  justify-items: left;
  margin-left: 25px;
  margin-right: 100px;
}
.TEL_link{
  display: flex;
  justify-content: center;
  align-items: center;
  margin-left: 10px;
}
.TEL_mark{
  width: 30px;
  height: 25px;
}
.TEL_message{
  font-size: 15px;
  margin-bottom: 10px;
}
.TEL_number a{
  color: #022b16;
  margin-left: 10px;
}
.choice{
  max-width: 70%;
  display: flex;
  justify-content: right;
}

@media screen and (max-width : 927px){
  .mark{
    width: 80px;
  }
  .copy{
    font-size: 13px;
  }
  .name{
    font-size: 23px;
  }
  .TEL_mark{
    width: 20px;
    height: 15px;
  }
  .TEL_message{
    font-size: 12px;
    margin-bottom: 10px;
  }
  .TEL_number a{
    color: #022b16;
    margin-left: 5px;
  }
  
 }
 @media screen and (max-width : 820px){
  header{
    flex-wrap: wrap;
  }
  #fontSize{
    margin-right: 80px;
  }
  .TEL{
    margin-left: 10px;
    margin-right: 80px;
  }
  #fontSize{
    margin-right: 15px;
  }
  .logo{
    width: 100%;
    justify-content: center;
  }
  .choice{
    justify-content: center;
    max-width: 100%;
    padding: 10px;
  }
  header{
    justify-content: center;
  }
  .TEL{
    margin-right: 0;
  }
 }


 @media screen and (max-width : 430px){
  .mark{
    width: 70px;
  }
  .copy{
    font-size: 10px;
  }
  .name{
    font-size: 20px;
  }
  .TEL_number a{
    font-size: 13px;
 }
  #fontSize{
    margin-left: 10px;
  }
  .TEL_message{
    font-size: 10px;
  }
  .logo{
    padding: 10px;
    justify-content: left;
  }
 }
/* ======================================================================
    ヒーロー部分
==========================================================================*/
.hero_img{
  width: 100%;
}
.concept{
  width: 200px;
  height:200px;
  background-color: rgba(219, 219, 219, 0.3);
  display: flex;
  justify-content: center;
  align-items: center;
  color: #fcfcfc;
  text-shadow:1px 1px 3px rgba(59, 59, 59, 0.3);
  line-height: 30px;
  position: absolute;
  top: 40%;
  right: 30%;
}

.hero_img_mini{
  display: none;

}
@media screen and (max-width: 927px) {
  .concept{
    top: 15%;
    right: 20%;
  }
  
}

@media screen and (max-width : 820px){
  .concept{
    top: 50%;
    right: 10%;
  }
  .hero_img{
    display: none;
  }
  .hero_img_mini{
    display: grid;
    width: 100%;
    margin-top: 172px;
  
  }
  .choice{
    border-top: dotted 0.5px #022b16;
  }
 }

@media screen and (max-width : 430px){
  .hero_img_mini{
    margin-top: 143px;
  }
  .concept{
    top: 40%;
    right: 10%;
  }
 }
  

/* ======================================================================
    得意とするサービス内容
==========================================================================*/
  .sodan{
    color:#022b16 ;
    margin: 60px;
  }
  .line{
    display: none;
  }
  .service_zentai{
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .sodan_naiyo{
    display: grid;
    align-content: center;
    justify-items: center;
    margin: 10px 30px;
  }

  .sodan_img{
    width: 250px;
    margin: 10px;
  }

  .sodam_naiyo h3{
    margin: 10px;
  }

  .service_ex{
    margin: 30px 10px 10px 10px;
    font-size: 16px;
    width: 100%;
  }

  @media screen and (max-width: 927px) {
    .service_zentai{
      display: grid;
      align-content: center;
      justify-items: center;
    }
  }

  @media screen and (max-width: 480px) {
    .sodan{
      margin: 40px;
      line-height: 30px;
    }
    .line{
      display: grid;
    }
  }


/* ======================================================================
    弁護士紹介
==========================================================================*/
.bengosi_shokai_zentai{
  display: grid;
  align-content: center;
  justify-items: center;
}
.syokai{
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 30px 30px 30px;
}
.bengosi{
  width: 250px;
  margin: 20px;
}
.bengosi_name{
  display: flex;
  align-items: flex-end;
}

.bengoshi_hurigana{
  margin-left: 10px;
  margin-bottom: 30px;
  font-size: 15px;
}

.bengoshi_syokai{
  margin: 20px;
}

.bengoshi_syokai h3{
  margin-bottom: 15px;
}

.bengoshi_syokai h2{
  margin-bottom: 30px;
}

.ryakureki{
  font-size: 15px;
  line-height: 20px;
}

.zimusyo{
  margin: 0 30px;
}

@media screen and (max-width: 927px) {
  .syokai{
    display: grid;
    align-content: center;
    justify-items: center;
  }
}

@media screen and (max-width: 400px) {
  .zimusyo{
    margin: 0 40px;
  }
}

/* ======================================================================
    費用
==========================================================================*/
.hiyo_midasi p{
  font-size: 23px;
  color: #022b16;
  margin-right: 5px;
}

.hiyo_midasi{
  display: flex;
  align-items: center;
  font-size: 18px;
  color: #3b3b3b;
  margin:50px;
  border-bottom: solid 0.5px #e2e2e2;
  padding: 10px;
}

.hiyo_kazyo{
  margin-left: 50px;
  display: grid;
  justify-content: center;
}

.hiyo_kazyo li{
  list-style: disc;
  margin: 0px 20px 0px 50px;
  font-size: 15px;
}
.hiyo{
  display: flex;
  margin: 30px 50px;
  align-items: center;
}
.hiyo_tanka{
  font-size: 20px;
  margin-right: 10px;
}
.hiyo_number{
  font-size: 65px;
  margin-right: 10px;
}
.hiyo_tanni{
  display: grid;
  align-content: center;
  justify-items: center;
}
.hiyo_yen{
  font-size: 20px;
}

.bunkatu_setumei{
  margin: 60px;
  font-size: 16px;
}

.bunkatu_syurui{
  display: grid;
  justify-content: center;
  width: 80px;
  background-color: #05562e;
  padding: 10px;
  text-align: center;
  color: #fcfcfc;
  margin: 0 0 0 80px ;
}
.bunkatu_hiyo{
  display: grid;
  justify-content: center;
}

.first{
  background-color: #d46c0b;
}
.first_number{
  color: #d46c0b;
}

.tyakusyukin{
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  margin: 30px;
}
.tyakusyu_hiyo{
  margin-right: 20px;
}
.bunkatu_case{
  background-color: #f2f9f5;
  padding: 10px;
  width: 80px;
  font-size: 15px;
}

.hosyokin_case{
  background-color: #fcfcfc;
  border: solid 0.5px #05562e;
  padding: 10px;
  width: 180px;
  height: 25px;
  font-size: 15px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}
.hosyokin_syurui{
  display: grid;
  justify-items: center;
  margin-bottom: 30px;
}

.tyakusyukin_kazyo{
  margin: 30px 50px;
  display: grid;
  justify-content: left;
  line-height: 20px;
}

.tyakusyukin_syurui{
  margin-bottom: 30px;
}

@media screen and (max-width: 430px) {
  .bunkatu_syurui{
    margin-left: 50px;
  }
}

@media screen and (max-width: 400px) {
  .hiyo_kazyo li{
    margin-left: 30px;
    margin-right: 40px;
  }
  .hiyo{
    margin:30px 20px;
  }
}
  
  /* ======================================================================
     アクセス
  ==========================================================================*/
  #access{
    margin: 100px;
    color: #3B3B3B;
  }
  
  .access{
    display: grid;
    justify-content: center;
  }
  .map{
    margin: 50px;
    width:450px;
  }
  
  .map iframe{
    height: 450px;
  }
  
  .itikankei{
    display: grid;
    place-items: center; 
    line-height: 30px;
    font-size: 15px;
  }
  
  @media (max-width: 1070px) {
    .access{
      display: grid;
    }
    .map{
      margin: 30px auto;
    }
  }

  
  @media (max-width: 675px) {
    #access{
      margin: 60px 30px;
    }
  }

  @media (max-width: 500px) {
    .map{
      margin: 30px auto;
      width:300px;
    }
    .map iframe{
      height: 300px;
    }
  }
    
  /* ======================================================================
     お問い合わせ
  ==========================================================================*/
  #contact{
    margin: 100px;
    color: #3B3B3B;
  }

  /* フォーム */
  .Form {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
    max-width: 720px;
  }
  .Form-Item {
    border-bottom: 1px solid #ddd;
    padding-top: 24px;
    padding-bottom: 24px;
    width: 100%;
    display: grid;
    align-items: center;
  }
  .Form-Item_last{
    border-bottom: none;
  }
  
  .Form-Item:nth-child(5) {
    border-bottom: 1px solid #ddd;
  }
  .Form-Item-Label {
    width: 100%;
    max-width: 248px;
    padding: 20px;
    border-left: solid 3px #01542e ;
    letter-spacing: 0.05em;
    font-weight: bold;
    font-size: 18px;
    display: flex;
    align-items: center;
    margin-bottom: 20px;
  }
  
  .Form-Item-Label.isMsg {
    margin-top: 8px;
    margin-bottom: auto;
  }
  
  
  .Form-Item-Input {
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    height: 48px;
    flex: 1;
    width: 93%;
    background: #fcfcfc;
    font-size: 18px;
    margin: 20px;
  }
  
  .Form-Item-Textarea {
    border: 1px solid #cfcfcf;
    border-radius: 6px;
    height: 216px;
    width: 93%;
    margin: 20px;
    background: #fcfcfc;
    font-size: 18px;
  }
  
  .Form-Btn {
    border-radius: 6px;
    border: 0.25px solid #01542e;
    margin-top: 32px;
    margin-left: auto;
    margin-right: auto;
    padding-top: 20px;
    padding-bottom: 20px;
    width: 280px;
    display: block;
    letter-spacing: 0.05em;
    background: #01542e;
    color: #fff;
    font-weight: bold;
    font-size: 20px;
    margin-bottom: 50px
  }
  
  
  
  @media (max-width: 800px) {
    .Form-Item {
      display: grid;
    }
    .Form-Item-Textarea{
      margin:10px;
      width: 90%;
    }
    .Form-Item-Input{
      margin:10px;
      width: 90%;
    }
    .Form-Item-Label-Required {
      margin: 10px;
    }
    .Form-Btn {
      width: 180px;
    }
  }
  
  @media (max-width: 675px) {
    #contact{
      margin: 60px 30px;
    }
    .Form {
      margin-top: 30px;
    }
    .Form-Btn {
      margin-top: 15px;
      padding-top: 10px;
      padding-bottom: 10px;
      width: 150px;
      font-size: 15px;
    }
    }
  
  
  /* 表 */
  .table_design01 {
    border-collapse: collapse;
    width: 40%;
    margin: 50px;
    max-width: 700px;
  }
  .table_design01 th, .table_design01 td {
    border: 2px solid #fff;
    background-color: #fff3fa;
    padding: 1em;
  }
  .table_design01 th {
    background-color: #d7177b;
    color: #fff;
    font-weight: bold;
    text-align: center;
    width: 20%;
    min-width: 4em;
  }
  .adress{
    display: flex;
    justify-content: center;
  }
  caption{
    text-align: left;
  }

  caption h2{
    margin-bottom: 5px;
  }
  
  /* 営業時間 */
  .tel{
    display: grid;
    align-content: center; 
    line-height: 30px;
  }
  .tel h3{
    margin-top: 100px;
    margin-bottom: 5px;
  }

  .tel p{
    margin-top: 5px;
    margin-bottom: 15px;
  }
  
  @media (max-width: 830px) {
    .adress{
      display: grid;
      justify-items: center;
  }
   .tel{
    line-height: 20px;
  }
   .table_design01{
    width: 100%;
  
  }
  }

  @media (max-width: 830px) {
    .tel h3{
      margin-top: 50px;
    }
  
    .tel p{
      font-size: 13px;
      line-height: 15px;
    }
  
  }
  
  /* ======================================================================
   Topに戻る
==========================================================================*/
   
  #js-pagetop {
    position: fixed;
    width: 50px;
    height: 50px;
    border-radius: 50px;
    background-color: #575757;
    bottom: 50px;
    right: 50px;
    text-align: center;
    font-size: 14px;
    color: #ffffff;
  }
  
   
  #js-pagetop span {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: block;
    width: 100%;
    
  } 
  
  @media screen and (max-width : 580px){
    #js-pagetop {
      right: 2rem;
    }
    .slide1{
      object-fit:fill;
    }
   }

  /* ======================================================================
     フッター
  ==========================================================================*/
  
  
  footer{
    background-color: #f2f9f5;
    display: flex;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 20px;
  }

  .logo_footer{
    display: flex;
    justify-content: center;
  }

  .mark_footer{
    width: 80px;
  }
  .copy_footer{
    font-size: 13px;
  }
  .name_fotter{
    font-size: 23px;
  }