@charset "UTF-8";

body {
  font-size: 16px;
  font-family: 'Ysabeau Infant', 'Zen Kaku Gothic New', sans-serif;
  color: #0C0C0C;
  line-height: 1.5;
}

img {
  max-width: 100%;
}

a:hover {
  color: #81C7D4;
}

/* ---------↓ レスポンシブ用 ↓--------- */
.phone {
  display: none;/* 固定ヘッダー */
}

.top-title {
  display: none;/* トップ画面タイトル */
}

/* ハンバーガーメニューデザイン */
.hamburger {
  position: fixed;
  top: 0;
  right: 0;
  z-index: 1000;
  width: 50px;
  height:50px;
}

.hamburger span {
  display: inline-block;
  transition: all .4s;/*アニメーションの設定*/
  position: absolute;
  left: 14px;
  height: 2px;
  border-radius: 5px;
  background: #fff;
  width: 45%;
}

.hamburger span:nth-of-type(1) {
  top:13px;	
}

.hamburger span:nth-of-type(2) {
  top:19px;
}

.hamburger span:nth-of-type(3) {
  top:25px;
}

.hamburger span:nth-of-type(3)::after {
  content:"Menu";/*3つ目の要素のafterにMenu表示を指定*/
  position: absolute;
  top:5px;
  left:-2px;
  color: #fff;
  font-size: 0.6rem;
  text-transform: uppercase;
}

/*activeクラスが付与されると線が回転して×になり、Menu⇒Closeに変更*/
.hamburger.active span:nth-of-type(1) {
  top: 14px;
  left: 18px;
  transform: translateY(6px) rotate(-45deg);
  width: 30%;
}

.hamburger.active span:nth-of-type(2) {
  opacity: 0;
}

.hamburger.active span:nth-of-type(3) {
  top: 26px;
  left: 18px;
  transform: translateY(-6px) rotate(45deg);
  width: 30%;
}

.hamburger.active span:nth-of-type(3)::after {
  content:"Close";/*3つ目の要素のafterにClose表示を指定*/
  transform: translateY(0) rotate(-45deg);
  top:5px;
  left:4px;
}

/*ハンバーガーメニューナビ*/
.h-nav.panelactive {
  position:fixed;
  z-index: 999;
  top: 0;
  width:100%;
  height: 100vh;
}

/*丸の拡大*/
.circle-bg {
  position: fixed;
  z-index:3;
  /*丸の形*/
  width: 100px;
  height: 100px;
  border-radius: 50%;
  background: #113285;
  /*丸のスタート位置と形状*/
  transform: scale(0);/*scaleをはじめは0に*/
  right:-50px;
  top:-50px;
  transition: all .8s;/*0.8秒かけてアニメーション*/
}

.circle-bg.circleactive {
  transform: scale(50);/*クラスが付与されたらscaleを拡大*/
}

/*ナビゲーションの縦スクロール*/
.h-nav-list {
  display: none;/*はじめは表示なし*/
  position: fixed;
  z-index: 999; 
  width: 100%;
  height: 100vh;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.h-nav.panelactive .h-nav-list {
  display: block; /*クラスが付与されたら出現*/
}

/*ナビゲーション*/
.h-nav ul {
  opacity: 0;/*はじめは透過0*/
  /*ナビゲーション位置*/
  position: absolute;
  z-index: 999;
  top:35%;
  left:20%;
  transform: translate(-30%,-30%);
  visibility: hidden;
}

/*背景が出現後にナビゲーションを表示*/
.h-nav.panelactive ul {
  opacity:1;
  visibility: visible;
}

/* 背景が出現後にナビゲーション li を表示*/
.h-nav.panelactive ul li {
  animation-name:gnaviAnime;
  animation-duration:1s;
  animation-delay:.2s;/*0.1 秒遅らせて出現*/
  animation-fill-mode:forwards;
  opacity:0;
}

/* ナビアニメーション */
@keyframes gnaviAnime {
  0% {
  opacity: 0;
  }
  100% {
  opacity: 1;
  }
}

/*リストのレイアウト設定*/
.h-nav li {
  color: #FCFAF2;
  font-size: 20px;
  text-shadow: 3px 3px 4px #828282;
}

.h-nav li a {
  padding:15px;
  display: block;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.h-nav li span {
  font-size: 15px;
  line-height: 0.8;
  text-shadow: 3px 3px 4px #828282;
  margin-left: 5px;
}

.h-nav li span::before {
  content: "-";
  margin-right: 5px;
}

.h-nav li span::after {
  content: "-";
  margin-left: 5px;
}

.h-nav li.drawer a {
  font-size: 18px;
  padding: 10px 0 10px 30px;
  margin: 0;
}

.h-nav li.drawer a::before {
  content: ">";
  margin-right: 10px;
}
/* ---------↑ レスポンシブ用 ↑--------- */

/* -------↓ ここからトップページ ↓------- */
/* PCヘッダーエリアのデザイン*/
#Top {
  background: url(../images/top.jpg) no-repeat center center/cover;
  color: #FCFAF2;
  text-shadow: 5px 3px 6px #828282;
}

/* 背景画像用フィルター */
.header-inner {
  background-color: rgba( 12, 12, 12, 0.4);
  padding: 30px 20px;
}

/* 外枠線 */
.header-block {
  border: 1px solid #FCFAF2;
  padding-bottom: 100px;
  position: relative;
}

.pc-title {
  font-size: 80px;
  font-family:'メイリオ', 'Meiryo', sans-serif;
  text-align: center;
  margin: 40px 0 80px;
  letter-spacing: 0.4em;
}

.header-block nav ul {
  display: flex;
  justify-content: center;
}

.header-block nav ul li {
  border-left: 1px solid #FCFAF2;
  text-align: center;
  letter-spacing: 0.1em;
  margin-bottom: 50px;
}

.header-block nav ul li:last-child {
  border-right: 1px solid #FCFAF2;
}

.header-block nav ul li a {
  display: block;
  padding: 10px 70px;
}

.header-block nav ul li span {
  display: block;
  line-height: 0.5;
  font-family: 'Ysabeau SC', sans-serif;
}

.scroll {
  position: absolute;
  left: 0;
  bottom: -31px;
  width: 100%;
  text-align: center;
}

.scroll img {
  animation-name: scrollAnimation;
  animation-duration: 1.8s;
  animation-timing-function: ease-out;
  animation-iteration-count: infinite;
}

/* スクロールアニメーション*/
@keyframes scrollAnimation {
  0% {
    transform: scaleY(0);
    transform-origin: top;
  }
  50% {
    transform: scaleY(1);
    transform-origin: top;
  }
  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
  }
  100% {
    transform: scaleY(0);
    transform-origin: bottom;
  }
}

/* トップページの共通デザイン */
h2 {
  border-left: 6px solid #113285;
  padding: 5px 5px 5px 15px;
  margin: 0 100px;
  font-size: 20px;
}

h2 span {
  display: block;
  font-size: 18px;
  font-weight: bold;
  line-height: 0.5;
  margin: 0 0 5px 1px;
}

/* 新着情報のデザイン */
.news {
  display: flex;
  margin: 0 0 80px;
}

.news ul {
  font-size: 18px;
  width: 700px;
  margin-left: 100px;
  height: 250px;
  overflow: hidden scroll;
}

.news ul li {
  padding: 10px 0;
  border-bottom: 1px dotted #828282;
}

.news ul li a:hover {
  text-decoration: underline;
}

span.date {
  display: inline-block;
  width: 120px;
  font-weight: bold;
}

.blog-inner {
  width: 780px;
  margin: 0 auto 80px;
}

#News h3 {
  font-size: 23px;
  text-align: center;
  margin: 30px 0;
}

#News h3::before {
  content: url(../images/tpic.png);
  padding-right: 5px;
}

#News .blog {
  font-size: 17px;
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #828282;
  color: #828282;
}

#News p {
  margin: 20px;
}

.blogtitle h3 {
  width: 250px;
  color: #1C1C1C;
  font-size: 25px;
  font-family: 'Ysabeau SC', sans-serif;
  text-align: center;
  margin: 120px auto 40px;
  border-left: 2px solid #113285;
  border-right: 2px solid #113285;
}

.blogtitle span {
  display: block;
  font-size: 22px;
  line-height: 0.8;
}

/* ご依頼の流れデザイン */
#Order {
  background: url(../images/order.jpg) no-repeat center center/cover;
}

/* 背景画像用フィルター */
.order {
  background-color: rgba( 255, 255, 255, 0.8);
  padding: 80px 0 100px;
  display: flex;
}

.order ul {
  width: 700px;
  margin-left: 60px;
}

.img {
  width: 60px;
  margin: 20px 30px;
}

.order ul li {
  color: #113285;
  font-size: 25px;
  display: flex;
  border-bottom: 1px solid #828282;
  margin-top: 20px;
  font-style: italic;
}

.order ul li:first-child {
  margin-top: 0;
}

.text span {
  font-size: 45px;
  margin-right: 25px;
}

.text p {
  font-size: 18px;
  font-style: normal;
  line-height: 0.8;
  color: #0C0C0C;
}

/* ---------↓ ページトップボタン ↓--------- */
.page-top {
  width: 50px;
  height: 45px;
  position: fixed;
  right: 0;
  bottom: 10px;
  background: rgba( 177, 150, 147, 0.8);
  display: none;
}

.page-top::after {
  content: 'PAGE TOP';
  font-size: 12px;
  color: #FCFAF2;
  position: absolute;
  top: 4px;
  bottom: 5px;
  right: 5px;
  left: 5px;
  text-align: center;
}
/* ---------↑ ページトップボタン ↑--------- */

/* フッターエリアのデザイン */
.container {
  background-color: #113285;
  color: #FCFAF2;
  display: flex;
  justify-content: space-evenly;
  padding: 30px 0;
}

.f-detail {
  text-align: center;
}

.f-detail img {
  width: 300px;
  margin-bottom: 10px;
}

span.code,
span.num {
  font-weight: bold;
}

span.code::before {
  content: "〒";
}

.f-contact {
  text-align: center;
}

.f-contact p.link {
  font-size: 20px;
  color: #0C0C0C;
  background-color: #FCFAF2;
  border-radius: 5px;
}

.f-contact p.link a {
  display: block;
  padding: 10px 0;
}

.f-contact p.link a::before {
  content: '';
  display: inline-block;
  width: 30px;
  height: 30px;
  background: url(../images/fmail.png) no-repeat center center/contain;
  vertical-align: top;
  margin-right: 15px;
  transition:.5s all;
}

.f-contact p.link a:hover {
  color: #0C0C0C;
  border-radius: 5px;
  transform:scale(1.1,1.1);
  transition:.5s all;
}

.f-nav ul {
  display: flex;
  justify-content: center;
  margin-top: 15px;
}

.f-nav ul li {
  font-size: 14px;
}

.f-nav ul li:not(:last-of-type) {
  border-right: 1px solid #FCFAF2;
}

.f-nav ul li a {
  display: block;
  padding: 0 20px 5px;
}

.f-nav ul li a:hover {
  color: #81C7D4;
}

.f-nav ul li span {
  display: block;
  line-height: 0.2;
  font-family: 'Ysabeau SC', sans-serif;
}

.copyright {
  font-size: 12px;
  text-align: center;
}
/* -------↑ ここまでトップページ ↑------- */

/*  ↓ ここから他ページ共通 ↓  */
.base {
  width: 100%;
  background-color: rgba( 17, 50, 133, 0.8);
  color: #FCFAF2;
  display: flex;
  justify-content: space-between;
  padding: 10px;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}

.header-logo {
  width: 200px;
}

.base nav ul {
  display: flex;
  text-align: center;
}

.base nav ul li a {
  display: block;
  padding: 5px 30px;
}

.base nav ul li span {
  display: block;
  line-height: 0.5;
  font-family: 'Ysabeau SC', sans-serif;
}

.b-nav ul li:not(:last-of-type) {
  border-right: 1px solid #FCFAF2;
}

.b-nav nav ul ul {
  position: absolute;
  display: block;
}

.b-nav nav ul ul li.drop {
  border: none;
  display: none;
}

.b-nav nav ul ul li.drop:first-child {
  margin-top: 18px;
}

.b-nav nav ul ul li.drop a {
  padding: 5px 27px 15px;
  background-color: rgba( 17, 50, 133, 0.8);
}

.b-nav nav ul ul li.drop a::before {
  content: ">";
  vertical-align: baseline;
  margin-right: 15px;
}

.base nav ul li.navi:hover ul li.drop {
  display: block;
}

main {
  padding-top: 80px;
}

.path ol {
  display: flex;
  font-size: 13px;
  margin-left: 10px;
}

.path ol li:not(:last-of-type)::after {
  content: ">";
  margin: 5px;
  color: #113285;
}

.b-title h3 {
  width: 250px;
  color: #1C1C1C;
  font-size: 25px;
  font-family: 'Ysabeau SC', sans-serif;
  text-align: center;
  margin: 40px auto;
  border-left: 2px solid #113285;
  border-right: 2px solid #113285;
}

.b-title span {
  display: block;
  font-size: 22px;
  line-height: 0.8;
}
/*  ↑ ここまで他ページ共通 ↑  */

/* ---------↓ ここから事務所概要 ↓--------- */
.corporate {
  width: 765px;
  margin: 90px auto 50px;
}

.corporate-block {
  display: flex;
  padding: 10px 0;
  border-bottom: 1px solid #828282;
}

.corporate-block dt {
  font-weight: normal;
  flex-basis: 20%;
}

.corporate-block dd {
  flex-basis: 78%;
}

.map {
  width: 765px;
  margin: 0 auto 90px;
}

.map iframe {
  width: 100%;
}
/* ---------↑ ここまで事務所概要 ↑--------- */

/* ---------↓ ここから事業内容 ↓--------- */
.medical,
.visa,
.inheritance,
.car {
  display: flex;
  margin-bottom: 150px;
}

.medical {
  margin-top: 90px;
}

.left-img {
  margin-left: 150px;
}

.right-img {
  margin-right: 150px;
}

.medical h4,
.inheritance h4 {
  font-size: 20px;
  color: #113285;
  padding: 10px 0 5px 50px;
  border-bottom: 1px solid #113285;
}

.visa h4,
.car h4 {
  font-size: 20px;
  color: #113285;
  padding: 10px 0 5px 150px;
  border-bottom: 1px solid #113285;
}

.medical h4 span,
.visa h4 span,
.inheritance h4 span,
.car h4 span {
  font-size: 30px;
  font-style: italic;
  padding-right: 10px;
}

.right-text p {
  margin: 30px 150px 0 50px;
}

.left-text p {
  margin: 30px 50px 0 150px;
}

p.detail {
  width: 150px;
  color: #113285;
  border: 1px solid #113285;
  text-align: center;
  margin-top: 100px;
}

p.detail a {
  display: block;
  padding: 10px;
}

p.detail a:hover {
  color: #FCFAF2;
  background-color: #113285;
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease-in;
  transition-delay: 0ms;
}

p.detail a::after {
  content: "＞";
  padding-left: 5px;
}

/* -----↓ ここからinformation ↓----- */
.fimg {
  width: 850px;
  margin: 0 auto 10px;
}

#visa,
#inheritance,
#car {
  padding-top: 80px;
}

#information section {
  width: 960px;
  margin: 0 auto;
  text-align: center;
}

#information section h4 {
  font-size: 30px;
  border-bottom: 1px solid #113285;
  color: #113285;
}

.c-text {
  width: 500px;
  margin: 20px auto 70px;
}

.c-text p {
  margin: 15px 10px;
}

.c-mv {
  margin-bottom: 0;
}

#information section h5 {
  text-align: left;
  font-size: 18px;
  margin: 35px 0 10px;
}

table {
  width: 100%;
  margin-bottom: 80px;
}

.item {
  background-color: rgba( 129, 199, 212, 0.2);
}

.item th {
  padding: 5px 20px;
  text-align: center;
}

td {
  text-align: left;
  border-bottom: 1px solid rgba( 129, 199, 212, 0.4);
  padding: 10px;
}

table td.fee {
  font-weight: bold;
}
/* -------↑ ここまでinformation ↑------- */

/* -------↓ ここから料金表 ↓------- */
.explanation {
  width: 780px;
  margin: 30px auto;
}

.price {
  width: 960px;
  margin: 20px auto 80px;
}

.price h3 {
  font-size: 25px;
  margin: 30px 0 15px;
}

/* -------↑ ここまで料金表 ↑------- */

/* -------↓ ここからお問合せ ↓------- */
form {
  width: 550px;
  margin: 20px auto 50px;
  box-sizing: border-box;
}

.form-text {
  margin: 20px 0;
}

.content {
  margin: 10px 0;
}

.expertcheck {
  margin-bottom: 10px;
}

.expertcheck label {
  margin-right: 25px;
}

input[type="text"],
input[type="email"],
input[type="tel"] {
  box-sizing: border-box;
  border: 1px solid #828282;
  width: 100%;
  height: 40px;
  margin-top: 5px;
}

input[type="checkbox"] {
  width: 16px;
  height: 16px;
  vertical-align: baseline;
  margin-right: 5px;
}

textarea {
  box-sizing: border-box;
  border: 1px solid #828282;
  width: 100%;
  height: 200px;
  margin-bottom: 20px;
}

input[type="text"]:hover,
input[type="email"]:hover,
input[type="tel"]:hover,
textarea:hover {
  border: 2px solid #828282;
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="tel"]:hover,
textarea:focus {
  border: 2px solid #828282;
}

input[type="submit"] {
  display: block;
  color: #FCFAF2;
  background-color: #828282;
  padding: 10px 20px;
  margin: 0 auto;
}

input[type="submit"]:hover {
  background-color: rgba( 130, 130, 130, 0.7);
  transition-property: background-color;
  transition-duration: 200ms;
  transition-timing-function: ease-in;
  transition-delay: 0ms;
}
/* -------↑ ここまでお問合せ ↑------- */

/* ---------↓ フェードイン ↓--------- */
.corporate,
.medical,
.fadein,
form {
  animation-name:fadeUpAnime;
  animation-duration:1s;
  animation-fill-mode:forwards;
  opacity:0;
}

@keyframes fadeUpAnime{
  from {
  opacity: 0;
  transform: translateY(20px);
  }
  to {
  opacity: 1;
  transform: translateY(0);
  }
}

.fadeUpTrigger {
  /* 最初は非表示 */
  opacity: 0;
  visibility: hidden;
  transform: translateY(30px);
  transition: opacity 1s, visibility 1s, transform 1s;
}

/* フェードイン時に入るクラス */
.is-fadein {
  opacity: 1;
  visibility: visible;
  transform: translateX(0);
}
/* ---------↑ ここまでフェードイン ↑--------- */

/* -------↓ ここからレスポンシブ ↓------- */
@media screen and (max-width: 768px) {
  .phone {
    display: block;
    width: 100%;
    color: #FCFAF2;
    background-color: #113285;
    padding: 10px;
    font-size: 20px;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
  }

  #Top {
    background: url(../images/top2.jpg) no-repeat left center/cover;
  }

  .p-title {
    font-family: 'メイリオ', 'Meiryo', sans-serif;
  }

  .header-inner {
    background-color: rgba( 12, 12, 12, 0.2);
  }

  .header-block {
    border: none;
    height: 75vh;
  }

  .pc-title,
  .header-block nav {
    display: none;
  }

  .top-title {
    display: block;
    font-size: 55px;
    font-family: 'Cambria', sans-serif;
    font-style: italic;
    line-height: normal;
    margin: 60px 0 0;
  }

  h2 {
    border-left: none;
    padding: 0;
    text-align: center;
  }
  
  h2 span {
    margin: 0 0 50px 0;
  }

  h2 span::before {
    content: "-";
    padding-right: 3px;
  }

  h2 span::after {
    content: "-";
    padding-left: 3px;
  }

  .news {
    display: block;
  }

  .news ul {
    width: 80%;
    height: 300px;
    margin: 0 auto;
    overflow: hidden scroll;
  }

  span.date {
    display: block;
  }

  .blog-inner {
    width: 90%;
  }
  
  #News h3 {
    font-size: 21px;
    margin: 20px 0;
  }
  
  #News .blog {
    font-size: 16px;
  }

  .blogtitle h3 {
    margin-top: 80px;
  }

  #Order {
    background: none;
  }

  .order {
    display: block;
    padding: 40px 0;
  }

  .order ul {
    width: 80%;
    margin: 0 auto;
  }

  .img {
    margin: 20px auto 10px;
  }

  .order ul li {
    font-size: 25px;
    display: block;
    border: 1px solid #828282;
    border-radius: 5px;
    font-style: normal;
    text-align: center;
  }

  .text span {
    font-size: 28px;
    margin-right: 10px;
    font-weight: bold;
  }

  .text span::after {
    content: ".";
  }

  .text p {
    font-size: 18px;
    line-height: 1.2;
    text-align: left;
    padding: 20px;
  }

  .container {
    display: block;
  }
  
  .f-detail {
    text-align: center;
    margin-bottom: 10px;
  }

  .f-contact p.link {
    width: 95%;
    margin: 0 auto;
  }

  .f-nav ul li {
    font-size: 12px;
  }

  .base {
    display: none;
  }

  main {
    padding-top: 60px;
  }

  .b-title h3 {
    width: 80%;
    font-size: 23px;
  }
  .b-title h3 span {
    font-size: 20px;
  }

  /*  ここから事務所概要  */
  .corporate {
    width: 90%;
    margin: 0 auto 50px;
  }

  .corporate-block {
    display: block;
  }

  .corporate-block dd {
    margin: 15px 25px 0 40px;
  }

  .map {
    width: 80%;
  }

  .map iframe {
    height: 300px;
  }

  /*  事業内容  */
  .medical,
  .inheritance {
    display: block;
    width: 90%;
    margin: 0 auto;
  }

  .visa,
  .car {
    display: flex;
    flex-direction: column;
    width: 90%;
    margin: 0 auto;
  }

  .left-text {
    order: 1;
  }

  .left-img,
  .right-img {
    margin: 0;
  }

  .medical h4,
  .visa h4,
  .inheritance h4,
  .car h4 {
    font-size: 18px;
    padding: 10px 0 5px;
    text-align: center;
  }

  .medical h4 span,
  .visa h4 span,
  .inheritance h4 span,
  .car h4 span {
    font-size: 25px;
    font-style: normal;
  }

  .right-text p,
  .left-text p {
    font-size: 14px;
    margin: 20px 0 50px;
  }

  p.detail {
    display: block;
    font-size: 16px;
    width: 70%;
    margin: 0 auto 90px;
  }

  /*  事業内容2  */
  .fimg {
    width: 80%;
  }

  #information section {
    width: 90%;
    font-size: 14px;
  }

  #information section h4 {
    font-size: 25px;
  }

  .c-text {
    width: 100%;
    margin-bottom: 35px;
  }

  .c-text p {
    margin: 15px 5px;
  }

/*  料金表  */
  .explanation {
    width: 85%;
    font-size: 14px;
    text-align: left;
  }

  .price {
    width: 90%;
    font-size: 14px;
  }

  .price h3 {
    font-size: 20px;
  }

  .price table {
    margin-bottom: 50px;
  }
  
/*  お問合せ  */
  form {
    width: 90%;
  }

}