@import url('https://fonts.googleapis.com/css2?family=Noto+Serif+JP:wght@500&display=swap');
/*
Theme Name:いぐち行政書士事務所
Description:埼玉県さいたま市大宮区にある「いぐち行政書士事務所
」です。法人のお客様を対象に法人設立（会社設立）・会計記帳代行、個人のお客様を対象に相続手続き、遺言書作成のサポート、その他許認可申請業務などを承っております。
Theme URI:https://www.skg-gyoseishoshi-iguchi.com/
Version: 1.0
License:いぐち行政書士事務所
License URI:https://www.skg-gyoseishoshi-iguchi.com/
*/

@font-face {
  font-family: "NotoSerifJP";
  font-style: normal;
  font-weight: 600;
  src: url("./font/NotoSerifJP-Bold.woff") format("woff"), url("./font/NotoSerifJP-Bold.eot") format("eot");
  font-display: swap;
}


@font-face {
  font-family: "NotoSerifJP";
  font-style: normal;
  font-weight: 400;
  src: url("./font/NotoSerifJP-Regular.woff") format("woff"), url("./font/NotoSerifJP-Regular.eot") format("eot");
  font-display: swap;
}



/****************************************

リセットCSSここから

*****************************************/
* {
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

html {
  font-size: 62.5%;
  /*1rem=10px */
  overflow-y: scroll;
  /* 1 */
  -webkit-text-size-adjust: 100%;
  /* 2 */
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  vertical-align: baseline;
  background: transparent;
}

body,
div,
span,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
abbr,
address,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
samp,
small,
strong,
sub,
sup,
var,
b,
i,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main {
  display: block;
}

ul,
ol {
  list-style: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after {
  content: "";
  content: none;
}

q:before,
q:after {
  content: "";
  content: none;
}

a {
  margin: 0;
  padding: 0;
  font-size: 100%;
  vertical-align: baseline;
  background: transparent;
}

/* change colours to suit your needs */
ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

/* change colours to suit your needs */
mark {
  background-color: #ff9;
  color: #000;
  font-style: italic;
  font-weight: bold;
}

del {
  text-decoration: line-through;
}

abbr[title],
dfn[title] {
  border-bottom: 1px dotted;
  cursor: help;
}

table {
  border-collapse: collapse;
  border-spacing: 0;
}

img {
  vertical-align: top;
}

/* change border colour to suit your needs */
hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

input,
select {
  vertical-align: middle;
}

/****************************************

body設定(主に書式)

*****************************************/
body {
  min-width: 1200px;
  color: #000;
  font-size: 1.6rem;
  letter-spacing: normal;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
}

@media screen and (max-width: 767px) {
  body {
    min-width: initial;
        /* display: flex;
    flex-direction: column;
    min-height: 100vh; */
  }

  main{
    flex: 1;
  }

}

/****************************************

ページ共通

*****************************************/
#wrapper {
  width: 100%;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  min-height: 1025px;
  margin: 0 auto;
  float: none;
  overflow: hidden;
  background: url(images/wrapper_bg.jpg) no-repeat top center;
}

.content01 {
  max-width: 1120px;
  width: 100%;
  /*1100*/
  padding: 0 10px;
  margin: auto;
}


.common_tlt {
  width: 100%;
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: normal;
  color: #000;
  text-align: left;
  padding-bottom: 20px;
  border-bottom: 1px solid #9f9f9f;
  margin-bottom: 30px;
  position: relative;
  line-height: 1;
}

.common_tlt::before {
  position: absolute;
  content: "";
  bottom: -1px;
  left: 0;
  width: 300px;
  height: 2px;
  background: #C3708C;
}


.table01, .table02 {
  width: 100%;
  border: 1px solid #CCC;
}

.table01 th {
  font-weight: 400;
  width: 320px;
  padding: 19px 12px 19px 20px;
  text-align: left;
  background: #F2F2F2;
  border: 1px solid #CCC;
  font-size: 1.8rem;
  color: #000;
  letter-spacing: normal;
  vertical-align: middle;
}

.table01 tr td {
  width: 780px;
  padding: 19px 12px 19px 20px;
  text-align: left;
  font-weight: 400;
  border: 1px solid #CCC;
  font-size: 1.8rem;
  color: #000;
  letter-spacing: normal;
  vertical-align: middle;
}

.table02 {
  margin: 0 auto 50px;
}

.table02 th {
  font-weight: 400;
  width: 340px;
  padding: 15px 12px 14px 20px;
  text-align: left;
  background: #f2f2f2;
  border: 1px solid #CCC;
  font-size: 1.8rem;
  color: #000;
  letter-spacing: normal;
}

.table02 tr td {
  width: 760px;
  padding: 15px 12px 14px 20px;
  background: #fff;
  text-align: left;
  font-weight: 400;
  border: 1px solid #CCC;
  font-size: 1.8rem;
  color: #000;
  letter-spacing: normal;
}

.table02 tr td a {
  color: #C3708C;
  text-decoration: underline;
}


.common_flex {
  display: flex;
  justify-content: space-between;
}

.common_flex figure{
  width: 35.0877192%;
}

.common_txt {
  width: 61.4035087%;
}


.bottom_figure {
  max-width: 846px;
  width: 100%;
  margin: 0 auto 90px;
  overflow: hidden;
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.bottom_figure a{
  display: block;
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.bottom_figure a img {
  width: 100%;
  height: auto;
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.bottom_figure a:hover img {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.bottom_box01 {
  width: 100%;
  background: url(images/bottom_area_bg.png) no-repeat center center;
  padding: 94px 0 93px;
}


.bottom_box01_tlt {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  text-align: center;
  color: #000;
  font-size: 3rem;
  letter-spacing: 0.18em;
  padding-bottom: 30px;
  margin-bottom: 68px;
  position: relative;
}

.bottom_box01_tlt::after {
  position: absolute;
  content: "";
  width: 230px;
  height: 1px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #9f9f9f;
}

.bottom_box01 p {
  line-height: 1.5;
  text-align: center;
}

.bottom_box01 figure {
  max-width: 310px;
  width: 100%;
  margin: 54px auto 0;
}

.bottom_box01 figure a {
  display: block;
}

.bottom_box01 figure img {
  width: 100%;
  height: auto;
}


@media screen and (max-width: 767px) {
  .content01,
  .content02 {
    width: 100%;
    padding: 0 10px;
  }

  .common_tlt {
    font-size: 2.2rem;
    margin-bottom: 25px;
    padding: 0 5px 12px 5px;
}


  .table01 {
    width: 100%;
    margin-bottom: 0;
  }

  .table01 th, .table01 tr td, .table02 th, .table02 tr td {
    width: 100%;
    display: block;
    padding: 10px;
    font-size: 1.5rem;
  }

  .scroll_table{
    overflow: auto;
    white-space: nowrap;
  }

  .common_flex {
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
}

.common_flex figure {
  max-width: 400px;
  width: 100%;
  margin: 0 auto 25px;
}

.common_txt {
  width: 100%;
}

.bottom_area {
  width: 100%;
  margin-top: 30px;
}

.bottom_figure {
  margin: 0 auto;
  padding: 0 10px;
}

.bottom_box01 {
  padding: 18px 0 30px;
}

.bottom_box01_tlt {
  font-size: 2.4rem;
  padding-bottom: 20px;
  margin-bottom: 30px;
}

.bottom_box01 p {
  text-align: left;
}

.bottom_box01 figure {
  margin: 30px auto 0;
}

}

/****************************************

フォント指定

*****************************************/
li,
tt,
tr,
th,
td,
dt,
dd,
p {
  font-size: 1.6rem;
  font-family: "メイリオ", Meiryo, "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", "ＭＳ Ｐゴシック", "MS PGothic", sans-serif;
  color: #000;
  letter-spacing: normal;
  line-height: 1.7;
  /*下層の文字色はTOPの文章で統一*/
}


.block {
  display: block;
}

/* p {
  line-height: 2;
} */

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

  li,
  tt,
  tr,
  dt,
  dd {
    font-size: 1.4rem;
  }

  p {
    font-size: 1.5rem;
  }

  .sp_none {
    display: none;
  }

  .sp_block {
    display: block;
  }

  .pc_none {
    display: block;
  }




}


/****************************************

リンク指定&オンマウス時のアクション

*****************************************/
a:link,
a:visited {
  color: #fbdbe6;
  text-decoration: none;
}

a:hover,
a:active {
  color: #fbdbe6;
  text-decoration: none;
}

a img.img_opacity {
  -webkit-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
}

a:hover img.img_opacity {
  opacity: 0.7;
  -webkit-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
}



/*---------------　電話　-------------------------*/
@media (min-width: 751px) {
  a[href*="tel:"] {
    pointer-events: none;
    cursor: default;
    text-decoration: none;
  }
}



/****************************************

pcヘッダー

*****************************************/
@media print,
screen and (min-width: 768px) {

  #sp_header,
  #sp_navi,
  #toggle,
  .sp_header_box {
    display: none;
  }
}



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

}

/****************************************

spヘッダー

*****************************************/

@media screen and (max-width: 767px) {
  #pc_header {
    display: none;
  }

  img {
    width: 100%;
    height: auto;
  }

  #toggle {
    position: fixed;
    /*bodyに対しての絶対位置指定です*/
    right: 10px;
    top: 10px;
    width: 40px;
    height: 40px;
    padding: 7px 5px;
    background: #767676;
    cursor: pointer;
    z-index: 9999;
  }

  #toggle div {
    position: relative;
  }

  #toggle span {
    display: block;
    position: absolute;
    left: 2px;
    /*#navToggle div に対して*/
    width: 25px;
    height: 3px;
    background: #FFF;
    -webkit-transition: 0.35s ease-in-out;
    -o-transition: 0.35s ease-in-out;
    transition: 0.35s ease-in-out;
  }

  #toggle span:nth-child(1) {
    top: 1px;
  }

  #toggle span:nth-child(2) {
    top: 11px;
  }

  #toggle span:nth-child(3) {
    top: 21px;
  }

  /*spanの絶対位置指定の親にします*/
  .open_navi #toggle {
    position: fixed;
  }

  .open_navi #toggle span {
    background: #FFF;
  }

  .open_navi #toggle span:nth-of-type(1) {
    -webkit-transform: translateY(11px) rotate(-315deg);
    -ms-transform: translateY(11px) rotate(-315deg);
    transform: translateY(11px) rotate(-315deg);
  }

  .open_navi #toggle span:nth-of-type(2) {
    opacity: 0;
  }

  .open_navi #toggle span:nth-of-type(3) {
    -webkit-transform: translateY(-9px) rotate(315deg);
    -ms-transform: translateY(-9px) rotate(315deg);
    transform: translateY(-9px) rotate(315deg);
  }

  #sp_navi {
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    width: 100vw;
    overflow-y: scroll;
    text-align: left;
    background: #fff9af;
    z-index: 999;
    -webkit-transform: translateY(-100%);
    -ms-transform: translateY(-100%);
    transform: translateY(-100%);
    -webkit-transition: 0.7s ease-in-out;
    -o-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
  }

  .open_navi #sp_navi {
    -webkit-transform: translateY(0);
    -ms-transform: translateY(0);
    transform: translateY(0);
    -webkit-transition: 0.7s ease-in-out;
    -o-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
  }

  .open_navi #wrapper {
    -webkit-transform-origin: left center;
    -ms-transform-origin: left center;
    transform-origin: left center;
    -webkit-filter: blur(3px);
    filter: blur(3px);
    -webkit-transition: 0.7s ease-in-out;
    -o-transition: 0.7s ease-in-out;
    transition: 0.7s ease-in-out;
  }

  #sp_navi .menu {
    padding-top: 80px;
    text-align: center;
  }

  #sp_navi .menu .menu-item a {
    width: 100%;
    text-align: center;
    border: 1px solid rgba(40, 40, 40, 0.7);
    cursor: pointer;
    color: #000;
    margin: -1px auto;
    font-size: 1.4rem;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
  }

  #sp_navi .menu-item a,
  #sp_navi .menu-item span {
    display: block;
    padding: 15px 0 14px;
  }

  #sp_navi .menu-item a:link,
  #sp_navi .menu-item a:visited,
  #sp_navi .menu-item a:hover,
  #sp_navi .menu-item a:active {
    /* color: #F12823; */
    text-decoration: none;
  }

  /* #sp_navi .menu-item a:hover{
    color: #F12823;
  } */
  #sp_navi .sub-menu {
    width: 100%;
    text-align: center;
    display: none;
  }

  #sp_navi .sub-menu li {
    width: 100%;
    text-align: center;
    /* border: 1px solid rgba(175, 175, 175, 0.8); */
  }

  #sp_navi .sub-menu li a {
    display: block;
    padding: 11px 0 10px;
    color: #fff;
    background: #f58124;
  }

  #sp_navi .sub-menu li a:link,
  #sp_navi .sub-menu li a:visited,
  #sp_navi .sub-menu li a:hover,
  #sp_navi .sub-menu li a:active {
    color: #000;
    text-decoration: none;
  }

  /* #sp_navi .sub-menu li a:hover {
    color: #F12823;
    background: none;
  } */
  #sp_navi .menu-item-has-children {
    position: relative;
  }

  #sp_navi .menu-item-has-children::before {
    content: "";
    width: 14px;
    height: 14px;
    border: 0px;
    border-top: 1px solid rgba(40, 40, 40, 0.8);
    border-right: 1px solid rgba(40, 40, 40, 0.8);
    -webkit-transform: rotate(135deg);
    -ms-transform: rotate(135deg);
    transform: rotate(135deg);
    -webkit-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    position: absolute;
    top: 14px;
    right: 20px;
  }

  #sp_navi .menu-item-has-children.menu_open::before {
    -webkit-transform: rotate(-45deg);
    -ms-transform: rotate(-45deg);
    transform: rotate(-45deg);
    -webkit-transition: 0.2s ease-in-out;
    -o-transition: 0.2s ease-in-out;
    transition: 0.2s ease-in-out;
    top: 22px;
  }


}


/****************************************

pc用 横ナビ

*****************************************/
.header_top_box {
  position: absolute;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  left: 8.8%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  z-index: 100;
}



.header_navi_flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: end;
      -ms-flex-pack: end;
          justify-content: flex-end;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

@media screen and (max-width: 1720px) {
  .header_navi_flex {
    align-items: flex-end;
    flex-direction: column-reverse;
}
}

.navi_flex {
  width: 320px;
  display: flex;
  flex-direction: column;
  background: rgba(238, 238, 238, 0.587);
  padding: 39px 0 38px 23px;
}

@media screen and (max-width: 1720px) {
  .navi_flex {
    padding: 20px;
  }
}

.top_navi_tel {
  position: relative;
  font-size: 3rem;
  letter-spacing: 0.01em;
  color: #363636;
  text-align: center;
  padding: 0 0 4px 20px;
  line-height: 1;
}


@media screen and (max-width: 1720px) {
  .top_navi_tel {
    padding: 0 0 4px 40px;
  }
}


.top_navi_tel::before {
  position: absolute;
  content: "";
  background: url(images/navi_tel.png) no-repeat;
  width: 36px;
  height: 35px;
  top: -5px;
  left: 0;
}

.top_navi_timetable {
  display: block;
  font-size: 1.3rem;
  letter-spacing: normal;
  color: #363636;
  text-align: left;
  line-height: 1.5;
}



@media screen and (max-width: 767px) {
  .header_top_box{
    left: 0;
    display: block;
    position: relative;
  }

  .header_logo_flex {
    margin-top: 16px;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
  }

  .navi_flex {
    display: none;
  }

}


/* 下層ヘッダーロゴ */
.header_page_box {
  position: absolute;
  content: "";
  top: 25%;
  left: 8.8%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}




@media screen and (max-width: 1420px) {
  .header_page_box{
  width: 160px;
}
  }


@media screen and (max-width: 767px) {
  .header_page_box {
    top: 5%;
    left: 4.8%;
  }

  .header_page_box .h_logo {
    padding-top: 0;
    display: inline-block;
    max-width: 47px;
    width: 100%;
  }
}





/* ナビ下線用 */
#g_navi .menu {
  *zoom: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  list-style-type: none;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}

#g_navi .menu>li {
  text-align: center;
  position: relative;
  z-index: 99;
}

#g_navi .menu>li:last-child {
  background: #fbdbe6;
}

#g_navi .menu>li:hover {
  opacity: 0.7;
}


#g_navi .menu>li>a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  height: 100%;
  color: #000;
  letter-spacing: 0.12em;
  font-size: 1.8rem;
  margin: 0;
  text-decoration: none;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  padding: 50px 40px;
}

@media screen and (max-width: 1720px) {
  #g_navi .menu>li>a {
    padding: 30px 40px;
  }
}

#g_navi .menu>li>a span.header_contact {
  color: #fb558e;
  letter-spacing: 0.12em;
  font-size: 1.8rem;
}

#g_navi .menu>li>a:hover {
  opacity: 0.7;
}



#g_navi .menu>li>a img {
  width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}


#g_navi .menu li ul {
  width: 170px;
  margin: auto;
  list-style: none;
  position: absolute;
  z-index: 9999;
  top: 100%;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  padding: 0;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

#g_navi .menu li ul li {
  width: 100%;
}

#g_navi .menu li ul li a {
  width: 100%;
  height: auto;
  display: block;
  text-align: center;
  padding: 12px 5px;
  opacity: 1;
  color: #fff;
  background: #fff9af;
  font-size: 1.5rem;
  line-height: 1.5;
  letter-spacing: 0.04em;
  text-decoration: none;
  visibility: hidden;
  -webkit-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
  border-bottom: 1px solid rgba(164, 164, 164, 0.7);
}

#g_navi .menu li ul li a:link,
#g_navi .menu li ul li a:visited {
  color: #000;
}

#g_navi .menu li ul li a:hover,
#g_navi .menu li ul li a:active {
  background: #ffa359;
  color: #000;
  -webkit-transition: 0.3s linear;
  -o-transition: 0.3s linear;
  transition: 0.3s linear;
}

#g_navi .menu li:hover ul {
  visibility: visible;
  opacity: 0.95;
}

#g_navi .menu li:hover ul li a {
  visibility: visible;
  opacity: 1;
}

/* ナビ下線用 */
@media print,
screen and (min-width: 768px) {
  .menu>li>a {
    position: relative;
    display: inline-block;
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
  }

  .menu>li>a::before,
  .menu>li>a::after {
    position: absolute;
    bottom: 0px;
    content: "";
    width: 0;
    height: 3px;
    /* background-color: #03448d; */
    -webkit-transition: 0.6s;
    -o-transition: 0.6s;
    transition: 0.6s;
  }

  .menu>li>a::before {
    left: 50%;
  }

  .menu>li>a::after {
    right: 50%;
  }

  .menu>li>a:hover::before,
  .menu>li>a:hover::after {
    width: 50%;
    /* opacity: 0.9; */
    filter: alpha(opacity=90);
  }
}


@media screen and (max-width: 767px) {
  #g_navi {
    display: none;
  }
}

/****************************************

メインビジュアル

*****************************************/
.top_mv{
  width: 1584px;
  overflow: hidden;
  margin: 0 auto;
  position: relative;
}

.top_mv .top_mv_figure {
  width: 100%;
  margin: auto;
}


.top_mv .top_mv_figure img {
  width: 100%;
  height: auto;
}

.top_mv_txt {
  font-family: "NotoSerifJP";
  font-weight: 600;
  font-size: 4.2rem;
  letter-spacing: 0.04em;
  color: #000;
  position: absolute;
  top: 50%;
  left: 3.78787878%;
  transform: translateY(-50%);
  text-shadow: 0 0 50px #fff,0 0 50px #fff,0 0 50px #fff,0 0 50px #fff,0 0 50px #fff;
}


@media screen and (max-width: 767px) {
  .top_mv {
    height: auto;
    width: 100%;
}

  .top_mv .top_mv_figure img {
    width: 106% !important;
    position: relative;
    left: -3%;
}

  .top_mv_txt {
    width: 100%;
    font-size: 1.8rem;
    text-align: center;
    left: 0;
    text-shadow: 0 0 50px #fff,0 0 50px #fff,0 0 50px #fff,0 0 50px #fff,0 0 50px #fff,0 0 50px #fff,0 0 50px #fff,0 0 50px #fff,0 0 50px #fff;
}

.top_mv_txt span {
  margin: 5px auto 0;
  padding: 10px 0;
  font-size: 1.2rem;
  width: 96%;
}

.top_tel {
  display: none;
}

}

/****************************************

メインビジュアル　下層ページ

*****************************************/
.page_mv {
  max-width: 1580px;
  width: 100%;
  margin: 0 auto;
  position: relative;
}

.page_mv_figure {
  width: 1580px;
  margin: auto;
}


.page_mv_txt {
  position: absolute;
  top: 46%;
  left: 70px;
  font-family: 'Noto Serif JP', serif;
  font-weight: 600;
  font-size: 3rem;
  text-shadow: 0 0 20px #fff, 0 0 20px #fff, 0 0 20px #fff, 0 0 20px #fff, 0 0 20px #fff;
  letter-spacing: 0.04em;
}


@media screen and (max-width: 767px) {
  .page_mv_figure {
    width: 100%;
    margin: auto;
  }

.page_mv_figure img {
  width: 230%;
  height: auto;
  position: relative;
  left: -50%;
}

.page_mv_txt {
  top: 40%;
  left: 50%;
  transform: translateX(-50%);
  font-size: 2.8rem;
}

}


/****************************************

content 共通設定

*****************************************/
main#top_main {
  width: 100%;
  position: relative;
  margin: 0 auto;
}

main#page_main {
  position: relative;
  width: 100%;
  margin: 20px auto 35px;
}



@media screen and (max-width: 767px) {
  main#top_main {
    margin: 20px auto 0;
  }

  main#page_main {
    position: relative;
    width: 100%;
    margin: 10px auto 0;
  }
}

main#single_main {
  width: 920px;
  margin: 0 auto 100px;
}

.breadcrumb_area {
  width: 57.291666%;
  padding: 0;
  margin: 0 auto 30px;
}

.breadcrumb_area .breadcrumb p {
  font-size: 1.8rem;
  color: #000;
  text-align: right;
  letter-spacing: 0.04em;
}


.breadcrumb_area .breadcrumb p a {
  position: relative;
  display: inline-block;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  text-decoration: none;
  color: #000;
}

.breadcrumb_area .breadcrumb p a::after {
  position: absolute;
  bottom: -1px;
  left: 0;
  content: "";
  width: 0;
  height: 1px;
  background-color: #000;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.breadcrumb_area .breadcrumb p a:hover::after {
  width: 100%;
}


@media screen and (max-width: 767px) {
  .breadcrumb_area {
    width: 100%;
    padding: 0;
    margin: 0 auto 20px;
}

  .breadcrumb_area .breadcrumb p {
    font-size: 1.3rem;
    width: 100%;
    padding-left: 3%;
    text-align: left;
  }
}

/****************************************

小さな相談　トップ用

*****************************************/
.top_box01 {
  width: 100%;
  margin: 110px auto 100px;
}

.top_box01tlt {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 3.3rem;
  color: #000;
  letter-spacing: 0.06em;
  padding-bottom: 30px;
  margin-bottom: 47px;
  text-align: center;
  position: relative;
}

.top_box01tlt::after {
  position: absolute;
  content: "";
  max-width: 400px;
  width: 100%;
  height: 1px;
  background: #fbc0d4;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}

.top_box01 p {
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  color: #000;
  line-height: 1.5;
  text-align: center;
}

.top_box01 a {
  color: #fb558e;
  padding-bottom: 1px;
  border-bottom: 1px solid #fb558e;
}




@media screen and (max-width: 767px) {
  .top_box01 {
    width: 100%;
    margin: 0 auto 30px;
}

.top_box01tlt {
  font-size: 2rem;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.top_box01 p {
  font-size: 1.6rem;
  line-height: 1.8;
  text-align: left;
}


}



/****************************************

ご挨拶　greeting トップ用

*****************************************/
.top_box02_wrap {
  width: 100%;
  margin: 0 auto 145px;
  height: 690px;
  position: relative;
}

.top_box02_wrap::before {
  position: absolute;
  content: "";
  width: 85.9375%;
  height: 690px;
  background: #f3f3f3;
  top: 34px;
  right: 0;
  z-index: -100;
}


.top_box02 {
  max-width: 1800px;
  width: 100%;
  margin: auto;
  position: relative;
}


.top_box02_img {
  position: absolute;
  max-width: 690px;
  width: calc(100% - 860px);
  z-index: -10;
  top: 0;
  left: 0;
  padding-left: 10px;
}

.top_box02_img img{
  width: 100%;
  height: auto;
}

.top_box02_txt {
  position: relative;
  max-width: 860px;
  background: #fff;
  padding: 37px 39px 37px 39px;
  z-index: 100;
  margin-left: auto;
  top: 80px;
  box-shadow: 4px 4px 10px -5px rgba(0,0,0,0.6);
}


.top_box02tlt {
  width: 480px;
  font-family: "NotoSerifJP";
  font-weight: 400;
  font-size: 3.2rem;
  letter-spacing: 0.18em;
  color: #000;
  text-align: left;
  padding-bottom: 10px;
  border-bottom: 1px solid #9f9f9f;
  margin-bottom: 30px;
  position: relative;
  line-height: 1;
}

.top_box02tlt span {
  font-family: "NotoSerifJP";
  font-weight: 600;
  font-size: 2.2rem;
  color: #fb558e;
  letter-spacing: 0.1em;
  padding-left: 1em;
}

.top_box02tlt::before {
  position: absolute;
  content: "";
  bottom: -1px;
  left: 0;
  width: 250px;
  height: 2px;
  background: #fb558e;
}


.top_box02_txt p {
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  line-height: 1.3;
}

p.top_box02_right {
  text-align: right;
}


.pc_none {
  display: none;
}


@media screen and (max-width: 767px) {
  .top_box02_wrap {
    width: 100%;
    margin: 0 auto 70px;
    height: auto;
    position: relative;
    background: #f3f3f3;
    padding: 50px 0;
}

.top_box02 {
    max-width: 1800px;
    width: 100%;
    margin: auto;
    position: relative;
    display: flex;
    flex-direction: column-reverse;
    align-items: center;
}

.top_box02_wrap::before {
    position: relative;
    width: 100%;
    top: 0;
    right: 0;
    z-index: 0;
}


.top_box02_img {
    position: relative;
    max-width: 690px;
    width: 100%;
    padding: 0 10px;
    z-index: 1;
    top: 0;
    left: 0;
    padding: 0 10px;
}

.top_box02_txt {
    position: relative;
    margin: 0 auto 30px;
    top: 0;
    padding: 25px 18px;
}

.top_box02tlt {
  width: 100%;
  font-size: 2.8rem;
  text-align: left;
  border-bottom: none;
  margin-bottom: 25px;
  position: relative;
}

.top_box02tlt span {
  font-size: 1.8rem;
}

.top_box02_txt p {
  font-size: 1.6rem;
}

p.top_box02_right {
  text-align: left;
  font-size: 1.5rem;
}

.pc_none {
  display: block;
}

}

/****************************************

業務内容 guidance トップ用

*****************************************/
.top_box03 {
  width: 100%;
  background: #fff9af;
  padding: 98px 1% 124px;}

.top_box03tlt {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  font-size: 3.3rem;
  letter-spacing: 0.06em;
  color: #000;
  text-align: center;
  line-height: 1;
  margin-bottom: 60px;
}

.top_box03tlt span {
  display: block;
  text-align: center;
  line-height: 0.54;
  font-size: 4.8rem;
  letter-spacing: 0.06em;
  color: rgb(245, 129, 36, 0.53);
}

/* ----バナー---- */

.top_box03_flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 45px;
}

.top_box03_section {
  position: relative;
  width: 24%;
  margin-right: 1%;
}


.top_box03_section a {
  display: block;
  width: 100%;
}

.top_box03_section a:hover {
  opacity: 1;
}

.top_box03_img {
  width: 100%;
  overflow: hidden;
  position: absolute;
  z-index: 0;
  top: 0;
  left: 0;
}

.top_box03_img img {
  width: 100%;
  height: auto;
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.top_box03_section a:hover .top_box03_img img {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
  opacity: 0.6;
}

.top_box03_bnr_txt {
  min-height: 206px;
  background: rgba(255, 255, 255, 0.9);
  padding: 20px 20px 30px 20px;
  box-shadow: 3px 3px 7px 1px rgb(0 0 0 / 11%);
  margin: 32% 35px 0;
  z-index: 10;
  position: relative;
}

.top_box03_bnr_tlt {
  font-family: "NotoSerifJP";
  font-weight: 600;
  color: #000;
  text-align: center;
  letter-spacing: 0.06em;
  font-size: 2.4rem;
  line-height: 0.95;
  padding-bottom: 10px;
  margin-bottom: 15px;
  position: relative;
}

.top_box03_bnr_tlt::before {
  position: absolute;
  content: "";
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 1px;
  background: #9f9f9f;
}

.top_box03_bnr_txt p {
  font-size: 1.8rem;
  letter-spacing: 0.06em;
  line-height: 1.2;
  word-break: break-all;
}


.top_box03_figure {
  max-width: 846px;
  width: 100%;
  margin: auto;
  overflow: hidden;
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.top_box03_figure a{
  display: block;
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.top_box03_figure a img {
  width: 100%;
  height: auto;
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

.top_box03_figure a:hover img {
  -webkit-transform: scale(1.2);
  -ms-transform: scale(1.2);
  transform: scale(1.2);
  -webkit-transition-duration: 0.6s;
  -o-transition-duration: 0.6s;
  transition-duration: 0.6s;
}

@media screen and (max-width: 767px) {
  .top_box03 {
    margin: 0 auto 50px;
    padding: 50px 10px 52px;
}

.top_box03tlt {
  font-size: 3rem;
  margin-bottom: 30px;
}

.top_box03tlt span {
  font-size: 2.8rem;
}

.top_box03_flex {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-direction: column;
}


.top_box03_section {
  position: relative;
  width: 100%;
  margin-right: 0;
}

.top_box03_bnr_txt {
  padding: 13px;
  margin: 32% 20px 30px;
  z-index: 10;
  position: relative;
}

.top_box03_bnr_txt p {
  font-size: 1.6rem;
  line-height: 1.5;
}



}

/****************************************

お知らせ　news トップ用

******************************************/
.top_box04 {
  width: 100%;
  padding: 100px 10px;
  margin: 0 auto;
  background: #f3f3f3;
}

.top_box04_content {
  background: #fff;
  padding: 38px 10px 29px;
}

.top_box04_tlt_flex {
  width: 94.54545454%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 0 auto 30px;
  padding-bottom: 24px;
  border-bottom: 1px solid #9f9f9f;
}

.top_box04tlt {
  font-family: "NotoSerifJP";
  font-weight: bold;
  font-size: 3rem;
  letter-spacing: 0.18em;
  margin-left: 20px;
}

.top_box04_btn {
  width: 120px;
  margin-right: 45px;
}

.top_box04_btn a {
  display: block;
}

.top_box04_btn a img {
  width: 100%;
  height: auto;
}

.top_box04_news {
  width: 94.54545454%;
  margin: auto;
}

.top_news_txt {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  border-bottom: 1px dotted #b6b6b6;
  padding-bottom: 12px;
  margin-bottom: 22px;
}

.top_box04_news article:last-child {
  margin-bottom: 0;
}

.top_news_txt time {
  display: block;
  font-weight: bold;
  font-size: 1.8rem;
  letter-spacing: 0.1em;
  color: #000;
  text-align: left;
  margin-left: 20px;
  margin-right: 60px;
}

.top_news_txt p {
  font-size: 1.8rem;
  letter-spacing: 0.18em;
  text-align: left;
  color: #777;
  width: 100%;
}

.top_news_txt p a {
  display: block;
  text-decoration: none;
  position: relative;
  color: #4c4c4c;
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
}

.top_news_txt p a:hover {
  color: #fb558e;
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
}


@media screen and (max-width: 767px) {
  .top_box04 {
    padding: 50px 10px;
  }


  .top_box04_tlt_flex {
    width: 100%;
    margin: 0 auto 20px;
    padding-bottom: 15px;
}

  .top_box04tlt {
    font-size: 2.8rem;
    margin-left: 0;
}

.top_box04_btn {
  width: 100px;
  margin-right: 0;
}

.top_box04_news {
  width: 100%;
  margin: auto;
}

.top_news_txt {
  width: 100%;
  flex-direction: column;
  align-items: flex-start;
  justify-content: flex-start;
  padding-bottom: 9px;
  margin-bottom: 16px;
}

.top_news_txt time {
  text-align: left;
  margin-left: 0;
  margin-right: 0;
  padding-bottom: 5px;
  font-size: 1.5rem;
}

.top_news_txt p {
  font-size: 1.6rem;
}

}


/*******************************************************

ご依頼・お問い合わせ contact トップ用

********************************************************/
.top_box05 {
  width: 100%;
  background: url(images/bottom_area_bg.png) no-repeat center center;
  padding: 94px 0 93px;
}


.top_box05tlt {
  font-family: 'Noto Serif JP', serif;
  font-weight: 500;
  text-align: center;
  color: #000;
  font-size: 3rem;
  letter-spacing: 0.18em;
  padding-bottom: 30px;
  margin-bottom: 68px;
  position: relative;
}

.top_box05tlt::after {
  position: absolute;
  content: "";
  width: 230px;
  height: 1px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  background: #9f9f9f;
}

.top_box05 p {
  line-height: 1.5;
  text-align: center;
  letter-spacing: 0.18em;
}

.top_box05 figure {
  max-width: 310px;
  width: 100%;
  margin: 54px auto 0;
}

.top_box05 figure a {
  display: block;
}

.top_box05 figure img {
  width: 100%;
  height: auto;
}



@media screen and (max-width: 767px) {
  .top_box05 {
    padding: 40px 0;
  }

  .top_box05tlt {
    font-size: 2.4rem;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.top_box05 p {
  line-height: 1.5;
  text-align: left;
}

.top_box05 figure {
  margin: 30px auto 0;
}


}



/****************************************

gmap マップ　

*****************************************/

iframe {
  vertical-align: top;
}


@media screen and (max-width: 767px) {
  .access_map {
    position: relative;
    width: 100%;
    height: 0;
    overflow: hidden;
    padding-bottom: 56.25%;
  }

  .access_map iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
  }


}


/****************************************

content下層用

*****************************************/

/* フレックス設定 */
.flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
}

.flex_r {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: reverse;
  -ms-flex-direction: row-reverse;
  flex-direction: row-reverse;
}


@media screen and (max-width: 767px) {
  .flex {
    display: block;
    width: 100%;
  }

  .flex_r {
    -webkit-box-orient: vertical;
    -webkit-box-direction: reverse;
        -ms-flex-direction: column-reverse;
            flex-direction: column-reverse;
    width: 100%;
  }

}


/****************************************

02 法人設立／会社設立 corporation　下層

*****************************************/
.corporation_box01, .corporation_box03 {
  margin: 0 auto 70px;
}
.corporation_box01_txt {
  max-width: 650px;
  width: 100%;
}

.corporation_box01_txt p {
  font-size: 1.8rem;
}

.corporation_box01_flex img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.corporation_box02 {
  margin: 0 auto 130px;
}

.service_box02_list {
  width: 100%;
}

.service_box02_list li {
  width: 48.1818%;
  margin-bottom: 20px;
  border: 1px solid #e6e6e6;
  box-shadow: 0px 0px 4px 0px rgba(0,0,0,0.25);
  padding: 11px 10px 10px 20px;
  font-size: 1.8rem;
}

.service_list li:nth-last-child(-n+2) {
  margin-bottom: 0;
}

.corporation_box03 {
  width: 100%;
  margin: 0 auto 65px;
}


.service_box04 {
  margin: 0 auto 100px;
}


.service_box04_flow {
  width: 100%;
  position: relative;
}

.service_box04_flow::before {
  position: absolute;
  content: "";
  height: 100%;
  width: 5px;
  background: #C3708C;
  left: 88px;
  z-index: -1;
}

.service_box04_flex {
  display: flex;
  justify-content: flex-start;
  margin-bottom: 40px;
}

.service_box04_step {
  width: 180px;
  height: 180px;
  background: #C3708C;
  border-radius: 50vh;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-right: 40px;
}

.service_box04_number {
  font-weight: bold;
  font-size: 3.4rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: #fff;
}

.service_box04_number span {
  font-size: 2.4rem;
  display: block;
}

.service_box04_txt {
  padding-top: 30px;
  width: 80%;
}

.service_box04_tlt {
  font-weight: bold;
  font-size: 2rem;
  letter-spacing: normal;
}

.service_box04_txt p {
  font-size: 1.8rem;
}

.service_box04_txt p a {
  color: #C3708C;
  text-decoration: underline;
}


@media screen and (max-width: 767px) {
  .corporation_box01, .corporation_box02, .corporation_box03, .service_box04 {
    margin: 0 auto 50px;
  }

  .corporation_box01_txt p {
    font-size: 1.6rem;
    letter-spacing: 0.04em;
  }

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

  .corporation_box01_flex img {
    margin: 25px auto 0;
  }

  .service_box02_list li {
    width: 100%;
    padding: 10px;
    font-size: 1.6rem;
}

.service_box04_step {
  width: 75px;
  height: 65px;
  margin-right: 20px;
}

.service_box04_flow::before {
  left: 32px;
}

.service_box04_number {
  font-weight: bold;
  font-size: 1.4rem;
  text-align: center;
  line-height: 1.2;
}

.service_box04_number span {
  font-size: 1.6rem;
}

.service_box04_txt {
  padding-top: 15px;
}

.service_box04_tlt {
  font-size: 1.8rem;
  margin-bottom: 10px;
}

.service_box04_txt p {
  font-size: 1.6rem;
}

.service_box04_flow section:last-child {
  margin-bottom: 0;
}


}

/***********************************************

03 会計記帳代行 receipt　下層

***********************************************/
.receipt_box01 {
  margin: 0 auto 60px;
}

.receipt_box01_txt {
  width: 650px;
}

.receipt_box01_txt p {
  font-size: 1.8rem;
}

.receipt_box01_flex img {
  max-width: 400px;
  width: 100%;
  height: auto;
}

.receipt_box01_list {
  margin-top: 30px;
  background: #F5E7EF;
  padding: 20px 20px 15px 20px;
}

.receipt_box01_list li:not(:first-child) {
  font-size: 1.8rem;
  letter-spacing: normal;
}

.receipt_box01_list li:first-child {
  line-height: 1.2;
  font-weight: bold;
  letter-spacing: normal;
  font-size: 2rem;
}

.receipt_box02, .receipt_box03 {
  margin: 0 auto 50px;
}

.receipt_box02 p {
  font-size: 1.8rem;
  line-height: 1.7;
  letter-spacing: normal;
}

.receipt_box04 {
  margin: 0 auto 30px;
}

.receipt_box04_txt {
  width: 59%;
  margin-right: 50px;
}

.receipt_box04_flex img {
  width: 36%;
  height: auto;
}

.receipt_box04 p, .receipt_box05 p {
  line-height: 1.7;
  font-size: 1.8rem;
}

.receipt_box05 {
  margin: 0 auto 50px;
}

@media screen and (max-width: 767px) {
  .receipt_box01 {
    margin: 0 auto 50px;
}

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

  .receipt_box01_txt p {
    font-size: 1.6rem;
}

.receipt_box01_list {
  padding: 15px;
  margin-top: 25px;
}

.receipt_box01_txt {
  width: 100%;
  margin-bottom: 30px;
}


.receipt_box01_list li:first-child {
  font-size: 2rem;
  margin-bottom: 10px;
}

.receipt_box01_list li:not(:first-child) {
  font-size: 1.6rem;
  letter-spacing: normal;
}

.receipt_box02 p {
  font-size: 1.6rem;
}

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

.receipt_box04_txt {
  width: 100%;
  margin-right: 0;
}

.receipt_box04_flex img {
  max-width: 396px;
  width: 100%;
  margin: 30px auto 0;
}


.receipt_box04 p, .receipt_box05 p {
  font-size: 1.6rem;
}

}

/****************************************

04 相続・遺言 inheritance下層

*****************************************/
.inheritance_box01 {
  width: 100%;
  margin: 0 auto 50px;
}

.inheritance_box01_flex {
  margin: 0 auto 30px;
}

.inheritance_box01_content {
  margin: 0 auto 50px;
}

.inheritance_box01_txt {
  width: 59%;
  margin-right: 50px;
}

.inheritance_box01_txt p {
  line-height: 1.7;
  font-size: 1.8rem;
}

.inheritance_box01_flex img {
  width: 36%;
  height: auto;
}

.inheritance_box01_inner {
  width: 100%;
}

.inheritance_tlt {
  width: 100%;
  color: #C3708C;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  padding: 10px 20px;
  background: #F9DFE7;
  margin-bottom: 30px;
}

/* .inheritance_box02 {
  margin: 0 auto 45px;
} */

.inheritance_box02_flex {
  margin: 0 auto 30px;
}

.inheritance_box02_txt {
  width: 59%;
}

.inheritance_box02_txt p {
  line-height: 1.7;
  font-size: 1.8rem;
}


.inheritance_box02_inner {
  margin: 0 auto 30px;
}

.inheritance_box02_mb25 {
  margin-bottom: 25px;
}

.inheritance_box03 {
  width: 100%;
  margin: 0 auto 50px;
}

.inheritance_box03_list li, .inheritance_box03 p {
  line-height: 1.7;
  font-size: 1.8rem;
  letter-spacing: normal;
}


@media screen and (max-width: 767px) {
  .inheritance_box01_txt {
    width: 100%;
    margin-right: 0;
}

.inheritance_box01_txt p, .inheritance_box02_txt p, .inheritance_box02_inner p {
    font-size: 1.6rem;
}

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

.inheritance_box01_flex img {
    max-width: 396px;
    width: 100%;
    height: auto;
    margin: 30px auto 0;
}

.inheritance_tlt {
    font-size: 2rem;
    padding: 10px;
    margin-bottom: 25px;
}

.inheritance_box02 {
  margin: 0 auto 50px;
}

.inheritance_box02_flex {
  display: flex;
  justify-content: center;
  flex-direction: column-reverse;
}

.inheritance_box02_flex img {
  max-width: 400px;
  width: 100%;
  margin: 30px auto 0;
}

.inheritance_box02_txt {
  width: 100%;
}


.inheritance_box03_list li, .inheritance_box03 p {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.inheritance_box03_break {
  padding-top: 20px;
}


}


/*********************************************

05 その他許認可申請及びサポート permit　下層

**********************************************/
.permit_box01 {
  width: 100%;
  margin: 0 auto 100px;
}

.permit_box01_txt, .permit_box02_txt {
  width: 59%;
}

.mr50 {
  margin-right: 50px;
}

.mt30 {
  margin-top: 30px;
}

.permit_box01_txt p, .permit_box03 p {
  line-height: 1.7;
  font-size: 1.8rem;
  letter-spacing: normal;
}

.permit_box01_flex img {
  width: 36%;
  height: auto;
}

.permit_box02 {
  margin: 0 auto 50px;
}

.permit_box03 {
  margin: 0 auto 100px;
}

@media screen and (max-width: 767px) {
  .permit_box01 {
    margin: 0 auto 50px;
}

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

.permit_box01_flex img {
  max-width: 396px;
  width: 100%;
  height: auto;
  margin: 30px auto 0;
}

.permit_box01_txt {
  width: 100%;
}

.permit_box01_txt p, .permit_box03 p {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.permit_box02 p {
  font-size: 1.6rem;
  letter-spacing: 0.04em;
}

.mt30 {
  margin-top: 0;
}

.mr50 {
  margin-right: 0;
}

.permit_box02_txt {
  width: 100%;
  margin-top: 30px;
}

.permit_box03 {
  margin: 0 auto 50px;
}

}

/****************************************

06 報酬額一覧 price 下層用

*****************************************/
.permit_box01_wrap {
  width: 100%;
  margin: 0 auto 60px;
}

.price_box01 {
  margin: 0 auto 30px;
}

.price_attention {
  font-weight: bold;
  font-size: 1.8rem;
  line-height: 1.7;
  letter-spacing: normal;
  color: #FF0000;
}

.price_box02 {
  margin: 0 auto 50px;
}

.price_box03 {
  margin: 0 auto 30px;
}

.price_box03 p {
  font-size: 1.8rem;
}

.price_box02_table {
  width: 100%;
  border: 1px solid #CCC;
}

.price_box02_table th {
  font-weight: 400;
  width: 320px;
  padding: 19px 12px 19px 20px;
  text-align: left;
  background: #f2f2f2;
  border: 1px solid #CCC;
  font-size: 1.8rem;
  color: #000;
  letter-spacing: normal;
  vertical-align: middle;
}

.price_box02_table tr td {
  width: 780px;
  padding: 19px 12px 19px 20px;
  text-align: left;
  font-weight: 400;
  border: 1px solid #CCC;
  background: #fff;
  font-size: 1.8rem;
  color: #000;
  letter-spacing: normal;
  vertical-align: middle;
}


.price_box02_table .w340 {
  width: 31%;
  text-align: center;
}

.price_box02_table .w110 {
  width: 18%;
  text-align: center;
}

.price_box02_table .w560 {
  width: 51%;
  text-align: center;
}

.price_attention_wrap {
  margin: 0 auto 30px;
}



@media screen and (max-width: 767px) {
  .scroll_table{
    overflow: auto;
    white-space: nowrap;
  }


.price_box01_wrap {
  margin: 0 auto 30px;
}

  .price_box01 p {
    font-size: 1.6rem;
    letter-spacing: 0.04em;
}

.price_box02_table th {
  padding: 15px;
  text-align: center;
  font-size: 1.6rem;
}

.price_box02_table tr td {
  padding: 15px;
  font-size: 1.6rem;
}

.price_attention_wrap {
  margin: 0 auto 0;
}


.price_attention {
  font-size: 1.6rem;
}


}

/****************************************

07 お知らせ news 下層

*****************************************/
.news_box01 {
  margin: 0 auto 100px;
}

.news_box01_content {
  margin: 0 auto 40px;
}


.news_box01_content article:not(:last-child) {
  margin: 0 auto 30px;
}


.news_box01_img {
  max-width: 400px;
  width: 100%;
  height: 307px;
  overflow: hidden;
  position: relative;
}


.news_box01_img img{
  image-rendering: -webkit-optimize-contrast;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  font-family: "object-fit: cover;";
}

.news_box01_txt {
  width: 59%;
}

.news_box01_tlt {
  width: 100%;
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: normal;
  color: #000;
  text-align: left;
  padding-bottom: 20px;
  border-bottom: 1px solid #9f9f9f;
  margin-bottom: 30px;
  position: relative;
  line-height: 1;
}

.news_box01_tlt::before {
  position: absolute;
  content: "";
  bottom: -1px;
  left: 0;
  width: 200px;
  height: 2px;
  background: #C3708C;
}


@media screen and (max-width: 767px) {
  .news_box01 {
    margin: 0 auto 50px;
  }

  .news_box01_content {
    margin: 0 auto 0;
}

  .news_box01_img {
    height: auto;
  }

  .news_box01_flex {
    display: flex;
    justify-content: center;
    align-items: center;
  }

  .news_box01_txt {
    width: 100%;
    margin: 30px auto 0;
}

.news_box01_tlt {
  width: 100%;
  font-size: 2.2rem;
  font-weight: bold;
  letter-spacing: 0.04em;
  text-align: left;
  padding-bottom: 15px;
  margin-bottom: 25px;
}

.news_box01_content article:not(:last-child) {
  margin: 0 auto 40px;
}


}



/****************************************

08 事務所情報　overview　下層用

*****************************************/
.over_box01 {
  margin: 0 auto 85px;
}

.over_box02 {
  margin: 0 auto 50px;
}



@media screen and (max-width: 767px) {
  .over_box01 {
    margin: 0 auto 50px;
}

}


/****************************************

10 お問い合わせ　下層用

*****************************************/
.contact_box01 {
  margin-bottom: 30px;
}

.contact_box01 p {
  font-size: 1.8rem;
  line-height: 1.7;
  text-align: center;
  letter-spacing: 0.04em;
}

p.contact_tel a {
  display: block;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-align: center;
  color: #000;
  text-decoration: none;
}

.contact_box02 {
  background: #F2F1EC;
  padding: 34px 40px;
  margin-bottom: 50px;
}

.contact_box02_tlt{
  font-weight: bold;
  font-size: 1.8rem;
  letter-spacing: 0.04em;
  text-align: center;
  margin-bottom: 20px;
}

.contact_box02 p{
  font-size: 1.5rem;
  line-height: 2;
  text-align: center;
  letter-spacing: normal;
}

.contact_form_box01 {
  margin-bottom: 50px;
}

@media screen and (max-width: 767px) {
  .contact_box01 p {
    text-align: left;
    font-size: 1.6rem;
}

  .contact_tel {
    font-weight: bold;
  }

  .contact_box02 {
    padding: 20px 15px;
    margin-bottom: 30px;
}

.contact_box02 p{
  text-align: left;
}

.contact_form_box01 {
  margin-bottom: 30px;
}

}

/****************************************

single.php

*****************************************/
#single_box {
  /* width: 100%; */
  margin-bottom: 30px;
}

#single_box h1.single_tit {
  width: 100%;
  font-size: 2.4rem;
  font-weight: bold;
  letter-spacing: normal;
  color: #000;
  text-align: left;
  padding-bottom: 20px;
  border-bottom: 1px solid #9f9f9f;
  margin-bottom: 30px;
  position: relative;
  line-height: 1;
}

#single_box h1.single_tit::before {
  position: absolute;
  content: "";
  bottom: -1px;
  left: 0;
  width: 300px;
  height: 2px;
  background: #C3708C;
}

.single_txt {
  font-size: 1.6rem;
}


#single_box img {
  max-width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
  margin-bottom: 20px;
}

.news_single_time {
  display: block;
  font-size: 1.3rem;
  letter-spacing: 0.2em;
  padding-bottom: 10px;
  border-bottom: 1px solid #dddddd;
  margin-bottom: 20px;
}

.nav-below {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 540px;
  margin: 70px auto 0;
  padding: 15px 10px;
}

.nav-below li {
  color: #FFF;
  font-size: 1.5rem;
  list-style: none;
  text-align: center;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.nav-below li a:link,
.nav-below li a:visited {
  color: #FFF;
  text-decoration: none;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.nav-below li a:hover,
.nav-below li a:active {
  color: rgba(255, 255, 255, 0.7);
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.nav-below p a {
  color: #212121;
  padding: 0 10px 0 0;
  text-decoration: none;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.nav-below p a:hover {
  color: #DA6F23;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.pager {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -ms-flex-line-pack: center;
  align-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  width: 100%;
  text-align: center;
}

a.page-numbers {
  background: rgba(0, 0, 0, 0.02);
  border: solid 1px rgba(0, 0, 0, 0.1);
  color: #1A458F;
  text-decoration: none;
  border-radius: 5px;
  padding: 5px 12px;
  margin: 0 3px 5px;
  font-size: 1.4rem;
  font-family: 'M PLUS Rounded 1c', sans-serif;
}

a.page-numbers:hover {
  color: #333333;
}

.pager .current {
  background: rgba(0, 0, 0, 0.02);
  border: solid 1px rgba(238, 238, 238, 0.1);
  border-radius: 5px;
  padding: 5px 12px;
  margin: 0 3px 5px;
  font-family: 'M PLUS Rounded 1c', sans-serif;
  font-size: 1.3rem;
  color: #333333;
}


@media screen and (max-width: 767px) {
  #single_box {
    width: 100%;
  }

  #single_box h1.single_tit {
    font-size: 2.2rem;
    margin-bottom: 20px;
    text-align: left;
  }

  .single_box img {
    max-width: 100%;
    margin: 10px 0;
  }

  .single_text p {
    font-size: 1.5rem;
    padding-left: 0;
  }

  .nav-below {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    width: auto;
    margin-top: 30px;
    padding: 0px;
    text-align: center;
  }

  .nav-below li {
    font-size: 1.4rem;
  }
}


/****************************************

ボタン

*****************************************/
a.btn_pink {
  background: #F3DFEB;
  display: block;
  text-align: center;
  color: #D87098;
  line-height: 1.2;
  letter-spacing: normal;
  padding: 14px 0;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}

a.btn_pink:hover {
  background: #D87098;
  color: #F3DFEB;
  opacity: 1;
  -webkit-transition: all .3s;
  -o-transition: all .3s;
  transition: all .3s;
}




a:hover {
  opacity: 0.7;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

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

/*---------------　長さ　-------------------------*/


.w300 {
  max-width: 300px;
  width: 100%;
  margin-left: auto;
  margin-top: 30px;
}

@media screen and (max-width: 767px) {
  .w300 {
    margin: 20px auto 0;
  }
}

/****************************************

txt設定

*****************************************/
.mb10 {
  margin-bottom: 10px;
}

.mb20 {
  margin-bottom: 20px;
}

.mb30 {
  margin-bottom: 30px;
}

.mb40 {
  margin-bottom: 40px;
}

.mb50 {
  margin-bottom: 50px;
}

.mb60 {
  margin-bottom: 60px;
}

.mb70 {
  margin-bottom: 70px;
}

.mb80 {
  margin-bottom: 80px;
}

.mb100 {
  margin-bottom: 100px;
}

@media screen and (max-width: 767px) {
  .mb20 {
    margin-bottom: 10px;
  }

  .mb30 {
    margin-bottom: 15px;
  }

  .mb40 {
    margin-bottom: 20px;
  }

  .mb50 {
    margin-bottom: 30px;
  }

  .mb60 {
    margin-bottom: 30px;
  }

  .mb70 {
    margin-bottom: 30px;
  }

  .mb80 {
    margin-bottom: 40px;
  }

  .mb100 {
    margin-bottom: 100px;
  }

  .mb0 {
    margin-bottom: 0;
  }

}

/****************************************

P

*****************************************/
/* 改行 */
.line_break {
  padding-top: 25px;
}

@media print,
screen and (min-width: 768px) {
  .br-pc {
    display: block;
  }

  .br-sp {
    display: none;
  }
}

@media screen and (max-width: 767px) {
  .line_break {
    padding-top: 20px;
  }

  .br-pc {
    display: none;
  }

  .br-sp {
    display: block;
  }
}

/* 強調 */
.bold {
  font-weight: bold;
}

.red {
  color: #D80700;
  font-size: 1.6rem;
}



/****************************************

img

*****************************************/

/* 画像ホバー時にマスクとキャプションを表示 */
figure.mask {
  position: relative;
  overflow: hidden;
}

figure.mask p {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(39, 125, 212, 0.6);
  /* border-radius: 10px; */
  color: #FFF;
  font-size: 1.5rem;
  -webkit-transition: 0.5s;
  -o-transition: 0.5s;
  transition: 0.5s;
  opacity: 0;
  outline: 1px solid transparent;
}

figure.mask:hover p {
  opacity: 1;
}

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

  .img200,
  .img380,
  .img420 {
    width: auto;
  }

  .img360 {
    max-width: 360px;
    width: 100%;
    margin: auto;
    padding-bottom: 20px;
  }

  .img360 img {
    image-rendering: -webkit-optimize-contrast;
  }

}

/****************************************

トップページタイトル

*****************************************/
.header_flex{
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 130px;
}

@media screen and (max-width: 1720px) {
  .header_flex{
    height: auto;
  }
}

.h_logo {
  max-width: 521px;
  width: 100%;
  z-index: 100;
  margin-left: 35px;
}

@media screen and (max-width: 1720px) {
  .h_logo {
    max-width: 320px;
  }
}

.h_logo a {
  display: block;
}

.h_logo a img {
  width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}



@media screen and (max-width: 767px) {
  #sp_header {
    padding: 20px 0 20px 10px;
  }

  .header_flex {
    display: block;
    margin-top: 17px;
    margin-bottom: 17px;
    height: auto;
}

.h_logo {
  padding: 0 0 0 10px;
  margin-left: 0;
  max-width: 200px;
  width: 100%;
}

  .h_logo img {
    image-rendering: -webkit-optimize-contrast;
  }

}

/****************************************

下層ページタイトル

*****************************************/
.headline {
  font-family: 'Noto Serif JP', serif;
  font-size: 3rem;
  font-weight: 500;
  color: #000;
  letter-spacing:normal;
  text-align: center;
  padding-bottom: 25px;
  margin-bottom: 40px;
  position: relative;
}

.headline::after {
  position: absolute;
  content: "";
  background: #E2CDD4;
  width: 400px;
  height: 1px;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}


@media screen and (max-width: 767px) {
  .headline {
    font-size: 2.4rem;
    margin-bottom: 30px;
    padding-bottom: 20px;
  }
}




/****************************************

footer

*****************************************/
@media screen and (max-width: 767px) {
  #pc_footer {
    display: none;
  }

}


#sp_footer {
  display: none;
}

#pc_footer {
  width: 100%;
  background: #fff;
  margin: auto;
  padding: 50px 0 10px;
  border-bottom: 1px solid #9d9d9d;
}

.footer_logo {
  max-width: 470px;
  width: 100%;
  margin: 0 auto 50px;
}

.footer_logo a {
  display: block;
  width: 100%;
}

.footer_logo a img {
  width: 100%;
  height: auto;
  image-rendering: -webkit-optimize-contrast;
}

#pc_footer p {
  text-align: center;
  letter-spacing: 0.06em;
}

.footer_nav_flex {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 80px;
}


.footer_nav_flex li {
  padding-right: 25px;
  position: relative;
}

.footer_nav_flex li a{
  color: #545454;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
}

.footer_nav_flex li a:hover{
  color: #fb558e;
  -webkit-transition: 0.6s;
  -o-transition: 0.6s;
  transition: 0.6s;
}

.footer_nav_flex li::after {
  position: absolute;
  content: "";
  width: 1px;
  height: 16px;
  background: #545454;
  top: 5px;
  right: 11px;
}

.footer_nav_flex li:first-child:before {
  position: absolute;
  content: "";
  width: 1px;
  height: 16px;
  background: #545454;
  top: 5px;
  left: -11px;
}

.copyright {
  display: block;
  text-align: center;
  font-size: 1.6rem;
  letter-spacing: 0.06em;
  color: #5b5b5b;
  padding-top: 10px;
  padding-bottom: 32px;
}

.pagetop {
  /* display: none; */
  width: 85px;
  height: 85px;
  position: fixed;
  right: 30px;
  bottom: 30px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  z-index: 999;
}

.pagetop:hover {
  bottom: 40px;
  opacity: 0.7;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.pagetop a {
  display: block;
  width: 100%;
  height: 100%;
}

.pagetop a img {
  width: 100%;
  height: auto;
}


@media print,
screen and (min-width: 768px) {

  .sp_pagetop,
  p.footer_contact {
    display: none !important;
  }
}



@media screen and (max-width: 767px) {
  #pc_footer {
    display: none;
  }

  #sp_footer {
    display: block;
  }

  .sp_footer_info {
    background: #165cbe;
    padding: 0 10px 60px 10px;
  }

  .sp_footer_info .footer_logo {
    max-width: 400px;
    width: 100%;
    padding-top: 20px;
    margin-bottom: 20px;
  }

  .sp_footer_info  .footer_address {
    text-align: left;
  }

  .footer_address span {
    display: block;
    width: 100%;
  }

  .footer_time {
    font-size: 1.6rem;
    margin-bottom: 20px;
    text-align: left;
    padding-top: 0;
}


  .copyright {
    font-size: 1rem;
    display: block;
    width: 100%;
    padding-bottom: 10px;
    background-color: #fff9af;
  }


  .pagetop {
    width: 55px;
    height: 55px;
    position: fixed;
    right: 15px;
    bottom: 25px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
    z-index: 999;
    margin-bottom: 0;
  }


  .sp_bana {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    position: fixed;
    width: 100%;
    height: 60px;
    bottom: 0;
    left: 0;
    z-index: 4;
}

.sp_bana div:not(:last-child) {
  border-right: 1px solid #F4F5D1;
}

.sp_bana div {
  position: relative;
  width: calc(100% / 4);
  background: rgb(22, 92, 190);
  border-top: 1px solid #F4F5D1;
}

.sp_bana div:nth-child(4) {
  background: #209FC2;
}

.sp_bana div img {
  width: auto;
  margin-bottom: 5px;
  width: 25px;
  height: auto;
}


.sp_bana a {
  position: absolute;
  width: 100%;
  height: 100%;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
  -ms-flex-direction: column;
  flex-direction: column;
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  justify-content: center;
  text-decoration: none;
}

.sp_bana div p {
  color: #fff;
  font-size: 1.1rem;
  line-height: 1;
  text-align: center;
  letter-spacing: 0.06em;
}

}

/****************************************

Contact Form7

*****************************************/
/* フォームカラー */
.wpcf7 {
  width: 100%;
}

.wpcf7-form textarea {
  width: 100%;
  /*本文*/
  max-width: 100%;
  padding: 3px 5px;
  border: 1px solid #CCC;
  border-radius: 3px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.wpcf7-form select {
  width: auto;
  padding: 3px 5px;
  border: 1px solid #CCC;
  border-radius: 3px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
}

.wpcf7-form input {
  padding: 10px;
  border: 1px solid #CCC;
  border-radius: 3px;
  -webkit-transition: 0.3s;
  -o-transition: 0.3s;
  transition: 0.3s;
  /*ラジオボタン、チェックボタン*/
}

/* 送信ボタン */
.tc {
  text-align: center;
}

.wpcf7 .tc input[type=submit] {
  cursor: pointer;
  width: 410px;
  max-width: 100%;
  padding: 18px;
  -webkit-box-shadow: none;
  box-shadow: none;
  border: 1px #fff9af solid;
  background-color: #fff9af;
  color: #f58124;
  font-size: 18px;
  text-align: center;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

.wpcf7 .tc input[type=submit]:disabled {
  cursor: not-allowed;
  -webkit-box-shadow: none !important;
  box-shadow: none !important;
  border: 1px solid #f8f8f8 !important;
  background-color: #f8f8f8 !important;
  color: #929292 !important;
}

.wpcf7 .tc input[type=submit]:hover {
  -webkit-box-shadow: 0 0 1px 1px rgba(245, 129, 36, 0.7);
  box-shadow: 0 0 1px 1px rgba(245, 129, 36, 0.7);
  background-color: #fff;
  color: #f58124;
  -webkit-transition: all 0.25s;
  -o-transition: all 0.25s;
  transition: all 0.25s;
}

.wpcf7 .tc input[type=submit]:focus {
  outline: 0;
  border: 1px #f58124 solid;
  -webkit-box-shadow: 0 0 2px 2px rgba(255, 249, 175, 0.7);
  box-shadow: 0 0 2px 2px rgba(255, 249, 175, 0.7);
}


.wpcf7-text {
  width: 400px;
}

.form_row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  margin-bottom: 30px;
  padding: 0 20px 30px 20px;
  border-bottom: 1px dotted #ccc;
  font-size: 1.2rem;
}

.form_row .form_label {
  width: 300px;
}

.form_row .form_label .required {
  display: inline-block;
  color: #fff;
  font-weight: normal;
  font-size: 1.2rem;
  padding: 0 4px;
  background: #cc0000;
  margin-right: 10px;
  border-radius: 3px;
}

.form_row .form_label .any {
  display: inline-block;
  color: #797979;
  font-weight: normal;
  font-size: 1.2rem;
  padding: 0 4px;
  background: #d7d7d7;
  margin-right: 10px;
  border-radius: 3px;
}

.form_row .form_input {
  width: calc(100% - 300px);
}

.form_row .form_input_post {
  width: 180px;
}

.form_row .form_input_post_txt {
  color: #b20000;
  font-weight: normal;
  font-size: 1.3rem;
}

.form_row.last_row {
  padding-bottom: 0;
  border-bottom: none;
}

.wpcf7 .form_input_post input[type=tel],
.wpcf7 .form_input input[type=email],
.wpcf7 .form_input input[type=tel],
.wpcf7 .form_input input[type=text],
.wpcf7 .form_input_post input[type=text],
.wpcf7 .form_input textarea {
  position: relative;
  border-left: 2px solid #fb558e;
}

/* フォームの装飾ここから */
/* チェックボックス */
.wpcf7 .form_input input[type=checkbox] {
  display: none;
}

.wpcf7 .form_input input[type=checkbox]+span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]+span:before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  width: 1.24em;
  height: 1.24em;
  border: 1px solid #165CBE;
  border-radius: 4px;
  background-color: #fefefe;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .form_input input[type=checkbox]+span:after {
  content: "";
  opacity: 0;
  display: block;
  position: absolute;
  top: 0.15em;
  left: 0.44em;
  width: 0.4em;
  height: 0.8em;
  border-bottom: 3px solid #165CBE;
  border-right: 3px solid #165CBE;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transform: rotate(40deg);
  -ms-transform: rotate(40deg);
  transform: rotate(40deg);
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span {
  color: #002565;
  -webkit-transition: all 0.25s ease;
  -o-transition: all 0.25s ease;
  transition: all 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span:before {
  opacity: 1;
  border: 1px solid #165CBE;
  -webkit-box-shadow: 0 0 2px 2px rgba(22, 92, 190, 0.5);
  box-shadow: 0 0 2px 2px rgba(22, 92, 190, 0.5);
  background-color: #165CBE;
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=checkbox]:checked+span:after {
  opacity: 1;
  border-bottom: 3px solid #fff;
  border-right: 3px solid #fff;
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

/* ラジオボタン */
.wpcf7 .form_input input[type=radio] {
  display: none;
}

.wpcf7 .form_input input[type=radio]+span {
  cursor: pointer;
  position: relative;
  margin: 0;
  padding: 0 1em 0 1.8em;
  font-size: inherit;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=radio]+span:before {
  content: "";
  display: block;
  position: absolute;
  top: 0.3em;
  left: 0;
  width: 1em;
  height: 1em;
  border: 1px solid #666;
  border-radius: 50%;
  background-color: #fefefe;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=radio]+span:after {
  content: "";
  display: block;
  opacity: 0;
  position: absolute;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

.wpcf7 .form_input input[type=radio]:checked+span:before {
  -webkit-box-shadow: 0 0 2px 2px rgba(22, 92, 190, 0.5);
  box-shadow: 0 0 2px 2px rgba(22, 92, 190, 0.5);
}

.wpcf7 .form_input input[type=radio]:checked+span:after {
  opacity: 1;
  top: 0.3em;
  left: 0;
  width: 1em;
  height: 1em;
  background-color: #165CBE;
  border-radius: 50%;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: opacity 0.25s ease;
  -o-transition: opacity 0.25s ease;
  transition: opacity 0.25s ease;
}

/* セレクト */
.wpcf7 .form_input span.select-wrap {
  position: relative;
  width: 250px;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:after {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  width: 0.6em;
  height: 0.6em;
  top: 50%;
  right: 0.8em;
  margin-top: -3px;
  border-bottom: 1px solid #165CBE;
  border-right: 1px solid #165CBE;
  -webkit-transform: rotate(45deg) translateY(-50%);
  -ms-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:focus-within::after {
  border-bottom: 1px solid #165CBE;
  border-right: 1px solid #165CBE;
  color: #165CBE;
}

.wpcf7 .form_input select {
  cursor: pointer;
  width: 250px;
  max-width: 100%;
  margin: 0;
  padding: 0.5em 3.5em 0.5em 1em;
  border: 1px solid #165CBE;
  border-radius: 4px;
  -webkit-box-shadow: none;
  box-shadow: none;
  background-color: #fefefe;
  background-image: -o-linear-gradient(left, rgba(22, 92, 190, 0.7), rgba(22, 92, 190, 0.7));
  background-image: -webkit-gradient(linear, left top, right top, from(rgba(22, 92, 190, 0.7)), to(rgba(22, 92, 190, 0.7)));
  background-image: linear-gradient(90deg, rgba(22, 92, 190, 0.7), rgba(22, 92, 190, 0.7));
  background-position: 100% 0;
  background-size: 2em 3.5em;
  background-repeat: no-repeat;
  color: inherit;
  font-size: inherit;
  line-height: 1;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  -webkit-transition: border-color 0.2s ease, outline 0.2s ease;
  -o-transition: border-color 0.2s ease, outline 0.2s ease;
  transition: border-color 0.2s ease, outline 0.2s ease;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  position: relative;
}

.wpcf7 .form_input select:-ms-expand {
  display: none;
}

.wpcf7 .form_input span.select-wrap {
  position: relative;
  width: 250px;
  margin: 0;
  padding: 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

.wpcf7 .form_input span.select-wrap:after {
  content: "";
  pointer-events: none;
  position: absolute;
  display: block;
  width: 0.6em;
  height: 0.6em;
  top: 60%;
  right: 0.8em;
  margin-top: -3px;
  border-bottom: 1px solid #fff;
  border-right: 1px solid #fff;
  -webkit-transform: rotate(45deg) translateY(-50%);
  -ms-transform: rotate(45deg) translateY(-50%);
  transform: rotate(45deg) translateY(-50%);
  -webkit-transform-origin: 50% 0;
  -ms-transform-origin: 50% 0;
  transform-origin: 50% 0;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

/* テキストフィールド フォーカス時 */
.wpcf7 .form_input input[type=text]:focus,
.wpcf7 .form_input input[type=tel]:focus,
.wpcf7 .form_input input[type=email]:focus,
.wpcf7 .form_input input[type=url]:focus,
.wpcf7 .form_input input[type=date]:focus,
.wpcf7 .form_input input[type=number]:focus,
.wpcf7 .form_input_post input[type=text]:focus,
.wpcf7 .form_input textarea:focus,
.wpcf7 .form_input_post input[type=tel]:focus {
  outline: 0;
  border: 1px #fbdbe6 solid;
  -webkit-box-shadow: 0 0 1px 1px rgba(251, 85, 142, 0.3);
  box-shadow: 0 0 1px 1px rgba(251, 85, 142, 0.3);
}

.wpcf7 .form_input select:focus {
  outline: 0;
  border: 1px #165CBE solid;
  -webkit-box-shadow: 0 0 1px 1px rgba(22, 92, 190, 0.3);
  box-shadow: 0 0 1px 1px rgba(22, 92, 190, 0.3);
}

.wpcf7-response-output {
  font-size: 1.6rem;
}

@media screen and (max-width: 767px) {
  .wpcf7-form textarea {
    width: 100% !important;
    /*本文*/
  }

  .wpcf7-form input {
    max-width: 100% !important;
    /*ラジオボタン、チェックボタン*/
  }

  .wpcf7-submit {
    width: 100%;
  }

  .form_row {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    padding: 0 0 30px;
  }

  .form_row .form_label {
    width: 100%;
    margin-bottom: 10px;
  }

  .form_row .form_input {
    width: 100%;
  }

  .wpcf7-radio .wpcf7-list-item {
    margin-left: 0;
    display: block;
  }

  .ajax-loader {
    width: auto;
  }

  .wpcf7-response-output {
    font-size: 1.3em;
  }
}

/****************************************

clearfix

*****************************************/
.clearfix {
  display: inline-block;
}

.clearfix:after {
  content: ".";
  display: block;
  height: 0;
  font-size: 0;
  clear: both;
  visibility: hidden;
}

/* Hides from IE Mac */
* html .clearfix {
  height: 1%;
}

.clearfix {
  display: block;
}

/* End Hack */
