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

* {
  -webkit-appearance: none;
}

html {
  font-size: 6.25%;
  width: 100%;
  height: 100%;
}

body {
  width: 100%;
  height: 100%;
  position: relative;
  -webkit-text-size-adjust: none;
  line-height: 1;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section,
main,
img,
label,
select,
button,
video,
iframe {
  display: block;
}

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

nav ul {
  list-style: none;
}

li {
  list-style-type: none;
}

blockquote,
q {
  quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
  content: '';
  content: none;
}

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

ins {
  background-color: #ff9;
  color: #000;
  text-decoration: none;
}

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 #000;
  cursor: help;
}

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

hr {
  display: block;
  height: 1px;
  border: 0;
  border-top: 1px solid #cccccc;
  margin: 1em 0;
  padding: 0;
}

a,
button {
  display: block;
  border: none;
  outline: 0;
  cursor: pointer;
}

label {
  cursor: pointer;
}


body {
  font-family: "Noto Sans Japanese", "Hiragino Kaku Gothic ProN", "ヒラギノ角ゴ Pro W3", sans-serif;
  font-size: 16px;
  font-size: 16rem;
  color: #333;
  line-height: 1.4;
  font-weight: 200;
}

.container {
  width: 100%;
  max-width: 980px;
  margin: 0 auto;
  padding: 0 20px;
}

.wrapper {
  width: 100%;
  max-width: 920px;
  margin: 0 auto;
  padding: 40px;
}

section:nth-child(n+2) {
  padding: 80px 0;
}


/* メイン　ビジュアル */

#main_visual_sec {
  width: 100%;
  height: 100vh;
  min-height: 400px;
  min-height: 700px;
  background: url(../img/img_main.jpg);
  background-size: cover;
  background-position: center center;
  padding: 0 20px;
}

.main_visual_wrap {
  width: 100%;
  max-width: 980px;
  height: 100%;
  margin: 0 auto;
  padding: 60px 0;
  position: relative;
}

.main_logo {
  position: absolute;
  top: 20px;
  left: 0;
  width: 100px;
}

.main_visual_inner {
  position: absolute;
  top: 50%;
  left: 50;
  transform: translateY(-50%);
  width: 100%;
}

.katach_wrap {
  width: 100%;
  max-width: 760px;
  margin: 0 auto;
  position: relative;
}

.katach_wrap p {
  font-size: 26px;
  font-weight: bold;
  letter-spacing: 1px;
  text-shadow: 0px 0px 10px #ffffff;
  padding-left: 4%;
}

.katach_wrap p span:nth-child(1) {
  color: #ff420e;
}

.katach_wrap p span:nth-child(2) {
  color: #89da59;
}

.katach_wrap p span:nth-child(3) {
  color: #ffe00e;
}

.push_pop {
  position: absolute;
  top: 0;
  right: 0;
  transform: translate(0%, -50%);
  width: 180px;
}

.logo_yanushi {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
}


/* 悩み */
#worries_sec {
  background-image: url(../img/bg_worries1.png), url(../img/bg_worries2.png);
  background-size: 100% 200px, 100% 200px;
  background-position: top left, bottom left;
  background-repeat: no-repeat;
  padding-bottom: 30px;
}

.worries_title {
  width: 100%;
  max-width: 800px;
  margin: 0 auto;
}

.worries_wrap {
  padding: 0 40px;
}

.worries_inner {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  width: 100%;
  max-width: 800px;
  margin: 60px auto 40px;
}

.worries_inner div:nth-child(1) {
  width: 140px;
}

.worries_inner div:nth-child(2) {
  width: calc(100% - 200px);
  border: 10px solid #009d85;
  border-radius: 20px;
  padding: 30px 60px;
  font-weight: bold;
  font-size: 18px;
  position: relative;
}

.worries_inner div:nth-child(2) li + li {
  padding-top: 15px;
}

.worries_inner div:nth-child(2):before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 35px 50px 35px 0;
  border-color: transparent #009d85 transparent transparent;
  position: absolute;
  top: 50%;
  left: -50px;
  transform: translateY(-50%);
}


.worries_inner div:nth-child(2):after {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 25px 35px 25px 0;
  border-color: transparent #ffffff transparent transparent;
  position: absolute;
  top: 50%;
  left: -35px;
  transform: translateY(-50%);
}

.worries_plus {
  font-size: 50px;
  font-weight: bold;
  text-align: center;
  color: #ff420e;
  line-height: 1;
}

.worries_inner2 {
  width: 100%;
  max-width: 800px;
  margin: 50px auto 60px;
  border: 10px solid #009d85;
  border-radius: 20px;
  background: #ffffff;
  position: relative;
  padding: 60px 20px 20px 12%;
  font-size: 22px;
  color: #ff420e;
}

.worries_inner2 img {
  width: 95%;
  position: absolute;
  top: 0;
  left: -10%;
  transform: translateY(-50%);
}

.worries_inner2 li + li {
  padding-top: 5px;
}

.worries_etc {
  text-align: right;
  padding-top: 10px;
}

.worries_arrow {
  text-align: center;
  font-weight: bold;
  font-size: 28px;
  padding: 30px 0 30px;
  position: relative;
}

.worries_arrow div {
  position: relative;
  z-index: 1;
}

.worries_arrow:before {
  content: '';
  display: block;
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 80px 200px 0 200px;
  border-color: #FFEA02 transparent transparent transparent;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 0;
}

/* 解決 */

#settle_sec {
  background: url(../img/bg_settle.jpg);
  background-size: cover;
  background-position: center center;
  text-align: center;
  font-size: 40px;
  font-weight: bold;
  text-align: center;
  line-height: 1;
}

#settle_sec img {
  width: 100%;
  max-width: 500px;
  margin: 0 auto;
}

#settle_sec span {
  color: #ff420e;
  font-size: 60px;
}

/* アバウト */
#about_sec {
  padding-bottom: 160px;
}

.about_title {
  width: 100%;
  max-width: 700px;
  margin: 0 auto;
}

.about_wrap {
  padding: 40px 40px 0;
  position: relative;
}

.about_inner {
  background: #009d85;
  color: #ffffff;
  font-size: 30px;
  font-weight: bold;
  text-align: center;
  padding: 30px 10px 120px;
  position: relative;
}

.about_inner > img {
  width: 230px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-30%, -30%) rotate(-20deg);
}

.about_point {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  transform: translateY(50%);
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
}

.about_point > div {
  width: calc(25% - 20px);
  background: #ffe00e;
  color: #005d4a;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  padding: 20px 0;
}

.about_point img {
  width: 120px;
  margin: 0 auto;
}

/* メリット */
#merit_sec {
  background: #f6fdfd;
}

.merit_title {
  width: 100%;
  max-width: 400px;
  margin: 0 auto;
}

.merit_caption {
  font-size: 26px;
  font-weight: bold;
  border-bottom: 10px solid #fff000;
  padding: 10px 0 10px 150px;
  margin-top: 60px;
  letter-spacing: 1px;
  position: relative;
}

.merit_caption > div {
  padding: 8px 15px;
  background: #009d85;
  color: #ffffff;
  font-size: 22px;
  position: absolute;
  top: 50%;
  left: -15px;
  transform: translateY(-34%) rotate(-10deg);
  letter-spacing: 0;
}

.merit_caption > div span {
  font-size: 30px;
}

.merit_caption > span {
  font-size: 40px;
  color: #ff420e;
}

.merit_caption2 {
  padding: 10px 0;
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
  font-weight: bold;
  font-size: 24px;
  position: relative;
}

.merit_caption2:after {
  content: '';
  display: block;
  width: 80%;
  height: 5px;
  background: -moz-linear-gradient(left, rgba(0, 150, 255, 1) 0%, rgba(0, 150, 255, 1) 73%, rgba(0, 150, 255, 1) 74%, rgba(0, 150, 255, 0) 100%);
  background: -webkit-linear-gradient(left, rgba(0, 150, 255, 1) 0%, rgba(0, 150, 255, 1) 73%, rgba(0, 150, 255, 1) 74%, rgba(0, 150, 255, 0) 100%);
  background: linear-gradient(to right, rgba(0, 150, 255, 1) 0%, rgba(0, 150, 255, 1) 73%, rgba(0, 150, 255, 1) 74%, rgba(0, 150, 255, 0) 100%);
  filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0096ff', endColorstr='#000096ff', GradientType=1);
  position: absolute;
  bottom: 0;
  left: 0;
}

.merit_caption2 div {
  padding: 5px 10px;
  color: #ffffff;
  background: #0096ff;
  margin-right: 10px;
  border-radius: 5px;
  font-size: 16px;
}

#merit_sec .wrapper p {
  padding: 30px 0 40px;
  line-height: 1.6;
}

.merit_img1 {
  width: 80%;
  max-width: 700px;
  margin: 0 auto;
}

/* 民法 */
#law_sec {
  background: url(../img/bg_law.png);
  background-size: cover;
  background-position: center center;
  text-align: center;
  font-size: 20px;
  font-weight: bold;
  text-align: center;
  line-height: 1.6;
}

#law_sec img {
  width: 80%;
  max-width: 600px;
  margin: 0 auto 30px;
}

/* 費用 */
.cost_title {
  border-bottom: 10px solid #333333;
}

.cost_title div {
  display: inline-block;
  padding: 5px 30px 0;
  background: #333333;
  color: #ffffff;
  font-size: 28px;
  font-weight: bold;
}

.cost_wrap {
  padding: 30px;
}

.cost_inner {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  padding: 10px 0;
}

.cost_inner:nth-child(n+2) {
  font-size: 20px;
  font-weight: bold;
}

.cost_inner > div:nth-child(1) {
  width: 180px;
}

.cost_inner > div:nth-child(2),
.cost_inner > div:nth-child(3) {
  width: calc(100% / 2 - 260px / 2);
}

.cost_name {
  border-bottom: 1px solid #333333;
}

/* お問い合わせ */
#inq_sec {
  position: sticky;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  background: rgba(255, 255, 255, .8);
  padding: 20px 0;
}

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

.inq_wrap a {
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-align-items: center;
  align-items: center;
  background: #ff420e;
  padding: 0 40px;
  height: 60px;
  color: #fff;
  font-weight: bold;
  font-size: 18px;
  border-radius: 5px;
  transition: opacity .3s ease;
  position: relative;
}

.inq_wrap a div {
  width: 140px;
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%) rotate(-25deg);
}


.inq_wrap a:hover {
  opacity: .6;
}

/* 会社概要 */
#comp_sec {
  margin-top: 80px;
  background: #efefef;
}

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

.comp_title {
  font-size: 30px;
  text-align: center;
  font-weight: bold;
}

.comp_wrap {
  width: 100%;
  max-width: 800px;
  display: -webkit-flex;
  display: flex;
  -webkit-justify-content: space-between;
  justify-content: space-between;
  -webkit-align-items: center;
  align-items: center;
  margin: 30px auto 0;
  font-size: 20px;
}

.comp_wrap > div:nth-child(1) {
  width: calc(100% - 120px);
}

.comp_wrap > div:nth-child(2) {
  width: 120px;
}

.comp_inner {
  display: -webkit-flex;
  display: flex;
  -webkit-align-items: center;
  align-items: center;
}

.comp_inner + .comp_inner {
  padding-top: 10px;

}

.comp_inner > div:nth-child(1) {
  width: 160px;
}

.comp_inner > div:nth-child(2) {
  width: calc(100% - 160px);
}


/* footer */
footer {
  padding: 80px 0;
  background: #009d85;
  text-align: center;
  color: #fff;
}

footer img {
  width: 80px;
  margin: 0 auto 30px;
}

@media screen and (max-width:979px) {
  body {
    font-size: 15px;
    font-size: 15rem;
  }

  section:nth-child(n+2) {
    padding: 60px 0;
  }

  /* メイン　ビジュアル */
  .katach_wrap p {
    font-size: 24px;
  }

  /* 悩み */

  .worries_inner div:nth-child(2) {
    padding: 30px 40px;
    font-size: 16px;
  }

  .worries_plus {
    font-size: 45px;
  }

  .worries_inner2 {
    margin: 50px auto 40px;
    padding: 50px 10px 10px 12%;
    font-size: 18px;
  }

  .worries_arrow {
    font-size: 28px;
  }

  /* アバウト */
  .about_inner {
    font-size: 26px;
  }

  .about_inner > img {
    width: 200px;
  }

  .about_point > div {
    font-size: 18px;
  }

  /* メリット */

  .merit_caption {
    font-size: 24px;
    padding: 10px 0 10px 140px;
  }

  .merit_caption > div {
    font-size: 20px;
  }

  .merit_caption > div span {
    font-size: 28px;
  }

  .merit_caption > span {
    font-size: 34px;
  }

  .merit_caption2 {
    font-size: 22px;
  }

  .merit_caption2 div {
    font-size: 14px;
  }

  /* 民法 */
  #law_sec {
    font-size: 18px;
  }

}




























@media screen and (max-width:767px) {
  body {
    font-size: 14px;
    font-size: 14rem;
  }

  section:nth-child(n+2) {
    padding: 40px 0;
  }

  .wrapper {
    padding: 20px;
  }


  /* メイン　ビジュアル */

  .katach_wrap p {
    font-size: 16px;
  }

  .push_pop {
    width: 80px;
  }


  /* 悩み */
  #worries_sec {
    padding-bottom: 30px;
    background-size: 100% 100px, 100% 100px;
  }

  .worries_wrap {
    padding: 0 10px;
  }

  .worries_inner {
    display: block;
    margin: 30px auto 30px;
  }

  .worries_inner div:nth-child(1) {
    width: 100px;
    margin: 0 auto 20px;
  }

  .worries_inner div:nth-child(2) {
    width: 100%;
    border: 5px solid #009d85;
    border-radius: 10px;
    padding: 20px;
    font-size: 14px;
  }

  .worries_inner div:nth-child(2) li + li {
    padding-top: 10px;
  }

  .worries_inner div:nth-child(2):before {
    display: none;
  }


  .worries_inner div:nth-child(2):after {
    display: none;
  }

  .worries_plus {
    font-size: 30px;
  }

  .worries_inner2 {
    width: 100%;
    max-width: 800px;
    margin: 30px auto 40px;
    border: 5px solid #009d85;
    border-radius: 10px;
    padding: 40px 10px 10px 12%;
    font-size: 14px;
  }

  .worries_inner2 img {
    width: 100%;
  }

  .worries_arrow {
    font-size: 22px;
    padding: 20px 0 20px;
  }

  .worries_arrow:before {
    border-width: 60px 150px 0 150px;
  }

  /* 解決 */

  #settle_sec {
    font-size: 30px;
  }

  #settle_sec img {
    max-width: 300px;
  }

  #settle_sec span {
    font-size: 50px;
  }

  /* アバウト */
  #about_sec {
    padding-bottom: 30px;
  }

  .about_wrap {
    padding: 20px 0px 0;
    position: relative;
  }

  .about_inner {
    font-size: 14px;
    padding: 20px 10px 50px;
  }

  .about_inner > img {
    width: 80px;
  }

  .about_point {
    position: relative;
    top: -30px;
    transform: none;
  }

  .about_point > div {
    width: calc(25% - 5px);
    font-size: 10px;
    padding: 10px 0;
  }

  .about_point img {
    width: 100%;
  }

  /* メリット */

  .merit_title {
    width: 80%;
  }

  .merit_caption {
    font-size: 16px;
    font-weight: bold;
    border-bottom: 5px solid #fff000;
    padding: 0 10px;
    margin-top: 30px;
  }

  .merit_caption > div {
    font-size: 14px;
    width: 91px;
    padding: 5px 10px;
    position: relative;
    display: block;
    top: 10px;
    left: -15px;
    transform: translateY(0) rotate(-10deg);
  }

  .merit_caption > div span {
    font-size: 20px;
  }

  .merit_caption > span {
    font-size: 30px;
    color: #ff420e;
  }

  .merit_caption2 {
    font-size: 18px;
  }

  .merit_caption2:after {
    height: 3px;
  }

  .merit_caption2 div {
    font-size: 12px;
    text-align: center;
  }

  #merit_sec .wrapper p {
    padding: 20px 0 20px;
  }

  .merit_img1 {
    width: 100%;
  }

  /* 民法 */
  #law_sec {
    font-size: 16px;
  }

  #law_sec img {
    width: 100%;
    margin: 0 auto 20px;
  }

  /* 費用 */
  .cost_title {
    border-bottom: 5px solid #333333;
  }

  .cost_title div {
    font-size: 20px;
  }

  .cost_wrap {
    padding: 0;
  }

  .cost_inner {
    padding: 10px 0;
  }

  .cost_inner:nth-child(n+2) {
    font-size: 14px;
    font-weight: bold;
    -webkit-flex-wrap: wrap;
    flex-wrap: wrap;
  }

  .cost_inner:nth-child(1) > div:nth-child(1) {
    display: none;
  }

  .cost_inner > div:nth-child(1) {
    width: 100%;
    padding-bottom: 5px;
  }

  .cost_inner > div:nth-child(2),
  .cost_inner > div:nth-child(3) {
    width: calc(100% / 2 - 10px);
    padding-bottom: 5px;
    border-bottom: 1px solid #000;
  }

  .cost_name {
    border-bottom: 1px solid #333333;
  }

  /* お問い合わせ */
  .inq_wrap a {
    padding: 0 30px;
    height: 50px;
    color: #fff;
    font-weight: bold;
    font-size: 14px;
  }

  .inq_wrap a div {
    width: 84px;
  }

  .comp_title {
    font-size: 24px;
  }

  .comp_wrap {
    display: block;
    margin: 30px auto 0;
    font-size: 16px;
  }

  .comp_wrap > div:nth-child(1) {
    width: 100%;
  }

  .comp_wrap > div:nth-child(2) {
    width: 100px;
    margin: 20px auto 0;
  }



  .comp_inner {
    max-width: 330px;
    margin: 0 auto;
  }

  .comp_inner > div:nth-child(1) {
    width: 140px;
  }

  .comp_inner > div:nth-child(2) {
    width: calc(100% - 140px);
  }


  /* footer */
  footer {
    padding: 60px 0;
  }

  footer img {
    width: 80px;
    margin: 0 auto 20px;
  }
}
