@charset "UTF-8";
@import url("grid.css");

img {
	max-width:100%;
	height: auto;/*高さ自動*/
    /* padding: 0 2rem; */
}
a {
    display:block;
    /* color: #fff; */
    text-decoration-line: none;
}
a:hover {
    color: #999;
}

/*ヘッダー
-------------------------------------*/
.header {
	display: flex;
    flex-direction: row;
    padding: 2rem 0 0 0;
}
.header-box {
	margin-left: auto;
	margin-top: 8px;
}
.contact-button {
	padding: 0.5rem;
	background-color: #ff3d00;
    border-radius: 5rem;
    text-align: center;
    z-index: 20;
}
nav ul {
	display: flex;
    flex-direction: row;
    justify-content: space-around;
    list-style: none;
	margin: 1rem 0 0 0;
}
nav li {
	flex: 1 0 auto;
}
nav li a {
    text-decoration: none;
    text-align: center;
    width: 100%;
}
nav a:hover {
    text-decoration: underline;
		color: #ccc;
}
nav a {
    padding: 0.5rem;
}

@media screen and (min-width: 821px){
/* PC時はMENUボタンを非表示 */
#open,#close {
    display: none !important;
}

#navi {
    display: block !important;
}
}

@media screen and (max-width: 821px){
.header {
	flex-direction: column;
    margin-bottom: 10px;
}
.header #open,#close  {
    position: absolute;
    top: 20px;
    right: 12px;
}
nav ul {
	flex-direction: column;
}
.header li {
	padding-top: 0;
}
/* スマホ時はMENUボタンを表示 */
#open {
    display: block;
    background: url(../img/button.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 42px;
    height: 42px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
    border-radius: 5px;
}
#close  {
    display: block;
    background: url(../img/button2.png);
    background-repeat: no-repeat;
    background-size: contain;
    width: 50px;
    height: 50px;
    border: none;
    position: absolute;
    top: 20px;
    right: 12px;
}
/* スマホ時はメニューを非表示 */
#navi {
    display: none;
    background-color: #000000;
}
}

/*メイン画像
-------------------------------------*/
.mainimg img {
    width: 100vw;
}

/*メインコンテンツ
-------------------------------------*/
main {
    margin: 0rem 0 0 0;
}
section {
	margin: 4rem 0;
	padding: 1rem 0;
}
.gray-back {
	background-color: #f4f4f4;
}

/*キャッチコピー
-------------------------------------*/
.catch {
    text-align: center;
		margin-top: 30px;
}
.catch h2 {
    /* padding-bottom: 1rem; */
    font-size: 18px;
    font-weight: bold;
}

.center {
	text-align: center;
	margin-bottom: 4rem;
}

/*申し込みの流れ
-------------------------------------*/
.flow.row {
	margin-bottom: 3rem;
}

/*フッター
-------------------------------------*/
footer {
    background-color: #f7f7f7;
    /* padding: 5rem 0; */
}
footer h4 {
    border-bottom: 3px solid #ccc;
}

/*お問い合わせ
-------------------------------------*/
/* .contact-box {
position: absolute;
top: 20rem;
right: 20rem;
width: 30%;
} */
.table {
	margin: 4rem 0;
}
.table th {
	width: 250px;
}

/*コピーライト
-------------------------------------*/
.copyright {
    text-align: center;
    padding: 1rem 0;
    background-color: #000;
    color: #fff;
}
.copyright a {
    color: #fff;
    text-decoration: none;
	display: inline;
}

/*ページトップへ戻るボタン
-------------------------------------*/
#pagetop {
    position: fixed;
    bottom: 15px;
    right: 15px;
}
#pagetop a {
    display: block;
    background: #000;
    color: #fff;
    width: 50px;
    padding: 10px 5px;
    text-align: center;
}
#pagetop a:hover {
    background: #666;
}

/* 幅768px以下の表示
-------------------------------------*/
@media screen and (max-width: 821px){

/*ヘッダー
-------------------------------------*/
.header-box {
	display: none;
}
/*お問い合わせ
-------------------------------------*/
.table th {
	width: 100%;
	display: block;
}
.table td {
	display: block;
}
}
/*-------------------------------------*/
@media (min-width: 821px){
    .container__header {
      max-width: 1500px;
      position: relative;
    }}
.head {
	display: flex;
    flex-direction: row;
    padding: 1rem 0 0 0;
    position: fixed;
    z-index: 20;
    background-color: #0844A2;
    width: 100%;
}
.head h1 {
    padding: 1rem;
	font-weight: 700;
	letter-spacing: 3px;
}
@media screen and (max-width: 820px){
    .head {
        flex-direction: column;
        text-align: left;
        margin-bottom: 50px;
    }
    .head #open,#close  {
        position: absolute;
        right: 12px;
        }}
@media (min-width: 1024px){
.head h1 {
padding: 1rem 3rem;
}}
.box {
	margin-left: auto;
	font-size: 3.0rem;
}
@media screen and (max-width: 821px){
    .box {
        display: none;
    }}
.btn--white,
a.btn-white {
  color: #000;
  background-color: #fff;
  border-radius: 10px;
  font-weight: bold;
  height: 4.5rem;
  padding: 5px 25px;
  font-size: 16px;
}
.btn--white:hover,
a.btn--white:hover {
  color: #0844a2;
  background: #fff;
}
.btn--yellow,
a.btn--yellow {
  color: #000;
  background-color: #FFEB3B;
  border-radius: 10px;
  margin-right: 3rem;
  font-weight: bold;
  height: 4.5rem;
  padding: 5px 25px;
  font-size: 16px;
}
.btn--yellow:hover,
a.btn--yellow:hover {
  color: #fff;
  background: #FFEB3B;
}
.side {
    display: flex;
    justify-content: center;
}
.side a {
color: #9E9E9E;
}
.side a:hover {
    color: #000;
}
.width {
    overflow: visible;
    overflow-x: scroll;
    display: flex;
    flex-direction: row;
}
@media screen and (max-width: 540px){
.contact-box {
    display: none;
}}
.flexbox {
    display: flex;
    align-items: center;
    padding: 0 2rem;
}
/* .image {
    width: 80%;
} */
@media screen and (max-width: 1024px){
    /* .contact-box {
        position: absolute;
        top: 9rem;
        right: 10rem;
        width: 35%;
        } */
        td {
            padding: 6px 0;
        }
        .table {
            margin: 1.5rem 0;
        }
        .table th {
            width: 250px;
        }}
@media screen and (min-width: 767px){
    .size {
        display: none;
    }}
@media screen and (max-width: 540px){
.main{
    position: relative;
    top: 1rem;
    z-index: 1;
}
.change {
    flex-direction: column-reverse;
}}
.mobile_contact-button {
    z-index: 20;
    display:flex;
    justify-content: center;
    position: relative;
    top: 1rem;
}
.mainimg_pc {
    position: relative;
    background-image: url(../img/top.png);
    background-size:  cover;
    padding: 7rem 0;
}
.center {
    font-size: 1.5rem;
}
.outer {
   background-color: #EDEDED;
   padding: 1rem;
   border-radius: 2.5rem;
   height: 220px;
}
.arrow_pc  {
    display: flex;
    align-items: center;
    color: #9E9E9E;
}
.arrow_mobile {
    color: #9E9E9E;
    margin: 1rem 0;
}
@media screen and (min-width: 768px){
    .arrow_mobile {
        display: none;
    }}
 @media screen and (max-width: 767px){
        .arrow_pc {
            display: none;
        }}
 @media screen and (min-width: 540px){
.use {
    width: 83%;
}}
.central {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
}
.btn_blue {
  background-color: #0844a2;
  border-radius: 4rem;
  padding: 1rem 2rem;
  height: 6rem;
  font-weight: bold;
}
.btn_amber {
    background-color: #FFEB3B;
    border-radius: 4rem;
    padding: 1rem 2rem;
    height: 6rem;
    color: #000;
    font-weight: bold;
}
/* フッター */
#footer {
    position: relative;
    margin-top: 40px;
    color: #000;
  }
  #footer a {
    text-decoration: none;
    color: #fff;
  }
  /* #footer a:hover {
    text-decoration: underline;
  } */
  #footer .primary {
    padding: 40px 20px;
    background: #0844A2;
  }
  #footer .primary .flex {
    display: flex;
  }
  #footer .primary .flex .left{
    width: 40%;
  }
  #footer .primary .flex .right{
    display: flex;
    width: 60%;
    justify-content: flex-end;
  }
  #footer .secondary {
    display: flex;
    padding: 40px 20px;
    background: #EDEDED;
  }

  @media screen and (max-width: 769px) {
    #footer .primary {
      padding: 20px 20px;
      background: #0844A2;
    }
    #footer .primary .flex {
      display: block;
    }
    #footer .primary .flex .left{
      width: 100%;
    }
    #footer .primary .flex .right{
      width: 100%;
      display: block;
    }
    #footer .secondary {
      display: block;
      padding: 20px 20px;
    }
  }

  /* logo */

  #footer .logo {
    position: relative;
    padding: 0;
    margin: 0;
    width: 100%;
    font-size: 30px;
    font-weight: bold;
  }
  @media screen and (max-width: 769px) {
    #footer .logo {
      font-size: 23px;
    }
  }

  /* category */

  .category {
    margin: 10px 0 0;
    padding: 0;
  }

  @media screen and (max-width: 769px) {
    .category {
      font-size: 12px;
    }
  }

  /* navi */

  .navi-section {
    display: flex;
    flex-direction: column;
    width: 20%;
    margin-left: 0px;
  }
  #footer .parent {
    margin: 0 0 16px 0;
    padding: 0;
    font-weight: bold;
  }
  #footer .navi {
    margin: 0;
    padding: 0;
    list-style: none;
    width: 25%;
  }
  #footer .navi li {
    margin: 8px 0 0 0;
    padding: 0;
  }
  #footer .navi li:first-child {
    margin: 0;
  }

  @media screen and (max-width: 769px) {
    .navi-section {
    display: block;
    width: 100%;
    margin: 10px 0 0;
  }
  #footer .parent {
    font-size: 12px;
    margin: 0 0 2px;
  }
    #footer .navi {
      font-size: 12px;
      padding-bottom: 10px;
      /* border-bottom: 1px solid #444; */
    }
    #footer .navi li {
      /* border-top: 1px solid #444; */
      padding-top: 10px;
      margin-top: 10px;
      font-size: 12px;
    }
  }

  /* sns-navi */
  .sns-navi {
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
  }
  #footer .sns-navi li {
    display: inline-block;
    padding: 0;
    font-size: 16px;
  }
  #footer .sns-navi li:last-child {
    margin-right: 0;
  }

  @media screen and (max-width: 769px) {
    #footer .sns-navi {
      margin: 20px 0 0;
      padding: 0;
    }
    #footer .sns-navi li {
      margin: 0 20px 0 0;
      padding: 0;
      font-size: 18px;
    }
  }

  /* sitenavi */
  #footer .sitenavi {
    width: 50%;
    margin: 0;
    padding: 0;
    list-style: none;
  }
  #footer .sitenavi li {
    display: inline-block;
    margin: 0 0 0 20px;
    padding: 0;
  }
  #footer .sitenavi li:first-child {
    margin-left: 0;
  }

  @media screen and (max-width: 769px) {
    #footer .sitenavi {
      width: 100%;
      text-align: center;
      font-size: 12px;
    }
  }

  /* copyright */
  #footer .copyright {
    /* width: 50%; */
    margin: 0;
    padding: 0.8rem 0;
    text-align: center;
    background: #0844A2;
  }
  .category {
    font-weight: bold;
  }
  @media screen and (max-width: 769px) {
    #footer .copyright {
      width: 100%;
      text-align: center;
      font-size: 12px;
    }
  }
  body {
    margin: 0;
    padding: 0;
  }
  @media screen and (max-width: 769px) {
  .category ,.navi {
    /* display: none; */
  }
  .footer-mobile hr {
    border: 3px solid #000!important;
  }}
  @media screen and (min-width: 769px) {
    .footer-mobile {
      display: none;
    }}
    .footer-flex {
      display: flex;
    }
    .arrow {
      position:absolute;
      right: 30px;
    }
    @media screen and (max-width: 540px) {
        .head {
            height: 7rem;
    }
    #open {
        top: 14px;
    }
    .button {
        font-size: 14px;
    }
}
.size {
    width: 200px;
    /* position: relative;
    bottom: 8rem; */
    /* height: 55px; */

}
.head h1 a {
  color: #fff;
}
.head nav a {
  color: #fff;
}
nav li {
  padding-right: 1rem;
}
@media screen and (min-width: 542px) {
  .mainimg_mobile {
    display: none;
  }}
 @media screen and (max-width: 541px) {
    .mainimg_pc {
      /* display: none; */
    }}
.mainimg_mobile {
  padding: 3rem 0;
  background-image: url(../img/top.png);
  background-size: cover;
  height: 33rem;
}
.mainimg_mobile h1 {
  color: #fff;
  font-size: 30px;
  font-weight: bold;
  margin-left: 1.5rem;
}
.mainimg_mobile h2 {
  color: #fff;
  font-size: 20px;
  font-weight: bold;
  margin-top: 6rem;
  margin-left: 1.5rem;
}
.mainimg_mobile h3 {
  color: #fff;
  font-size: 12px;
  margin-left: 1.5rem;
}
.catch p {
  font-size: 13px;
}
@media screen and (min-width: 768px) {
.catch h2 {
  font-size: 28px;
}
.catch p {
  font-size: 15px;
}}
.appeal h3 {
  text-align: left;
  font-weight: bold;
  font-size: 20px;
  line-height: 1.6;
  margin-bottom: 1.5rem;
}
.appeal p {
  text-align: left;
  font-size: 14px;
  padding-bottom: 1rem;
}
img {
  border-radius: 15px;
}
@media screen and (min-width: 1024px) {
  .appeal h3 {
    font-size: 30px;
    line-height: 1;
    margin-bottom: 1rem;
  }
  .appeal p {
    font-size: 22px;
  }}
  @media screen and (min-width: 768px) {
  img {
    width: 85%;
  }}
.space {
  margin-bottom: 3rem;
}
@media screen and (min-width: 768px) {
  .space {
    margin-bottom: 8rem;
  }}
.use {
  margin-top: 3rem;
}
@media screen and (min-width: 768px) {
  .use {
    margin-top: 5rem;
  }
  .central {
    padding: 0 7.1rem;
  }
  .trouble p {
    padding: 0 18px;
  }
  .button_space {
    float: left;
  }}
.outer p {
  font-size: 13px;
  text-align: left;
}
.trouble {
  margin-top: 3rem;
}
.trouble p {
  text-align: left;
  font-size: 14px;
}
.contact h4 {
  text-align: left;
  font-weight: bold;
}
.contact h3 {
  text-align: left;
  font-size: 22px;
  font-weight: bold;
}
.contact p {
  text-align: left;
  font-size: 14px;
}
.button_space {
  margin: 3.5rem 0;
}
@media screen and (max-width: 540px) {
.erase {
  display: none;
}}
.btn_width {
  width: 20rem;
  vertical-align: middle;
}
@media screen and (min-width: 1000px) {
	.sidepading{
		padding-left: 140px;
		padding-right: 140px;
	}
	.end {
	 border-radius: 30px;
	 width: 340px;
	 margin-top: 2.5rem;
	}
}
.end {
 border-radius: 30px;
 width: 210px;
 margin-top: 2.5rem;
}
.search {
  text-align: center;
}

.btn--blue, a.btn-blue {
    color: #fff;
    background-color: #42A5F5;
    border-radius: 10px;
}
.caid {
  margin: 50px auto 0;
  position: relative;
  width: 100px;
}


.caid::before {
  border-bottom: 4.5px solid red;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  content: "";
  position: absolute;
  right: 9px;
  top: 10px;
  width: 0;
}
.caid::after {
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4.5px solid red;
  content: "";
  position: absolute;
  right: 9px;
  top: 21px;
  width: 0;
}
.marjinbt{
	margin-top: 100px;
	margin-bottom: 100px;
}
.leftalin{
	text-align: left;
}
.bottompadding{
	padding-bottom: 150px;
}
.topfont{
	color: #fff;
	font-size: 45px;
	font-weight: bold;
	/* border-bottom: 6px double #000; */
	display :inline-block;
	padding: 10px;
}

.onetopfont{
	color: #fff;
	font-size: 30px;
	font-weight: bold;
	padding-top: 50px;
}
.blue{
	color:#1044a2;
}
.bouder{
	margin-top: 5px;
	border-bottom: 3px solid #1044a2;
}
.botp{
	display:inline-block;
  text-align:center;
  width:100%;
}

.botp a{
	font-size: 18px;
    margin: 8px;
    text-decoration: underline;
    color: gray;
		color: #000;
}

.reason .reason-list {
  padding-bottom: 64px;
  position: relative
}

.reason .reason-list>.background-image {
	background: linear-gradient(rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3)),url('../img/web.jpg');
  bottom: 0;
  height: 196px;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  width: 100%
}

.reason .reason-list .key-box {
  display: flex;
  position: relative
}

@media screen and (min-width:960px) {
  .reason .reason-list .key-box {
    flex-direction: row;
    justify-content: space-around
  }
}

@media screen and (max-width:calc(960px - 1px)) {
  .reason .reason-list .key-box {
    flex-direction: column;
    justify-content: space-between;
    padding: 0 16px;
    row-gap: 30px
  }
}

.reason .reason-list .reason-box {
  box-shadow: 0 14px 15px rgba(0, 0, 0, .3)
}

@media screen and (min-width:960px) {
  .reason .reason-list .reason-box {
    height: 434px;
    width: 300px
  }
}

@media screen and (max-width:calc(960px - 1px)) {
  .reason .reason-list .reason-box {
    height: 434px;
    margin: 0 auto;
    max-width: 400px;
  }
	.reason .reason-list .reason-box .reason-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 343px;
    height: 189px;
    background-image: linear-gradient(180deg, transparent 0 0, #000 100%);
}
}

.reason .reason-list .reason-box .reason-title {
  height: 182px;
  position: relative;
  width: 100%
}
.reason .reason-list .reason-box .reason-title::after {
	content: '';
	position: absolute;
	top: 0;
	left: 0;
	width: 300px;
	height: 200px;
	background-image: linear-gradient(180deg, transparent 0 0, #000 100%);
}

.reason .reason-list .reason-box .reason-title>.background-image {
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
  position: absolute;
  width: 100%;
}


.reason .reason-list .reason-box .reason-title>p {
  position: relative
}

@media screen and (max-width:calc(960px - 1px)) {
  .reason .reason-list .reason-box .reason-title {
    align-items: center;
    display: flex;
    justify-content: center
  }
.reason .reason-list .reason-box .reason-title::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: linear-gradient(180deg, transparent 0 0, #000 100%);
}
}

.reason .reason-list .reason-box .reason-title .name {
  background-color: #fff;
  color: #185ba4;
  display: inline-block;
  font-size: 38px;
  font-weight: 700;
  height: 62px;
  text-align: center;
  vertical-align: middle;
  width: 62px
}

@media screen and (min-width:960px) {
  .reason .reason-list .reason-box .reason-title .name {
    margin: 35px 0 0 35px
  }
}

.reason .reason-list .reason-box .reason-title .description {
  color: #fff;
  display: inline-block;
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-left: 16px;
  vertical-align: middle
}

.reason .reason-list .reason-box .reason-data {
  background-color: #fff;
  height: 270px;
  padding: 30px
}

.reason .reason-list .reason-box .reason-data .sub {
  color: #185ba4;
  font-size: 20px;
  font-weight: 700;
  line-height: 1
}

.reason .reason-list .reason-box .reason-data .title {
  color: #185ba4;
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  margin-top: 7px
}

.reason .reason-list .reason-box .reason-data .title .small {
  font-size: 28px;
  line-height: 1
}

.reason .reason-list .reason-box .reason-data .description {
  color: #2b374e;
  font-size: 15px;
  font-style: normal;
  font-weight: 400;
  line-height: 1.7;
  margin-top: 15px
}

.reason .text {
  margin: 0 auto
}

@media screen and (max-width:calc(960px - 1px)) {
  .reason .text {
    width: 90%
  }
}

.reason .text .title {
  font-size: 18px;
  font-weight: 700;
  line-height: 1.5;
  margin-top: 40px
}

@media screen and (max-width:calc(960px - 1px)) {
  .reason .text .title {
    font-size: 16px
  }
}

.reason .text .description {
  font-size: 16px;
  line-height: 1.7;
  margin-top: 24px
}

.reasonh2 {
    background-image: url('../img/bl.png');
    background-position: bottom;
    background-repeat: no-repeat;
    color: #185ba4;
    letter-spacing: 2px;
    line-height: 1.2;
    padding-bottom: 52px;
    text-align: center;
}

.pricecards{
  display: flex;
  display: -webkit-flex;
  flex-wrap: wrap;
  -webkit-flex-wrap: wrap;
  align-items: center;
  -webkit-align-items: center;
  justify-content: center;
  -webkit-justify-content: center;
	list-style: none;
    margin: 0;
    padding-left: 10%;
		padding-right: 10%;
}
.pricecard{
  flex: 0 0 33%;
  text-align: center;
  border: 1px solid #eee;
  padding-bottom: 1rem;
  box-sizing: border-box;
  margin:0 auto 3em;
        }
        .pricecard h3{
            background: #878787;
            color: #fff;
            padding: 10px;
            margin: 0;
        }
        .pricecard.premium{
            border: 3px solid #1044a2;
            padding-bottom: 3rem
        }
        .pricecard.premium h3{
            background: #1044a2c2;
            color: #fff;
            padding: 10px;
            margin: 0;
        }
        .pricecard h4{
            font-size: 300%;
            margin: 0 auto;
            padding: 1rem 0 0;
        }
        .pricecard.premium h4 {
            padding: 20px;
        }
        .pricecard p{
            margin: 0;
            padding: 1rem;
            text-align: left;
        }
        .pricecard a{
            padding: 10px 40px;
            background: #fb5859;
            color: #fff;
            text-decoration: none;
            border-radius: 3px;
            display: inline-block;
        }
@media screen and (max-width: 600px){
.profile_card, .pricecards, .profile_cards {
    flex-direction: column;
    -webkit-flex-direction: column;
}
  .pricecard, .card_photo {
    flex: 0 0 auto;
    -webkit-flex: 0 0 auto;
}
  .pricecard.premium {
    order: 1;
    -webkit-order: 1;
}
}
.mifontsize{
	font-size: 12px;
	color: #000;
	padding-top: 15px;
}
.bottomp{
	padding-bottom: 200px;
}
@media (min-width: 820px){
	.sponly{
		display: none;
	}
}
.navi{
	white-space: nowrap;
}
