@charset "utf-8";

/* 共通モジュール */
/* ----------------------------------------------------- */
.mv { 
  width: 100%;
  min-height: 340px;
  height: 340px;
  position: relative;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-content: center;
  align-items: center;
  margin: 0 0 30px;
  background: no-repeat center center/100% auto; animation: fadeIn 5.2s ease 0s 1 forwards; 
}
  .mv h1 {
    width: 100%;
    min-height: 220px;
    height: 220px;
    padding-top: 50px;
    font-size: 4.8rem;
    font-weight: 700;
    color: #fff;
    text-shadow:0 0 8px #333;
    border-bottom: solid 4px #0f87e6;
  }

/* アンカーナビ */
.nav_anchor {
  width: 960px; 
  margin: 0 auto 60px;
}
  .nav_anchor ul {
    display: flex;
    position: relative;
    justify-content: center;
    flex-direction: row;
    margin: 0 auto;
    padding: 0;
    font-size: 2rem;
    line-height: 1.3;
    font-weight: 500;
  }
    .nav_anchor ul li {
      flex: 1 0 auto;
      margin: 10px auto;
    }
    .nav_anchor ul li a {
			display: block;
	 		padding: 0 20px 3px;
			text-align: center;
			text-decoration: none;
    }
			.nav_anchor ul li + li {
        border-left: 1px solid #0f87e6;
      }

/* コンテナの幅 */
.contents {
  width: 920px; 
  margin: 0 auto; /* センタリング */
  padding: 0;
  text-align: left;
}
  .contents p  { 
    margin-bottom: 1em;
  }

/* h2 */
 .main-contents h2 {
  width: 960px; /* コンテナの幅 */
  margin: 0 auto 60px auto;
  padding: 1em;
  background: url("../images/bg_contents_h2.png")  top 6px left 8px no-repeat;
  border: solid 4px #b1e6fd;
  font-size: 3.6rem;
  font-weight: 700;
  text-align: center;
}

/* h3 */
.main-contents h3 {
  width: 960px; /* コンテナの幅 */
  margin: 0 auto 1em auto;
  padding: 0 20px;
  border-bottom: solid 2px #d2d2d2;
  font-size: 2.4rem;
  font-weight: 900;
  text-align: left;
}
  .main-contents h3:nth-child(n+2) {
    margin-top: 2em;
  }

/* 外部リンクボタン */
.incontents_btn_outside a {
  display: inline-block;
  position: relative;
  padding: 12px 60px 15px 70px;
  background: #0f87e6 ;
  font-size: 2rem;
  font-weight: 700;
  color: #fff;
  transition: .30s;
  border-radius: 100vh;
}
  .incontents_btn_outside a:hover {
    background: #60b7f2 ;
    color: #fff;
  }
  .incontents_btn_outside a::before { /* くの字の表示設定 */
    content: "";
    margin: auto;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 30px;
    width: 14px;    /* くの字を山なりに見た時、左側の長さ */
    height: 14px;   /* くの字を山なりに見た時、右側の長さ */
    border-top: 3px solid #fff;     /* くの字を山なりに見た時、左側の太さと色 */
    border-right: 3px solid #fff;   /* くの字を山なりに見た時、右側の太さと色 */
    transform: rotate(45deg);    /* くの字の向き */
    transition: .20s;
  }
  .incontents_btn_outside a::after {
    width: 0;
    height: 0;
    font-family: "Font Awesome 5 Free";
    content: "\f08e" ;
    font-size: 2.8rem;
    font-weight: 900;
    color: #fff;
    margin: 6px auto;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 30px;
    transition: .20s;
    opacity: 1;
    visibility: visible;
  }
    .incontents_btn_outside a:hover::before {
      right: 15px;
    }
    .incontents_btn_outside a:hover::after {
    }

/* ・付きリスト（インデントあり） */
ul.ul_dot {
  margin: 0 0 1em  1em;
}
  ul.ul_dot li {
    padding-left: 1em;
    text-indent: -1em;
  }
    ul.ul_dot li::before {
    content: "・";  
   }


@media screen and (max-width: 768px) {
  .mv {
    width: 100%; height: 42.667vw; min-height: 42.667vw;
    margin: 0 0 15px;
  }
    .mv h1 {
      width: 100%;
      min-height: 21.333vw;
      height: 21.333vw;
      padding: 50px 0 80px;
      font-size: 2.4rem;
      border-bottom: solid 3px #0f87e6;
    }
  .contents {
		width: 100%;
		padding: 0 10px ;
  }

/* アンカーナビ */
  .nav_anchor {
    width: 100%;
    margin: 0 0 20px;
  }
    .nav_anchor ul {
      width: 100%;
      flex-wrap: wrap;
      font-size: 1.4rem;
    }
      .nav_anchor ul li {
        display: flex;
        align-items: center;
        flex-wrap: wrap; 
        flex-grow: 0;
        width: 33%;
        padding: 0 5px;
       border-left: 1px solid #0f87e6;
      }
      .nav_anchor ul.two-line li {
        width: 50%;
      }
        .nav_anchor ul li.item__ancher-long {
          width: 55%;
        }
        .nav_anchor ul li:nth-child(3n) , .nav_anchor ul li:last-child {
          border-right: 1px solid #0f87e6;
      }
        .nav_anchor ul li a { 
          width: 100%;
          padding: 0 0 3px;
          }
			.nav_anchor ul li + li {
      }


/* h2 */
 .main-contents h2 {
  width: 100%;
  margin: 0 auto 1em auto;
  padding: 1em;
  background-size: 10%;
  border: solid 2px #b1e6fd;
  font-size: 1.8rem;
}

/* h3 */
  .main-contents h3 {
    width: 100%;
    margin: 0 auto .5em auto;
    padding: 5px;
    border-bottom: solid 1px #d2d2d2;
    font-size: 1.6rem;
  }
    .main-contents h3:nth-child(n+2) {
      margin-top: 1em;
    }

/* 外部リンクボタン */
  .incontents_btn_outside {
    display: block;
    margin: 5px auto;
    text-align: center;
  }
.incontents_btn_outside a {
  padding: 12px 60px 15px 70px;
  font-size: 1.6rem;
}
  .incontents_btn_outside a::before { /* くの字の表示設定 */
    right: 30px;
    width: 10px;    /* くの字を山なりに見た時、左側の長さ */
    height: 10px;   /* くの字を山なりに見た時、右側の長さ */
  }
  .incontents_btn_outside a::after {
    font-size: 2rem;
    margin: 10px auto;
  }

/* ・付きリスト（インデントあり） */
ul.ul_dot {
  margin: 0 0 1em  .5em;
  font-size: 1.4rem;
}

}



/* 事務所案内 */
/* ----------------------------------------------------- */
.mv.about {
  width: 100%;
  height: 100%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  padding: 1.4em 0 1em;
  background: url("../../about/images/mv_about.jpg")  top center;
  background-size: cover;
}
.column1 .incolumn_pic-alignright {
  width: 320px;
  float: right;
  margin: 0 0 2em 1em;
}
  .column1 .incolumn_pic-alignright img {
    width: 100%;
  }
 .signature {
  text-align: right;
}
    .signature dl {
      text-align: left;
    }
      .signature dt {
        font-weight: 500;
        line-height: 1.4
      }
      .signature dd {
          font-size: 2.4rem;
          font-weight: 500;
      }
        .signature dd span {
          margin-right: 1em;
          font-size: 1.6rem;
        }

/* --- テーブル --- */
#a-office table {
	  width: 100%;
	  margin: 1em 0;
}
  #a-office table th {
    padding: 1.5em 1.5em 1.5em .5em;
    border-bottom: solid 2px #0f87e6;
    vertical-align: top;
    font-size: 1.8rem;
    font-weight: 700;
    text-align: left;
    white-space: nowrap;
  }
  #a-office table td {
    padding: 1.5em 0 1.5em 1em;
    vertical-align: top;
    border-bottom: solid 2px #eeeeee;
    text-align: left;
  }
  #a-office table tr:first-child th, #a-office table tr:first-child td {
    padding-top: 0;
  }
    #a-office table td dt {
      font-weight: 700;
    }
    #a-office table td dd {
      position: relative;
      padding: 0 255px 1em 0;
      line-height: 1.6;
    }
      #a-office table td dd .intable_pic-alignright {
        position: absolute;
        width: 240px;
        top: 0;
        right: 0;
        margin-bottom: 2em;
      }
        #a-office table td dd .intable_pic-alignright img {
          width: 100%;
        }
      #a-office table td dd span {
        width: 4em;
        display: block;
        margin: .5em 0;
        border-top: dotted 2px #333;
      }

/* --- スタッフ紹介 --- */
#a-staff .contents {
  display: flex;
  flex-wrap: wrap;
  font-size: 2rem;
  font-weight: 500;
}
  #a-staff .contents ul {
    width: 30%;
  }

    #a-staff .contents ul:not(:nth-child(3n+3)) {
      margin-right: 5%;
    }

  #a-staff .contents ul:nth-child(n+4) {
      margin-top: 60px;
    }
  #a-staff .contents ul li img {
      width: 100%;
      margin-bottom: 1em;
    }
  #a-staff .contents ul li:nth-child(2) {
    padding-bottom: .1em;
    font-weight: 500;
    line-height: 1.6;
    }
  #a-staff .contents ul li:nth-child(3) {
    padding-bottom: .5em;
    font-size: 2.4rem;
    font-weight: 500;
      line-height: 1.6;
    }
    #a-staff .contents ul table {
      font-size: 1.6rem;
      line-height: 1.6;
      }
      #a-staff .contents ul table th {
        width: 30%;
        padding-right: 1em;
        font-weight: 500;
        color: #0f87e6;
        white-space: nowrap;
        }
      #a-staff .contents ul table td {
        width: 70%;
        font-weight: normal;
        }


@media screen and (max-width: 768px) {

  .mv.about {
    background: url("../../about/images/mv_about_SP.jpg") no-repeat 35% top/auto 100%;
  }
  .column1 .incolumn_pic-alignright {
    width: 30%;
    float: right;
    margin: 0 0 1em 0.5em;
  }
  .signature {
    font-size: 1.4rem;
  }
    .signature dd {
      font-size: 1.4rem;
      font-weight: 500;
    }
      .signature dd span {
        font-size: 1.4rem;
      }

/* --- テーブル --- */
#a-office table {
	  width: 100%;
	  margin: 1em 0;
}
  #a-office table th {
	  width: 100%;
    display: block;
    padding: 1em .5em .5em;
    font-size: 1.5rem;
  }
  #a-office table td {
	  width: 100%;
    display: block;
    padding: 1em .5em;
    font-size: 1.4rem;
  }
    #a-office table tr:first-child td {
      padding-top: 1em;
    }
    #a-office table td dd {
      position: relative;
      padding: 0 0 1em 0;
      line-height: 1.6;
    }
      #a-office table td dd .intable_pic-alignright {
        width: 70%;
        float: none;
        display: block;
        position: relative;
        margin: .5em auto 1em;
      }
      #a-office table td dd span {
        width: 4em;
        display: block;
        margin: .5em 0;
        border-top: dotted 2px #333;
      }
      #a-office table td dd:nth-of-type(n+2)  {
        padding-bottom: 1em;
      }

/* --- スタッフ紹介 --- */
  #a-staff .contents {
    display: block;
    font-size: 1.4rem;
    margin: 0 auto;
    padding: 0 15px;
  }
    #a-staff .contents ul {
      width: 80%;
      margin: 0 auto 30px;
      background-color: #fff;
    }

    #a-staff .contents ul:not(:nth-child(3n+3)) {
      margin-right: auto;
    }

  #a-staff .contents ul:nth-child(n+4) {
      margin-top: 30px;
    }
  #a-staff .contents ul li:nth-child(3) {
    padding-bottom: .1em;
    font-size: 1.8rem;
    }
    #a-staff .contents ul table {
      font-size: 1.4rem;
      }


}


