@charset "UTF-8";
/* CSS Document */
/*Theme Name: Matsumae Hiroshi
Theme URI: https://matsumae-law.com/
Author:松前 拓士（まつまえ ひろし）
Author URI: https://matsumae-law.com
Description:中小企業法務に強い、姫路の弁護士のプロフィールサイトです。
Version: 1.0*/


/******top.css読み込み******/
.mv_top {
    width: 1065px;
    /*width: 75%;*/
   
  height: auto;
  margin-left: auto;
   
}
main{
   
}
.mv_top__bg {
  height: 762px;
  background-image: url("../images/Top_main_image.svg");
  background-repeat: no-repeat;
  background-position: center;
  background-size: cover;
    left: calc((100% - 1065px ) / 2);
}
.top_sp {
  display: none;
}
.mv_top__heading {
  position: absolute;
   top: 20%;
    left: calc((100% - 1080px ) / 2);
}
.heading_text {
  font-family: "Noto Serif JP";
  font-size: 4.2rem;
  font-weight: 400;
  line-height: 7.8rem;
  text-align: left;
  letter-spacing: 0.7rem;
}
.blue {
  color: #05368F;
}
.blue {
  color: #05368F;
}
.heading_text__sub {
  font-family: "Noto Serif JP";
  font-size: 1.8rem;
  line-height: 3.4rem;
  text-align: left;
  letter-spacing: 0.2rem;
  margin-top: 20px;
}
.dots_text {
  text-emphasis: filled;
}
/*スクロールアニメーションここ*/
.mv_scroll {
  width: 20px;
  position: absolute;
 margin-top: 140px;
  top: 50%;
 left: calc((100% - 1080px ) / 2);
}
.mv_scroll__link {
  position: relative;
}
.mv_scroll__link::after {
  content: '';
  position: absolute;
  bottom: 0;
  width: 2px;
  height: 75px;
  margin-top: 56px;
  margin-left: -9px;
  left: 9px;
  top: 70px;
  background-color: #EC8641;
  animation: upDownEffect 2s ease-in-out infinite;
  opacity: 0;
}
/*線が上から下に動く*/
@keyframes upDownEffect {
  0% {
    height: 0;
    top: 0;
    opacity: 0;
  }
  30% {
    height: 30px;
    opacity: 1;
  }
  100% {
    height: 0;
    top: 50px;
    opacity: 0;
  }
}
a:hover::after {
  transform: scale(1, 1); /*ホバー後、x軸方向に1（相対値）伸長*/
  transform-origin: left top; /*左から右に向かう*/
}
/*アニメーションここまで*/
.mv_scroll__text {
  writing-mode: vertical-rl;
  letter-spacing: 0.2rem;
  margin-top: 20px;
  font-size: 1.1rem;
  color: #333;
  margin: 0 auto;
}
@media(max-width:1080px) {
  .mv_top {
   
      width: auto;
    margin-top: 0;
       height: calc(100vh - 310px);
  }
  .mv_top__bg {

   background-position: 50% 20%;
    background-size: cover;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    position: relative;
    left: 0;
    margin-top: 35px;
  }
  /* width: 100%;
    background-image: url("../images/main_img.jpg");
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;   
     height: 100%;*/
  /* padding-top: 97.4189%; */
  /* margin-top: 218px;
  ここまで */
  /* height: 100%;
    padding-top: 97.4189%;
    margin-top: 218px;
    width: 100%;
    background-image: url(../images/top_sp.svg);
    background-repeat: no-repeat;
    background-position: center center;
    background-size: cover;変更前*/
  .top_pc {
    display: none;
  }
  .top_sp {
    display: block;
  }
  .mv_top__heading-sp {
       margin-left: 80px;
    margin-top: 35px;
    margin-bottom: 100px;
    position: relative;
    display: block;
    padding-right: 24px;
  }
  .heading_text {
    font-size: 2.6rem;
    line-height: 3.8rem;
    letter-spacing: 0.4rem;
    margin-bottom: 20px;
  }
  .heading_text__sub {
    margin-top: 0;
    font-size: 1.3rem;
    line-height: 2.3rem;
          font-weight: 400;
  }
  .mv_scroll {
    content: "";
    background: #fff;
    width: 60px;
    height: 215px;
    position: absolute;
    top: 232px;
    left: 0;
    margin-top: 0;
  }
  .mv_scroll__link {
    top: 30px;
  }
}
#Greeting {
  margin-top: 130px;
  scroll-margin-top: 150px;
}
.greeting_inner {
  margin-bottom: 80px;
  position: relative;
}
.greeting_inner::before {
  background-color: #153E7D;
  width: 75%;
  display: block;
  opacity: 0.1;
  height: 111vh;
  content: "";
  position: absolute;
  margin-top: 58px;
}
.greeting_wrap {
  width: 100%;
        max-width: 1080px;
    margin: 0 auto;
}
.section_title__gr {
  position: relative;
  top: 22px;
  left: 0;
  padding-top: 21px;
  width: 100%;
  display: flex;
  justify-content: center;
}
.section_title__image-gr {
  background-image: url(../images/Greeting.png);
  width: 296px;
  height: 13vw;
  position: absolute;
        top: -84px;
    left: 52%;
  transform: rotate(-1deg);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
}
.greeting_description__wrqap {
  white-space: nowrap;
  margin-top: 80px;
  flex: 1;
  width: 100%;
        max-width: 1080px;
    display: flex;
    justify-content: space-between;

}
.greeting_text {
  z-index: 10;
  text-align: start;
  display: flow;
        width: 50%;
}
.greeting_img {
 margin-right: 40px;
    padding-top: 58px;
    position: absolute;
    right: 0;
    /* width: 571px; */
    max-width: 1080px;
    width: 50%;
}
.greeting_img::before {
  position: absolute;
  content: "";
  top: 370px;
     right: -12px;
  width: 175px;
  height: 200px;
  background: url(../images/Peaple_back.png) no-repeat;
  background-size: contain;
  display: block;
}
.greeting_text__sub-title {
  font-size: 1.6rem;
  color: #153E7D;
  border-bottom: 1px solid rgb(21, 62, 125);
  width: 269px;
  padding: 0 0 5px 0;
  font-weight: 500;
  margin-bottom: 30px;
}
.greeting_text__title {
  font-size: 3.6rem;
  margin-bottom: 40px;
  font-family: "Noto Serif JP";
  font-weight: 400;
  letter-spacing: 0.45rem;
}
.greeting_text__title-small {
  font-size: 2.4rem;
  font-family: "Noto Serif JP";
  letter-spacing: 0.15rem;
  z-index: 10;
  font-weight: 400;
}
.greeting_text__read {
  padding-top: 60px;
  line-height: 3.4rem;
  display: flex;
}
.greeting_text__read {
  padding-top: 60px;
  line-height: 3.4rem;
  display: flex;
}
@media(max-width:1080px) {
  #Greeting {
    margin: 70px 24px 0;
      scroll-margin-top: 115px;
  }
  .greeting_inner {
    margin-bottom: 0;
  }
  .greeting_inner::before {
    display: none;
  }
  .greeting_wrap {
    background: #F5F7FA;
    width: 100vw;
    position: relative;
    left: 50%;
    transform: translateX(-50%);
    padding-bottom: 70px;
  }
  .section_title__gr {
    top: -35px;
  }
  .section_title__image-gr {
    width: 140px;
    height: 90px;
    top: -29px;
    left: 55%;
  }
  .greeting_description__wrqap {
      margin: 0;
    padding: 0 24px;
    white-space: normal;
  }
    .greeting_text{
            display: block;
    width: 100%;
    }
  .greeting_text__sub-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    padding-bottom: 3px;
  }
  .greeting_text__title {
      font-size: 2.2rem;
    margin-bottom: 20px;
    letter-spacing: 0.1rem;
  }
  .greeting_text__title-small {
        font-size: 1.7rem;
    font-weight: 500;
    line-height: 2.6rem;
  }
  .greeting_text__read {
      font-size: 1.4rem;
    font-weight: 100;
          line-height: 3.0rem;
      padding-top: 35px;
  }
  .greeting_img {
    width: 237px;
    height: 157px;
    right: 0;
    top: 143px;
    margin-right: 0;
  }
  .greeting_img::before {
    top: 196px;
    right: 24px;
    width: 80px;
    height: 99px;
  }
}
#Corporate-Law {
  position: relative;
  height: auto;
  padding-bottom: 80px;
  background: #153E7D;
}
.corporate-law_wrap {
  padding-top: 0;
}.section_title__image-co{
  background-image: url(../images/Corporate_Law.png);
    width: 440px;
    height: 10vw;
    position: absolute;
    top: 44px;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;  
}

.corporate-law_list, .practice-areas_list {/*親要素　ホバーした時に要素に色をつける*/
  display: flex;
  flex-wrap: wrap;
  width: 100%;
  height: auto;
  justify-content: center;
}
.corporate-law_list__item-link::before,.practice-areas_list__item-link::before{/*子要素 通常時opacity:0*/
         content: "";
    display: block;
        left: -11px;
    width: calc(100% + 21px);
    height: calc(100% + 24px);
    background-color: rgba(0, 91, 168, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
    position: absolute;
    top: -12px;
}
.corporate-law_list__item-link:hover::before,.practice-areas_list__item-link:hover::before{/*ホバーした時opacity:1にする*/
    opacity: 1;
}
.corporate-law_list__item_01 {
  margin: 0 10px 20px;
  background-image: url(../images/corporate_low_list_1.jpg);
  background-position: center;
  width: 500px;
  background-repeat: no-repeat;
  padding: 10px 10px;
        background-color: rgba(21, 62, 125, 0.8);
}
.corporate-law_list__item_02 {
  margin: 0 10px 20px;
  background-image: url(../images/corporate_low_list_2.jpg);
  background-position: center;
  width: 500px;
  background-repeat: no-repeat;
  padding: 10px 10px;
}
.corporate-law_list__item_03 {
  margin: 0 10px 20px;
  background-image: url(../images/corporate_low_list_3.jpg);
  background-position: center;
  width: 500px;
  background-repeat: no-repeat;
  padding: 10px 10px;
}
.corporate-law_list__item_04 {
  margin: 0 10px 20px;
  background-image: url(../images/corporate_low_list_4.jpg);
  background-position: center;
  width: 500px;
  background-repeat: no-repeat;
  padding: 10px 10px;
}
.corporate-law_list__item-link, .practice-areas_list__item-link {
  min-height: 220px;
  display: block;
  box-sizing: border-box;
  border: 1px solid rgba(255, 255, 255);
    position: relative;
}
.item_area {
  width: 100%;
  text-align: center;
  margin-top: 17%;
  padding-bottom: 18px;
  font-size: 2.6rem;
    position: relative;
}
.item_area__text {
  font-size: 2.6rem;
  color: #fff;
  font-family: 'Noto Serif JP';
  font-weight: 500;
}
/* 2つ目の要素に400msのdelayをかける */
.effect-fade:nth-of-type(2) {
  -moz-transition-delay: 100ms;
  -webkit-transition-delay: 100ms;
  -o-transition-delay: 100ms;
  -ms-transition-delay: 100ms;
}
/* 3つ目の要素に800msのdelayをかける */
.effect-fade:nth-of-type(3) {
  -moz-transition-delay: 200ms;
  -webkit-transition-delay: 200ms;
  -o-transition-delay: 200ms;
  -ms-transition-delay: 200ms;
}
/* 4つ目の要素に1200msのdelayをかける */
.effect-fade:nth-of-type(4) {
  -moz-transition-delay: 300ms;
  -webkit-transition-delay:300ms;
  -o-transition-delay: 300ms;
  -ms-transition-delay: 300ms;
}
@media(max-width:1080px) {
    .corporate-law_inner,.practice-areas_inner{
            padding: 0 24px;
    }
 .section_title__image-co{
  background-image: url("../images/Corporate_Law.png");
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    left: auto;
    top: 14px;
    width: 266px;
    height: 110px;
  }
   /*  .section_title__image-co {
  background-image: url(../images/Corporate_Law.png);
  width: 440px;
  height: 10vw;
  position: absolute;
  top: -66px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
}*/
  .item_area {
    padding-bottom: 20px;
  }
  .item_area__text {
    font-size: 2.2rem;
  }
  .item_btn__in {
    padding-bottom: 5px
  }
  .corporate-law_wrap {
    padding-top: 0;
  }
  .corporate-law_list {
  margin-top: 20px;
  }
    .corporate-law_list__item_01,.corporate-law_list__item_02,.corporate-law_list__item_03,.corporate-law_list__item_04,.practice-areas_list__item_01{
        margin: 0 0 20px 0;
    }
  .corporate-law_list__item-link, .practice-areas_list__item-link {
    min-height: 198px;
  }
}

/*個人のお客様*/
#Practice-Areas {
  padding-bottom: 80px;
}
.section_title {
  position: relative;
}
.section_title__image-pr{
    background-image: url("../images/Practice Areas.png");
    width: 440px;
    height: 10vw;
    position: absolute;
    top: 46px;
    left: auto;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
  }
.practice-areas_list__item_01 {
  margin: 0 10px 20px;
  background-image: url(../images/practice-areas_list_1.jpg);
  background-position: center;
  width: 500px;
  background-repeat: no-repeat;
  padding: 10px 10px;
}
.practice-areas_list__item_02 {
  margin: 0 10px 20px;
  background-image: url(../images/practice-areas_list_2.jpg);
  background-position: center;
  width: 500px;
  background-repeat: no-repeat;
  padding: 10px 10px;
}
.practice-areas_list__item_03 {
  margin: 0 10px 20px;
  background-image: url(../images/practice-areas_list_3.jpg);
  background-position: center;
  width: 500px;
  background-repeat: no-repeat;
  padding: 10px 10px;
}
.practice-areas_list__item_04 {
  margin: 0 10px 20px;
  background-image: url(../images/practice-areas_list_4.jpg);
  background-position: center;
  width: 500px;
  background-repeat: no-repeat;
  padding: 10px 10px;
}
@media(max-width:1080px) {
  #Practice-Areas {
    margin-top: 0;
  }
  .section_title__image-pr {
      background-image: url("../images/Practice Areas.png");
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    left: auto;
    top: 20px;
    width: 266px;
    height: 110px;
  }
  .practice-areas_wrap {
    padding-top:0;
  }
  .practice-areas_list {
    margin-top: 20px;
  }
    .practice-areas_list__item_01,.practice-areas_list__item_02,.practice-areas_list__item_03,.practice-areas_list__item_04{
        margin: 0 0 20px 0;
    }
}
#Fee { /*料金表*/
  position: relative;
  padding-bottom: 80px;
  margin: 0 auto;
}
.fee_inner::before {
  background-repeat: no-repeat;
  position: absolute;
  background-image: url(../images/Top_fee_bg.jpg);
  content: "";
  width: 100%;
  height: 100%;
  display: block;
  opacity: 0.1;
  z-index: -1;
  top: 0;
  background-size: cover;
}
.section_title__image-fe {
  background-image: url(../images/Fee.png);
  position: absolute;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
    top: 25px;
  left: 53%;
  width: 266px;
  height: 152px;
}
@media(max-width:1080px) {
 
  .section_title__image-fe {
    background-image: url(../images/Fee.png);
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.1;
    left: 54%;
    top: -4px;
      width: 140px;
    height: 110px;
  }
  .fee_wrap {
    padding: 0 24px;
  }
}
Profile {
  padding-bottom: 80px;
  padding-top: 120px;
  position: relative;
}
.profile_inner {
  display: flex;
  justify-content: start;
  margin: 0 auto;
  margin-left: 160px;
}
.profile_wrap__left {
  padding-left: 100px;
  width: 58%;
}
#Profile h2 {
  writing-mode: vertical-rl;
  letter-spacing: 1.0rem;
  margin-top: 80px;
  margin-bottom: 0;
        margin-left: 16px;
}
.section_title__pro {
  display: block;
  position: relative;
}
.section_title__image-pro {
  background-image: url(../images/profile_title.png);
  width: 294px;
  height: 14vw;
  position: absolute;
  top: -71px;
  left: 4px;
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
}
.profile_list {
  text-align: left;
  font-weight: 100;
    margin-top: 75px;
        margin-bottom: 70px;
}
.profile_list__qualification, .profile_list__affiliation, .profile_list__mind {
  margin-top: 50px;
}
.profile_list h4 {
  font-size: 2.0rem;
  font-weight: 100;
}
.profile_list ul {
  margin-top: 15px;
  margin-left: 50px;
}
.profile_list__item {
  position: relative;
}
.profile_list__career ul::before {
 position: absolute;
    top: 0;
    left: -13px;
    margin-left: -25px;
    content: "";
    width: 1px;
    height: 100%;
    background: #153E7D;
    z-index: -1;
}
.list_item__text {
  margin-top: 17px;
  position: relative;
}
.list_item__text::before {
  content: "";
  position: absolute;
  top: 55%;
  left: -43px;
  transform: translateY(-50%);
  display: inline-block;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  width: 11px;
  height: 11px;
  background: #fff;
  border: 2px solid #153e7d;
  border-radius: 50%;
}
.profile_wrap__right {
  width: 42%;
  margin-top: 20px;
  position: relative;
}
.profile_wrap__right::before {
  content: "";
  background: #153E7D;
  opacity: 0.1;
  display: block;
  width: 100%;
  height: 87%;
  position: absolute;
  z-index: -2;
  right: 0;
  margin-top: 12%;
}
.profile_image {
  width: 300px;
  margin-top: 37%;
  margin-left: -7%;
}
.profile_image img {
  width: 100%;
}
.profile_area__text {
  padding-top: 55px;
  padding-left: 6px;
}
.profile_area__text::before {
  content: "";
  display: block;
  width: 50px;
  height: 1px;
  background: #11378D;
  margin-left: -4px;
  margin-bottom: -14px;
}
.area_text__profession {
  margin-top: -20px;
  margin-left: -56%;
  font-family: "Montserrat";
  font-weight: 500;
  letter-spacing: 0.1rem;
  color: #11378D;
  display: inline-block;
}
.profile_area__name {
  font-weight: 100;
  margin-top: 25px;
  margin-left: 23%;
  display: flex;
  justify-content: start;
  align-items: center;
}
.name_item {
  margin-left: -10%;
  letter-spacing: 0.2rem;
  font-size: 3.8rem;
  font-family: 'Zen Maru Gothic';
  line-height: 4.6rem;
  font-weight: 500;
}
.name_item__sub {
  font-family: 'Montserrat';
  letter-spacing: 0.1rem;
  font-weight: 500;
  margin-left: 30px;
}
@media(max-width:1080px) {
  #Profile {
    padding-left: 24px;
  }
  .profile_inner {
    margin-left: 0;
  }
  .section_title__image-pro {
      width: 294px;
    height: 12vh;
    top: -46px;
    left: 1vh;
  }
  .profile_wrap__left {
    padding-left: 0;
    width: 29%;
  }
  .profile_wrap__right {
    width: 82%;
    margin-top: 0px;
  }
  .profile_wrap__right::before {
    width: 100%;
    height: 96%;
    margin-top: 52px;
    position: absolute;
  }
  .profile_list {
    padding-right: 24px;
  }
    .profile_list__career ul::before{
           max-height: 316px;
    }
  .profile_image {
    width: 198px;
    margin-left: 17px;
  }
  .profile_area__text {
    padding-top: 20px;
  }
  .profile_area__text::before {
    margin-left: 27px;
    width: 27.5px;
  }
  .area_text__profession {
    font-size: 1.2rem;
 margin-left: -48px ;
  }
  .profile_area__name {
    margin-top: 10px;
    display: block;
    width: 146px;
    text-align: left;
    margin-left: 86px;
  }
  .name_item {
    line-height: 3rem;
    padding-bottom: 3px;
    font-size: 2.4rem;
    margin-left: -2px;
  }
  .name_item__sub {
    font-size: 1.2rem;
    letter-spacing: 0.1rem;
    margin-left: 0;
       font-family:"Montserrat";
  }
}
#News {
  position: relative;
  height: auto;
  padding-bottom: 80px;
  margin: 0 auto;
}
.section_title__image-ne {
  background-image: url(../images/News.png);
  width: 234px;
  height: 13vw;
  position: absolute;
  top: 15px;
    left: 36%;
  transform: rotate(-1deg);
  background-size: contain;
  background-repeat: no-repeat;
  opacity: 0.1;
}
 .blog_content{
      margin: 40px 0 120px;
}

/*写真*/
.photo {
  padding: 120px 0 0;
}
.photo ul {
  display: flex;
  justify-content: center;
  width: 100%;
  margin: 0 auto;
}
@media(max-width:1080px) {
  #News {
     position: relative;
    height: auto;
    margin-bottom: 70px;
    padding-bottom: 0;
    padding-top: 0;
  }
    .blog_content{
    margin: 75px 0;
}
  .section_title__image-ne {
       width: 294px;
    height: 16vh;
    top: 0px;
    left: 81px;
  }
}
/*写真*/
.photo li {
  align-items: center;
  display: flex;
  justify-content: space-between;
  width: 33%;
  height: 286px;
}
.photo li img {
  width: 100%;
  height: 100%;
}
@media(max-width:1080px) {
  .photo {
    padding: 0;
  }
  .photo ul {
    display: block;
  }
  .photo li {
    width: 100%
  }
}


.flowing {
	width: 0;
	margin: 0;
	font-size: 3vw;
	font-weight: bold;
	color: #ff6347;
	white-space: nowrap;
	overflow: hidden;
	animation: flowing-anim 3s forwards linear;
}

@keyframes flowing-anim {
 0%{
	 width: 0%;
   }
100%{
	 width: 100%;
   }
}


.page.mv_img{
background-image: none;
height: 300px;}
.page.mv_img.copy{
top: calc(50% + 30px );}





