@charset "UTF-8";
/*----------------------------------------
  clearfix
----------------------------------------*/

/*----------------------------------------
  トップページ専用
----------------------------------------*/
/*トップニュースエリア
-----------------------------*/
.p-topnews {
  display: flex;
  flex-direction: column;
  max-width: 904px;
  margin: 0 auto 15px;
}

.p-topnews__ttl {
  padding: 5px 15px;
  border-radius: 15px 15px 0 0;
  background: var(--proBlue_light1);
  color: var(--proBlue);
  font-weight: bold;
  font-size: 1.25em;
  text-transform: uppercase;
}

.p-topnews__body {
  padding: 10px 15px;
  border-radius: 0 0 15px 15px;
  background: #FFFFFF;
  color: #000000;
  text-align: left;
}

@media screen and (min-width: 769px),
print {
  .p-topnews {
    flex-direction: row;
    margin: 0 auto 40px;
  }

  .p-topnews__ttl {
    width: 132px;
    padding: 20px;
    border-radius: 20px 0 0 20px;
  }

  .p-topnews__body {
    flex-grow: 1;
    padding: 20px;
    border-radius: 0 20px 20px 0;
  }
}

/*ヒーローエリア
-----------------------------*/

.p-hero {
  background-color: #00AEEF;
  border-radius: 20px;
  padding: 40px;
  text-align: center;
  color: #fff;
  margin:40px auto 100px;
  position: relative;
}

.p-hero__ttl {
  font-size: 4rem;
  line-height: 1.5;
  margin-bottom: 24px;
}

.p-hero__sub-ttl {
  font-family: "Zen Maru Gothic", serif;
  font-size: 2.2rem;
}

.p-hero__chart {
  position: relative;
  margin-bottom: 40px;
}

.p-hero__chart .chart-img {
  width: 290px;
  margin: 0 auto;
}

.p-hero__chart .character-01 {
  width: 210px;
  position: absolute;
  bottom: 10px;
  left: 100px;
  z-index: 2;
}

.p-hero__chart .character-02 {
  width: 160px;
  position: absolute;
  bottom: 0;
  right: 80px;
}

.p-hero__txt {
  font-size: 24px;
  margin-bottom: 40px;
  line-height: 1.4;
}

.p-hero__notes {
  font-size: 1.2rem;
  color: #000;
}


body {
  /*position: fixed;*/
  }
  
  .relative {
  position: relative;
  }
  
  
  .p-hero__modal{
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.7);
    padding: 120px 48px 60px;
    z-index: 2;
  }
  
  .modal-in{
    position: relative;
  }
  
  .p-hero__modal .close-link{
    width: 80px;
    position: absolute;
    top: -40px;
    right: -40px;
  }
  
  @media (max-width: 768px) {
    .p-hero {
      padding: 24px 16px;
      margin:40px auto 60px;
    }
    
    .p-hero__ttl {
      font-size: 1.8em;
      line-height: 1.5;
      margin-bottom: 20px;
    }
    
    .p-hero__sub-ttl {
      font-size: 1.8rem;
    }
    
    .p-hero__chart {
      margin-bottom: 24px;
    }
    
    .p-hero__chart .chart-img {
      width: 70%;
      margin: 24px auto -48px;
    }
    
    .p-hero__chart .character-01,
    .p-hero__chart .character-02
     {
      width: 50%;
      position: static;
    }
    
    .p-hero__txt {
      font-size: 1.15em;
      margin-bottom: 24px;
    }
    
    .p-hero__notes {
      font-size: .65em;
    }
    .p-hero__modal{
      padding: 24px;
      z-index: 2;
    }
    
    .modal-in{
      position: relative;
    }
    .p-hero__modal .close-link{
      width: 40px;
      top: -20px;
      right: -20px;
    }
    .p-hero__modal .modal-in{
      position: absolute;
      left: 50%;
      transform: translate(-50%, 0%);
      width: 90%;
    }
  }


/*============================
sec01
============================*/

/*不動産のプロと相続のプロがトータル解決(sec01)
-----------------------------*/
.p-totalsupport {
  position: relative;
}

.p-totalsupport::before {
  position: absolute;
  left: 50%;
  top: 100px;
  top: 20vw;
  transform: translateX(-50%);
  content: "✕";
  font-size: 20px;
  font-size: 5.33vw;
  font-weight: bold;
}

.p-totalsupport__profile {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  max-width: 480px;
  margin: 0 auto;
}

.p-totalsupport__profile .item {
  display: flex;
  flex-direction: column-reverse;
  width: 45.2%;
}

.p-totalsupport__profile .name {
  color: var(--proBlue);
  font-size: 2rem;
  font-weight: bold;
}

.p-totalsupport__txt {
  margin-top: 40px;
  width: 600px;
  max-width: 100%;
  font-size: 1.6rem;
  margin: 40px auto;
  text-align: left;
}

@media screen and (min-width: 769px),
print {

  .p-totalsupport::before {
    top: 40px;
    font-size: 50px;
    font-weight: normal;
}
  .p-totalsupport__profile .name {
    font-size: 2rem;
  }

  .p-totalsupport__txt {
    color: var(--proBlue);
    font-weight: 600;
  }
}

/*不相続財産の約4割は公平に分けることが難しい不動産です。(sec01)
-----------------------------*/

.p-impartial {
  color: var(--proBlue);
  margin-bottom: 80px;
}

.p-impartial__img {
  width: 200px;
  margin-bottom: 40px;
}

.p-impartial__ttl {
  font-size: 2.4rem;
  text-align: left;
  line-height: 1.5;
  margin-bottom: 40px;
}

.p-impartial__sub-ttl {
  font-size: 2rem;
  margin-bottom: 24px;
}

.p-impartial__txt {
  text-align: left;
  margin-bottom: 24px;
}

.chart-img {
  width: 500px;
  margin-bottom: 40px;
}

.p-impartial__notes {
  text-align: left;
  width: max-content;
  margin: 0 auto;
  font-size: 1.2rem;
  color: #000;
}

.p-impartial__notes .item {
  position: relative;
  padding-left: 16px;
  font-size: 1.2rem;
}


.p-impartial__notes .item::before {
  content: '※';
  display: inline-block;
  position: absolute;
  top: 0;
  left: 0;
}

@media (max-width: 768px) {
  .p-impartial {
    margin-bottom: 60px;
  }
  .p-impartial__img {
    max-width: 200px;
    margin-bottom: 40px;
  }
  
  .p-impartial__ttl {
    font-size: 1.5em;
    margin-bottom: 24px;
  }
  
  .p-impartial__sub-ttl {
    font-size: 1.25em;
  }
  
  .chart-img {
    width: 500px;
    margin-bottom: 40px;
  }
  
  .p-impartial__notes {
    text-align: left;
    width: 100%;
  }
  
  .p-impartial__notes .item {
    font-size: 1rem;
  }
}

/*早めのチェックでスムーズな相続の対応を！
-----------------------------*/

.p-check{
  margin-bottom: 60px;
}
.p-check .c-ttl_2 {
  margin-bottom: 40px;
}

.p-check__box {
  display: flex;
  justify-content: space-between;
}

.p-check__item {
  width: 400px;
  display: flex;
  flex-direction: column;
}

.p-check__item .ttl {
  color: #fff;
  border-radius: 50px;
  font-size: 2.4rem;
  padding: 8px;
  margin-bottom: 24px;
}

.p-check__item .item {
  border: 6px solid;
  border-radius: 20px;
  padding: 20px 24px;
  display: grid;
  grid-template-columns: 1fr 130px;
  text-align: left;
  align-items: center;
  line-height: 1.4;
  flex-grow: 1;
  transition: .3s;
  position: relative;
}

.p-check__item .item:hover {
  opacity: .6;
}

.p-check__item .item .link{
  position: absolute;
  inset: 0;
  display: block;
  width: 100%;
  height: 100%;
}

.p-check__item .item .sub-ttl {
  font-size: 2.4rem;
}

.p-check__item .item:not(:last-of-type) {
  margin-bottom: 24px;
}

.p-check__item.item-01 {
  color: #48A63F;
}

.p-check__item.item-01 .ttl {
  background-color: #48A63F;
}

.p-check__item.item-01 .item {
  border-color: #48A63F;
}

.p-check__item.item-02 {
  color: #0062B2;
}

.p-check__item.item-02 .ttl {
  background-color: #0062B2;
}

.p-check__item.item-02 .item {
  border-color: #0062B2;
}


@media (max-width: 768px) {

  .p-check{
    margin-bottom: 60px;
  }
  .p-check .c-ttl_2 {
    margin-bottom: 40px;
  }
  
  .p-check__box {
    display: flex;
    flex-direction: column;
  }
  
  .p-check__item {
    width: 100%;
    display: flex;
    flex-direction: column;
  }
  
  .p-check__item .ttl {
    font-size: 1.5em;
  }
  
  .p-check__item .item {
    border: 4px solid;
    padding: 8px 24px;
  }
  
  .p-check__item .item .sub-ttl {
    font-size: 1.2em;
  }
  
  .p-check__item .item:not(:last-of-type) {
    margin-bottom: 16px;
  }
  
  .p-check__item.item-01 {
    margin-bottom: 40px;
  }
  }


/*チャットで質問　位置調整（トップのみ元の位置）*/
@media screen and (min-width: 769px) {
  #sp_chat_tab .oksky-chat-container--minimized {
    bottom: 110px;
  }
}