@font-face {
  font-family: "Noto Sans JP Black";
  src: url("font/NotoSansJP-Black.otf") format("opentype");
}
@font-face {
  font-family: "Noto Sans JP Bold";
  src: url("font/NotoSansJP-Bold.otf") format("opentype");
}

/*テキスト*/
.switch .yellow {
  font-size: 19px;
  text-decoration: none;
  font-weight: bold;
}
.dots {
  background-image: radial-gradient(
    circle at center,
    #000 20%,
    transparent 20%
  );
  background-position: top right;
  background-repeat: repeat-x;
  background-size: 1em 0.3em;
  padding-top: 0.4em;
}

/*FV部分調整*/
header#fv {
  width: 100%;
  background: url(img/index/contents_20250821/Ys0AgGCw.png) no-repeat 50% 0;
  aspect-ratio: 7 / 4;
  margin-top: 0px;
  position: relative;
}
header#fv .btn {
  top: 725px;
  position: relative;
}
header#fv #inner .btn ul li.price {
  font-family: "Noto Sans JP Black", sans-serif;
  font-size: 8.9rem;
  letter-spacing: -8px;
  line-height: 9rem;
  color: #b0272d;
  text-indent: -2px;
}
#inner .btn small {
  display: block;
  text-align: center;
  position: absolute;
  left: 0;
  right: 0;
  bottom: -90px;
  font-size: 16px;
}

header#fv #inner .text > p {
  max-width: 40vw;
  font-size: 1vw;
  margin: -11% 0 auto auto;
  padding: 1.5% 0 0 0;
  line-height: 1.25;
}

/*FV部分調整 レスポンシブ位置調整*/
@media screen and (min-width: 1601px) {
  header#fv {
    background-size: auto 100%;
    height: 976px;
    max-height: 976px;
    aspect-ratio: 7 / 4;
  }
  header#fv .btn {
    top: 790px;
  }
  header#fv #inner .btn ul li.price {
    font-size: 8.7rem;
    line-height: 8.7rem;
  }
  #inner .btn small {
    bottom: -90px;
  }
}
@media screen and (max-width: 1600px) {
  header#fv {
    background-size: 100% auto;
    height: auto;
    aspect-ratio: 7 / 4.25;
  }
  header#fv .btn {
    top: calc(49.5vw);
  }
  header#fv #inner .btn ul li.price {
    font-size: calc(8.8vw);
    line-height: calc(8.8vw);
    letter-spacing: -8px;
  }
  #inner .btn small {
    bottom: calc(-5vw);
  }
}
@media screen and (max-width: 1000px) {
  header#fv .btn {
    top: 495px;
  }
  header#fv #inner .btn ul li.price {
    font-size: 5.25rem;
    letter-spacing: -4px;
    line-height: 5.25rem;
  }
  #inner .btn small {
    bottom: -55px;
  }
}
@media screen and (max-width: 768px) {
  header#fv {
    height: auto;
    background: none;
  }
  header#fv .btn {
    top: calc(-71vw);
  }
  header#fv #inner .btn ul li.price {
    font-size: calc(17vw);
    letter-spacing: -4px;
    line-height: calc(17vw);
  }
  #inner .btn small {
    bottom: calc(-74vw);
  }
  header#fv #inner .text > p {
    max-width: 100vw;
    font-size: 2.15vw;
    margin: auto;
    padding: 10.5% 0 0 0;
    position: absolute;
    top: 2vw;
    left: 0;
    right: 0;
    line-height: 1.5;
  }
}
#opening {
  background: url(img/index/my4578_2-1.png) no-repeat;
  background-size: cover;
  background-position: center;
}
@media screen and (max-width: 820px) {
  #opening {
    width: 100%;
  }
}
/*オトクな活用方法*/
#katuyou h2 {
  width: 100%;
}
/*来店予約をする 共通*/
#cta_mini .inner,
#cta_mini2 .inner {
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 0;
}
#cta_mini ul li:nth-child(1),
#cta_mini ul li:nth-child(1) img,
#cta_mini2 ul li:nth-child(1),
#cta_mini2 ul li:nth-child(1) img {
  width: 100%;
  max-width: 1000px;
  left: 0;
  right: 0;
  bottom: 0;
  margin-left: auto;
  margin-right: auto;
}
#cta_mini a,
#cta_mini2 a {
  display: block;
  max-width: 400px;
  background: #b88823;
  color: #fff;
  text-align: center;
  margin: 30px auto 0 auto;
  padding: 30px 20px;
  font-size: 25px;
  box-shadow: 0 5px 0 0 rgba(150, 120, 30, 1);
  border-radius: 30px;
}
/*来店予約をする バナー1*/
#cta_mini {
  background: url(img/index/my4575_8-2.png) repeat-x;
  background-position: top center;
}
#cta_mini ul li:nth-child(2) {
  width: 100%;
  max-width: 1000px;
  max-height: calc(540px - 10px);
  margin-left: auto;
  margin-right: auto;
  left: 0;
  overflow: hidden;
}

#cta_mini ul li:nth-child(2) p {
  width: 70%;
  margin: 0 auto;
  text-align: center;
  position: absolute;
  top: 50.5%;
  font-size: 1.6rem;
  color: #fff;
}

#cta_mini ul li:nth-child(2) p span {
  font-size: 2.1rem;
  font-weight: bold;
  color: #b88823;
}

@media screen and (max-width: 768px) {
  #cta_mini ul li:nth-child(2) {
    width: 100%;
    max-width: 1000px;
    max-height: 100%;
    margin-left: auto;
    margin-right: auto;
    left: 0;
    overflow: visible;
  }

  #cta_mini ul li:nth-child(2) p {
    width: 100%;
    top: 42.5%;
    font-size: 2.4rem;
    color: #fff;
  }

  #cta_mini ul li:nth-child(2) p span {
    font-size: 2.8rem;
    font-weight: bold;
    color: #b88823;
  }
}
#cta_mini ul li:nth-child(2) img {
  margin-top: -60px;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  #cta_mini ul li:nth-child(2) img {
    width: 100%;
    max-width: 1000px;
    margin-left: 15%;
    margin-top: 0;
    margin-bottom: 120px;
  }
}
@media screen and (max-width: 414px) {
  #cta_mini ul li:nth-child(2) img {
    width: calc(100% * 1.5);
    max-width: calc(1000px * 1.5);
    margin-left: -5px;
    margin-top: 0;
    margin-bottom: 120px;
  }
}
#cta_mini ul li:nth-child(3) {
  position: absolute;
  width: 70%;
  left: 0;
  right: 0;
  bottom: 30px;
  margin-left: 0;
  margin-right: auto;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  #cta_mini ul li:nth-child(3) {
    display: block;
    margin-left: auto;
  }
}
/*来店予約をする バナー2*/
section#cta_mini2 {
  height: auto;
  background: url(img/index/my4576_4-2_bg.png) repeat-x;
  background-size: 100% calc(100% + 15px);
  background-position: bottom center;
  margin-left: auto;
  margin-right: auto;
}
#cta_mini2 {
  background: #fff;
}
.cta_mini2_title {
  position: relative;
  z-index: 10;
}
#cta_mini2 ul li:nth-child(2) {
  width: 100%;
  max-width: 1000px;
  max-height: calc(540px - 10px);
  margin-left: auto;
  margin-right: auto;
  left: 0;
  overflow: hidden;
}
#cta_mini2 ul li:nth-child(2) img {
  margin-top: -60px;
  margin-bottom: 40px;
}
@media screen and (max-width: 768px) {
  #cta_mini2 ul li:nth-child(2) img {
    width: calc(100% * 1.25);
    max-width: 1000px;
    margin-right: -27.5%;
    margin-top: -20px;
    margin-bottom: 80px;
  }
}
@media screen and (max-width: 414px) {
  #cta_mini2 ul li:nth-child(2) img {
    width: calc(100% * 1.75);
    max-width: calc(1000px * 1.75);
    margin-left: -54px;
    margin-top: 0;
    margin-bottom: 120px;
  }
}
#cta_mini2 ul li:nth-child(3) {
  position: absolute;
  width: 70%;
  left: 0;
  right: 0;
  bottom: 60px;
  margin-left: 0;
  margin-right: auto;
  z-index: 10;
}
@media screen and (max-width: 768px) {
  #cta_mini2 ul li:nth-child(3) {
    display: block;
    margin-left: auto;
  }
}
#cta_mini2 {
  border: none;
}
/*相談内容アコーディオン*/
.accordion-toggle {
  position: absolute;
  cursor: pointer;
  background: #fff;
  border: 2px solid;
  padding: 1px 10px;
  top: 40px;
  right: 0;
  border-radius: 30px;
  width: 50px;
  height: 50px;
  z-index: 999;
}
.accordion-content {
  width: calc(600px / 1.4);
  display: none;
  padding: 10px;
}
.accordion-toggle:before {
  content: url(img/index/Plus.svg);
  transform: scale(0.1);
  display: inline-block;
  position: relative;
  margin-top: -121px;
  margin-left: -129px;
}
.accordion-toggle.active:before {
  content: url(img/index/Minus.svg);
  transform: scale(0.1);
  display: inline-block;
  position: relative;
  margin-top: 0px;
  margin-left: -129px;
}
.adn {
  width: calc(600px / 2);
}
.balloon {
  padding-top: 10px;
}
.balloon-text-left {
  max-width: calc(100% - 120px);
  float: left;
}
.balloon-text-right {
  max-width: calc(100% - 170px);
  margin-right: 10px;
}
.balloon figure img {
  border: none;
}
.line_box_row {
  max-width: 100%;
  display: grid;
  grid-template-columns: 50% 50%;
}
@media screen and (max-width: 768px) {
  .line_box_row .item:first-child {
    margin-bottom: 15px;
  }
  .cta__btn a {
    max-width: 100%;
  }
}
.line_box_row.mb {
  margin-bottom: 30px;
}
#case .line_box {
  width: calc(100% - 15px);
  padding: 50px 30px;
  overflow: hidden;
}
@media screen and (max-width: 768px) {
  #case .line_box {
    width: 100%;
    padding: 30px 15px;
  }
  .line_box_row {
    display: grid;
    grid-template-columns: 100%;
  }
  .adn {
    width: 100%;
  }
  .balloon-text-left {
    max-width: calc(100% - 70px);
    float: left;
  }
  .balloon-text-right {
    max-width: 100%;
    width: calc(100% - 130px);
    margin-right: 0px;
  }
  .accordion-toggle {
    top: 20px;
    right: 0;
  }
  .accordion-content {
    max-width: 100%;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 0;
  }
  .balloon figure {
    width: 60px;
    height: auto;
    min-height: 50px;
  }
}
/*住宅ローンの種類タブ*/
#product ul {
  width: 100%;
  margin: 0 auto;
}
#product ul li {
  border-radius: 16px;
}
/*「ご相談」から「お借り入れ」までの流れ 吹き出し*/
#flow .p-flow__notice {
  border-radius: 300px;
  border: solid 2px #0e2942;
  background: none;
  margin-top: 0;
  margin-bottom: 60px;
  position: relative;
}
@media screen and (max-width: 768px) {
  #flow .p-flow__notice {
    border-radius: 90px;
    border: solid 2px #0e2942;
    background: none;
    margin-top: 0;
    margin-bottom: 40px;
    position: relative;
  }
}
#flow .p-flow__notice::after {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
  border-top: 26px solid #0e2942;
  border-right: 26px solid transparent;
  border-bottom: 26px solid transparent;
  border-left: 26px solid transparent;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  left: 0;
  right: 0;
  bottom: -53px;
}
#flow .p-flow__notice::before {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
  border-top: 26px solid #f2fbff;
  border-right: 26px solid transparent;
  border-bottom: 26px solid transparent;
  border-left: 26px solid transparent;
  position: absolute;
  margin-left: auto;
  margin-right: auto;
  z-index: 10;
  bottom: -50px;
  left: 0;
  right: 0;
}
#flow .p-flow__noticePara {
  font-size: 2rem;
}
#flow .p-flow__noticeItems {
  display: flex;
  max-width: calc(100% - 12%);
  justify-content: center;
  color: #0e2942;
}
@media screen and (max-width: 768px) {
  #flow .p-flow__noticeItems {
    display: flex;
    max-width: calc(100% - 3%);
    justify-content: center;
    color: #0e2942;
  }
}
#flow .p-flow__noticeItems > li {
  width: calc(50% - 16px);
}
#flow .p-flow__noticeItems > li:first-child {
  padding-right: 15px;
  padding-left: 15px;
}
#flow .p-flow__noticeItems > li:last-child {
  content: "";
  height: 100%;
  border-left: dotted 2px #0e2942;
  padding-left: 15px;
  padding-left: 15px;
}
#flow .p-flow__noticeItems__check > li {
  font-size: 15px;
  padding-top: 16px;
  position: relative;
}
@media screen and (max-width: 768px) {
  #flow .p-flow__noticeItems__check > li {
    font-size: 9px;
    padding-top: 12px;
    position: relative;
  }
}
#flow .p-flow__noticeItems__check > li img {
  display: inline-block;
  width: 24px;
}
@media screen and (max-width: 768px) {
  #flow .p-flow__noticeItems__check > li img {
    display: inline-block;
    width: 16px;
  }
}
#flow .noticeItems__title {
  display: block;
  width: 100%;
  height: 30px;
  text-align: center;
  color: #fff;
  font-size: 18px;
  background-color: #0e2942;
  border-radius: 15px;
}
@media screen and (max-width: 768px) {
  #flow .noticeItems__title {
    display: block;
    width: 100%;
    height: 28px;
    text-align: center;
    color: #fff;
    font-size: 13px;
    background-color: #0e2942;
    border-radius: 14px;
    padding-top: 4px;
  }
}
#flow .p-flow__notice .p-flow__noticePara {
  color: #0e2942;
}
#flow .p-flow__notice_container > .p-flow__noticePara {
  color: #0e2942;
  text-align: center;
}
#flow .p-flow__notice_container > small {
  display: block;
  color: #0e2942;
  text-align: center;
}
.line_box {
  padding-bottom: 30px;
}
/*「ご相談」から「お借入」までの流れ*/
.p-flow__row {
  width: 100%;
  max-width: 1000px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  column-gap: 20px;
  row-gap: 40px;
  box-sizing: border-box;
  padding-top: 30px;
  margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
  .p-flow__row {
    grid-template-columns: 1fr;
  }
}
.p-flow__row_item {
  background: #fff;
  padding: 10px 20px;
  box-shadow: 0 0 12px rgba(0, 0, 0, 0.16);
  border-radius: 12px;
}
article#index .p-flow__row_item p {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}
article#index .p-flow__row_item h3 {
  text-align: center;
  font-size: 28px;
  padding: 30px 0;
}
@media screen and (max-width: 768px) {
  /* article#index .p-flow__row_item img {
    max-width: 100%;
    width: 100%;
  } */
}

.red-frame {
  border: solid 2px #f00;
  padding: 1.2%;
  line-height: 1.5;
  margin: 1.2% 0;
}

/*251010 追加*/
header#fv {
  background: url(img/index/my6185_PC.png) no-repeat center center;
  background-size: auto 100%;
}
header#fv #inner {
  width: 100%;
}
header#fv .btn {
  position: absolute !important;
}

article#index .top_p {
  width: 800px;
  margin: auto;
  padding: 1em 0;
}
article#index .top_p p {
  font-size: 12px;
}
article#index .top_p p .red {
  color: #f00;
  font-weight: bold;
}

#profit {
  margin: 50px auto 0;
}
#profit .profit-title {
  width: 600px;
  margin: 0 auto;
  color: white;
  font-size: 30px;
  font-weight: bold;
  background: linear-gradient(to right, #0174c0, #012f72);
  text-align: center;
  padding: 15px 0;
}
#profit .tab-container {
  margin: 40px auto;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  border-radius: 20px;
}

#profit .tab-buttons {
  display: flex;
  justify-content: center;
  margin-bottom: 10px;
  width: 100%;
}

#profit .tab-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  transition: opacity 0.3s ease;
}

#profit .tab-content {
  position: relative;
}

#profit .tab-panel {
  display: none;
}

#profit .tab-panel.active {
  display: block;
}
#profit .tab-panel .profit_number_title img {
  width: 50%;
}
#profit .tab-panel .profit_number li {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 10px;
}
#profit .tab-panel .profit_number li img {
  width: 35%;
}
#profit .tab-panel .profit_number li .profit_number_box {
  width: 55%;
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
#profit
  .tab-panel
  .profit_number
  li
  .profit_number_box
  .profit_number_box_list {
  width: 48%;
  font-weight: bold;
  text-align: center;
  border: 3px solid #ffd900;
  border-radius: 10px;
  padding: 10px;
  line-height: 1.3;
}
#profit
  .tab-panel
  .profit_number
  li
  .profit_number_box
  .profit_number_box_number {
  font-size: 24px;
}
#profit
  .tab-panel
  .profit_number
  li
  .profit_number_box
  .profit_number_box_number
  span {
  font-size: 50px;
  margin: 0 0.1em;
}
#profit
  .tab-panel
  .profit_number
  li
  .profit_number_box
  .profit_number_box_term {
  font-size: 15px;
}
#profit .tab-panel .text {
  font-size: 18px;
  text-align: center;
}
#profit .tab-panel .note {
  font-size: 12px;
  color: #666;
  padding: 40px;
}

#merit {
  margin-bottom: 60px;
}
#merit .merit-title {
  margin-bottom: 40px;
  background: #3fa3ee;
  color: white;
  font-size: 26px;
  font-weight: bold;
  text-align: center;
  padding: 25px 0 20px 0;
  border-radius: 20px 20px 0 0;
  letter-spacing: 0.1em;
}
#merit .merit-list {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}

#merit .merit-list li {
  width: 28%;
}

#merit .merit-list li img {
  width: 75%;
}
#merit .merit-list-title {
  font-size: 22px;
  font-weight: bold;
  text-align: center;
  margin-bottom: 15px;
  line-height: 1.5;
  margin-top: 25px;
}
#merit .merit-list-title .blue {
  color: #3fa3ee;
}
#merit .merit-list-title .small {
  vertical-align: top;
  font-size: 18px;
}

#merit .merit-list-text {
  font-size: 17px;
}
#merit .merit-list-note {
  font-size: 14px;
  margin-top: 10px;
}
@media screen and (max-width: 1000px) {
  header#fv .btn {
    top: 475px;
  }
  #inner .btn small {
    bottom: -70px;
  }
}
@media screen and (max-width: 1600px) {
  header#fv {
    background-size: 100% auto;
  }
}
@media screen and (max-width: 768px) {
  #inner .btn small {
    bottom: calc(-79vw);
  }
  header#fv{
    height: 700px;
  }
  header#fv .btn {
    top: calc(-76vw);
    position: relative !important;
  }

  article#index .top_p {
    width: 100%;
    padding: 0 4% 2em;
  }
  article#index .top_p p {
    font-size: 10px;
  }

  #profit {
    margin: 0;
  }
  #profit .profit-title {
    width: 100%;
    font-size: 20px;
  }
  #profit .tab-container {
    margin: 20px auto;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    border-radius: 20px;
  }
  .tab-buttons-block.pc {
    display: none;
  }
  .tab-buttons-block.sp {
    display: block;
  }
  #profit .tab-panel .profit_number_title img {
    width: 80%;
  }
  #profit .tab-panel .profit_number li {
    display: block;
  }
  #profit .tab-panel .profit_number li img {
    width: 60%;
  }
  #profit .tab-panel .profit_number li .profit_number_box {
    width: 90%;
    margin: auto;
  }
  #profit
    .tab-panel
    .profit_number
    li
    .profit_number_box
    .profit_number_box_list
    .profit_number_box_number {
    font-size: 4vw;
  }
  #profit
    .tab-panel
    .profit_number
    li
    .profit_number_box
    .profit_number_box_list
    .profit_number_box_number
    span {
    font-size: 8vw;
  }
  #profit
    .tab-panel
    .profit_number
    li
    .profit_number_box
    .profit_number_box_list
    .profit_number_box_term {
    font-size: 2.8vw;
  }

  #profit .tab-panel .text {
    font-size: 14px;
  }
  #profit .tab-panel .note {
    font-size: 10px;
    padding: 5%;
  }

  #merit {
    margin-bottom: 0;
  }
  #merit .inner {
    padding: 0 0 60px;
  }
  #merit .merit-title {
    font-size: 16px;
  }
  #merit .merit-list {
    display: block;
  }
  #merit .merit-list li {
    width: 90%;
    margin: 0 auto 15%;
  }
  #merit .merit-list li img {
    width: 70%;
  }
  #merit .merit-list-title {
    font-size: 18px;
  }
  #merit .merit-list-text {
    font-size: 14px;
  }
  #merit .merit-list-note {
    font-size: 12px;
  }
  #cta_mini ul li:nth-child(2) p {
    font-size: 0.7rem;
    color: #ccc;
  }

  #cta_mini ul li:nth-child(2) p span {
    font-size: 1.2rem;
  }
}
@media screen and (min-width: 769px) {
  header#fv {
    padding-top: 3%;
  }
  header#fv #inner .text > p {
    max-width: 50%;
    font-size: 11px;
    margin: -2% 0 auto auto;
    padding: 0;
  }
  .tab-buttons-block.pc {
    display: block;
  }
  .tab-buttons-block.sp {
    display: none;
  }
}
@media screen and (min-width: 1000px) and (max-width: 1600px) {
  header#fv #inner .text > p {
    font-size: 1.1vw;
    margin: -2% 0 auto auto;
  }
  header#fv .btn {
    top: calc(47.5vw);
  }
  #inner .btn small {
    bottom: calc(-6vw);
    font-size: 1.3vw;
  }
}

@media screen and (min-width: 1601px) {
  header#fv #inner .text > p {
    font-size: 15px;
  }
  header#fv .btn {
    top: 760px;
  }
}
