@charset "utf-8";

/* *****共通設定***** */

main{
    display: block;
    background-color: #fbfbf2;
}
main .btn{
    padding-left: 2.5rem;
    padding-right: 2.5rem;
    font-size: 1.5rem;
}
h1 { font-size: 3rem; }
h2, h3{
   color: #222;
}
.gray {
    color: #6c757d;
}
.card{
    border-color: #e0c7b2;
}
.img-thumbnail {
    width: 100%;
    padding: .25rem;
    background-color: transparent;
    border: none;
}

/* ヘッダー(navbar) */
.navbar{
    border-bottom: 1px solid #aaaaaa;
    background-color: #fff;
}
.navbar .navbar-collapse{
    flex-grow: 0;
}
.navbar .navbar-brand{
    height: 50px;
}
.navbar .navbar-brand img{
    height: 100%;
}
.navbar .navbar-nav .active > .nav-link{
    color: #ffce11;
}
.navbar .navbar-nav .nav-link:hover,
.navbar-dark .navbar-nav .nav-link:focus {
    color: rgba(0,0,0,1);
}

.navbar-dark .navbar-nav .nav-link {
  position: relative;
}
.navbar-dark .navbar-nav .nav-link::after {
  position: absolute;
  bottom: -4px;
  left: 0;
  content: '';
  width: 100%;
  height: 2px;
  background: #49C9D4;
  transform: scale(0, 1);
  transform-origin: center top;
  transition: transform .3s;
}
.navbar-dark .navbar-nav .nav-link:hover::after {
transform: scale(1, 1);
}

/* フッター */
#footer{
    background-color: #222;
}
#footer .container{
    color: #e0c7b2;
}
#footer .footer-ttl{
    font-size: 1rem;
    font-weight: bold;
    margin: 1.5rem 0;
    color: #ffce11;
}
#footer address p,
#footer #footer-news li{
    margin-bottom: 0.5rem;
}
#footer #footer-news ul{
    margin: 0;
    padding: 0
}
#footer #footer-news ul{
    list-style: none;
}
#footer #footer-news li span{
    display: inline-block;
    margin-right: 0.5rem;
}
#footer #copyright{
    border-top: 1px solid #774831;
    background-color: #222;
    color: #e0c7b2;
}
#footer img {
	width: 360px;
}

/* *****トップページ***** */
/* メイン画像 */
h1{
    font-weight: bold !important;
    color: #222;
}
#page-top h1 + span {
    font-size: 3rem;
    font-weight: bold;
    color: #222;
    -webkit-text-stroke: 4px #fff;
    text-stroke: 4px #fff;
    paint-order: stroke;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}
#page-top .jumbotron-fluid{
    position : relative;
    top: 67px;
    left: 0px;
}
#page-top .jumbotron-fluid .main-message{
    position: absolute;
    margin-top: 50vh;
    margin-left: 20vh;
    z-index: 9990;
    -webkit-text-stroke: 2px #fff;
    text-stroke: 2px #fff;
    paint-order: stroke;
}
#page-top .jumbotron-fluid .sub-message{
    position: absolute;
    margin-top: 5vh;
    margin-left: 10vh;
    z-index: 9990;
}
#page-top .jumbotron-fluid .sub-message h1{
    font-weight: bold!important;
    color: #333!important;
}

/* 各セクション */
#page-top section{
    border-bottom: 1px solid #e0c7b2;
    background-color: #fbfbf2;
	padding-top:60px;
	padding-bottom:60px;
}
#page-top section:nth-child(odd){
    background-color: #f6f1e8;
}
#page-top section .container > h2{
    margin-bottom: 30px;
    font-size: 2.5rem;
}
#page-top section .container > h2 + p{
    max-width: 900px;
	margin: 0 auto 50px;
}
#sec1 {
	padding-top:120px!important;
}
#sec1 h3{
    font-size: 1.4rem;
}

#sec2 {
    line-height: 180%;
}
#sec2 .row{
    min-height: 160px;
    color: #222;
}
#sec3 {
    text-align: center;
}
#sec4 {
    text-align: center;
}
#sec4 .card-body .clearfix p,
#sec4 .card-body .clearfix h3{
    margin-left: 115px;
    line-height: 130%;
}
#sec4 .card-body .card-title{
    margin-bottom: 5px;
    color: #222;
}
#sec4 .card-body .card-subtitle{
    font-size: 0.5rem;
    margin-bottom: 5px;
    color: #222;
}
#sec4 .card-text{
    font-size: 14px;
    margin-bottom: 5px;
    color: #222;
}
@media screen and (max-width:767px) {
  #sec4 .card-text{
    height: 100px;
  }
}
#sec4 img {
    width: 100%;
}

#sec5 article > .row {
    border: 1px solid #dddddd;
}
#sec5 > div:nth-child(1) img {
    width: 100%;
}
/*#sec4 > div:nth-child(2){
    margin-left: 220px;
}*/
#sec5 h3{
    margin-bottom: 0.1rem;
}
#sec5 article > div div header {
	padding: 10px;
}

/* *****下層ページ***** */

#breadcrumb-wrapper{
    border-bottom: 1px solid #a29080;
}
#breadcrumb-wrapper,
.breadcrumb{
    font-size: 0.9rem;
    background-color: #563322;
}
.breadcrumb a{
    color: rgba(255,255,255,.5);
}
.breadcrumb a:hover,
.breadcrumb a:focus{
    color: rgba(255,255,255,1);
}
.breadcrumb-item+.breadcrumb-item::before{
    content: ">";
    padding-right: 1rem;
    color: rgba(255,255,255,.5);
}
.breadcrumb-item.active{
    color: #ffffff;
}
h1.page-ttl {
    font-size:2rem; 
}
#page h1 + span {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
    display: block;
}

#page article {
    padding: 5rem 0;
}

#page section {
    padding-bottom: 5rem;
}
#page section:last-child {
    padding-bottom: 0rem;
}

#page h1 + small {
    font-size: 1.5rem;
    color: #ffffff;
    line-height: 110%;
    margin-top: 0.2rem;
}
#page .jumbotron{
    background-color: #f1efff;
    border-bottom: #dddddd;
    background-size:cover;
    border-radius: initial;
}
#page .jumbotron .container{
    padding: 0;
}
#page .jumbotron .container p{
    margin-bottom: 0;
}
#page h2 + p{
    margin: 0 0 1.2rem;
}
#page main img{
    max-width: 100%;
}
#page .sample-title{
    display: flex;
    align-items: center;
    text-align: center;	
}

#page .sample-title::after {
    border-top: 3px dotted;
    content: "";
    display: inline; /* for IE */
    flex-grow: 1;
    margin-left: 0.5em;
}
#page .sample-title span{
    background-color: #222;
}
#page .sample-subtitle{
    font-size: 1.5rem;
    font-weight: bold;
    color: #222;
}

/* *****フォーム***** */

.form1 label{
    font-weight: bold;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}
.form1 input,
.form1 textarea,
.form1 select{
    max-width: 768px;
}
.form1 .form-group{
    margin-bottom: 2rem;
}

@keyframes bgcnca{
    0%{transform:rotate(0deg);}
    100%{transform:rotate(360deg);}
}

/* base */
li {
  list-style: none;
}
.fadeBox {
  height: 500px;
}
.itemBox {
  width: 300px;
  height: 70px;
  background-color: #999;
  margin: 50px auto;
  border-radius: 10px;
  text-align: center;
  line-height: 70px;
}


/* 下からふわっと現れる */
.fadeUp {
  -webkit-animation-name: fadeUpAnime;
          animation-name: fadeUpAnime;    /*アニメーションの名前*/
  -webkit-animation-duration: 1s;
          animation-duration: 1s;         /*アニメーションの実行時間*/
  -webkit-animation-fill-mode: forwards;
          animation-fill-mode: forwards;  /*アニメーション後、要素が表示されたままにする*/
}
@-webkit-keyframes fadeUpAnime {
  0% {
    opacity: 0;                   /*非表示*/
    -webkit-transform: translateY(100px);
            transform: translateY(100px); /*縦方向に100pxずらす*/
  }
  100% {
    opacity: 1;                   /*表示*/
    -webkit-transform: translateY(0);
            transform: translateY(0);     /*元の位置*/
  }
}
@keyframes fadeUpAnime {
  0% {
    opacity: 0;                   /*非表示*/
    -webkit-transform: translateY(100px);
            transform: translateY(100px); /*縦方向に100pxずらす*/
  }
  100% {
    opacity: 1;                   /*表示*/
    -webkit-transform: translateY(0);
            transform: translateY(0);     /*元の位置*/
  }
}
.fadeUpTrigger {
  opacity: 0;                     /*非表示*/
}

.btn {
    font-size: 1.0rem!important;
    border-radius: calc(infinity * 1px);
    border: 1px solid #aaa!important;
    background: #222;
    color: #FFF;
}
.btn:before {
  content: '';
  width: 18px;
  height: 18px;
  background: #333;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 13px;
  bottom: 0;
  margin: auto;
}
.btn:after {
  content: '';
  width: 6px;
  height: 6px;
  border: 0;
  border-top: solid 2px #fff;
  border-right: solid 2px #fff;
  transform: rotate(45deg);
  position: absolute;
  top: 0;
  right: 20px;
  bottom: 0;
  margin: auto;
}
.btn:hover {
  filter: brightness(0.8);
}

.slider__image {
  width: 400px;
  filter: brightness(0.8);
}

.swiper{
  margin-bottom: 50px;
}
.swiper-slide{
  font-size: 24px;
}

.swiper-slide:nth-child(2n+1){
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev,
.swiper-button-next {
  height: 50px;
  width: 50px;
}
/* 前へ次への矢印カスタマイズ */
.swiper-button-prev::after,
.swiper-button-next::after {
  background-repeat: no-repeat;
  background-size: contain;
  content: "";
  height: 50px;
  margin: auto;
  width: 50px;
}
/* 前への矢印カスタマイズ */
.swiper-button-prev::after {
  background-image: url('../img/swiper_pre.png');
}
/* 次への矢印カスタマイズ */
.swiper-button-next::after {
  background-image: url('../img/swiper_next.png');
}
.btn_casual {
  width: 260px;
  display: inline-block;
  background: linear-gradient(to right, #e8a31a 0%, #e8811a 45%, #e85a19 100%);
  background-size: 200% auto;
  color: #fff;
  border-radius: 20px;
  padding: 10px 20px;
  text-decoration: none;
  font-size: 1.5em;
  transition: .5s;
}
.btn_casual:hover {
  color: #fff;
  background-position: right center;
  text-decoration: none;
}

.btn_annualincome {
  position: fixed;
  bottom: 5%;
  right: 2%;
  width: 260px;
  display: inline-block;
  background: linear-gradient(to right, #e85e1a 0%, #e8811a 45%, #e81a1a 100%);
  background-size: 200% auto;  
  color: #fff;
  border-radius: 20px;
  padding: 2px 20px 10px 20px;
  text-decoration: none;
  font-size: 1.5em;
  transition: .5s;
  z-index: 9999;"
}
.btn_annualincome:hover {
  color: #fff;
  background-position: right center;
  text-decoration: none;
  cursor: pointer;
}
.btn_annualincome span {
  font-size: 0.5em;
}

.menu_fix {
  position: fixed!important;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 9999;"
}

.trapezoid {
    width: 100%;
    clip-path: polygon(50% 0%,100% 0%,100% 100%, 70% 100%) 
    /* clip-path: polygon(頂点Aの座標,頂点Bの座標,頂点Cの座標,頂点Dの座標) */
}


.bullet-frame {
  position: relative;
  width: 45%;
  margin: 1em auto;
  padding: 1em 1em 1em 3.5em;
  border: 1px solid #e9781c;
  font-size: 1.5rem;
  border-radius: 3px;
  color: #333;
  font-weight: bold;
  background: #fff;
}

.bullet-frame::before {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  font-size: 1.5rem;
  top: 1em;
  left: 1em;
  width: 2em;
  height: 2em;
  border-radius: 50%;
  background-color: #e9781c;
  color: #fff;
  font-weight: bold;
  content: attr(data-number);
}

@media screen and (max-width:991.98px) {
  .bullet-frame {
    width: 90%;
    font-size: 1.2rem;
  }

  .bullet-frame::before {
    font-size: 1.2rem;
  }
}

.merit-no {
  background-color: #e9781c;
  color: #fff;
  padding: 5px 10px 5px 10px;
  font-weight: bold;
  font-size: 1.5rem;
}

.question-title {
  font-size: 1.4em;
  font-weight: bold;
  padding-left: 15px;
}
.question-text {
  margin-left: 1.5rem !important;
  height: 100%;
  padding-top: 7px;
  font-size: 1.1em;
}
.answer-title {
  font-size: 1.4em;
  font-weight: bold;
  padding-left: 15px;
}
.answer-text {
  font-weight: 500;
  margin-left: 1.5rem !important;
  font-size: 1.1em;
  padding-top: 7px;
}
.qa-toggle {
  display: none;
}
.qa-title {
  padding-top: 0.5em;
  padding-bottom: 0.5em;
  padding-left: 1em;
  padding-right: 2em;
  display: block;
  cursor: pointer;
}
.qa-title:first-of-type {
  border-top: 1px solid #999;
}
.qa-title::before{
  content:"";
  width: 10px;
  height: 10px;
  border-top: 2px solid #999;
  border-right: 2px solid #999;
  -webkit-transform: rotate(45deg);
  position: absolute;
  top:calc( 50% - 10px );
  right: 20px;
  transform: rotate(135deg);
}
.qa-title,
.qa-content {
  color: #555;
  display: flex;
  text-align: left;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  transform: translateZ(0);
  transition: all 0.3s;
}
.qa-content {
  height: 0;
  padding:0 20px;
  overflow: hidden;
  border-bottom: 1px solid #999;
}
.qa-toggle:checked + .qa-title + .qa-content {
  height: auto;
  padding-left:20px;
  padding-right:20px;
  padding-bottom:10px;
  transition: all .3s;
}
.qa-toggle:checked + .qa-title::before {
  transform: rotate(-45deg) !important;
}

.anchor-link:hover {
  text-decoration: none;
}
.anchor-link:hover .anchor-link-text {
  color: #e8811a;
}


.sp_block{
  display: none;
}
.pc_block{
  display: block;
}

@media screen and (max-width:767px) {
  .sp_block{
    display: block;
  }
  .pc_block{
    display: none;
  }
}

.sp_br{
  display: none;
}
.pc_br{
  display: block;
}

@media screen and (max-width:767px) {
  .sp_br{
    display: block;
  }
  .pc_br{
    display: none;
  }
}
