@font-face {
  font-family: 'DIN Alternate';
  /* src: url('font/din-alternate-bold.ttf') format('opentype'); */
  font-weight: bold;
  font-style: normal;
}

@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: .4em;
}

@media screen and (max-width: 768px) {
  .switch .yellow {
    font-size: 3.3vw;
  }
}

/*FV部分調整*/
header#fv {
  width: 100%;
  /* max-height: 905px; */
  height: auto;
  height: auto;
  background: url(img/index/contents_20250821/Ys0AgGCw.png) no-repeat 50% 0;
  aspect-ratio: 7 / 4;
  margin-top: 0px;
  position: relative;
}

header#fv #inner .btn ul li.price {
  font-family: 'Noto Sans JP Black', meiryo;
  color: #b0272d;
}

/*FV部分調整 レスポンシブ位置調整*/
@media (min-width: 1601px) {
  header#fv {
    background-size: auto 100%;
    aspect-ratio: 7 / 4;
  }

  header#fv .btn {
    top: 50vw;
  }

  header#fv #inner {
    width: 100%;
    max-width: 100vw;
  }

  header#fv #inner .btn ul li.price {
    font-size: 13.5rem;
    letter-spacing: -8px;
    line-height: 13.5rem;
    text-indent: -20px;
  }

  header#fv #inner .text>p {
    max-width: 100%;
    font-size: clamp(0.9rem, 0.85vw, 14px);
    font-weight: bold;
    margin: auto 0 auto auto;
    padding: 1.75% 0 0 50%;
  }

}

@media (max-width: 1600px) {
  header#fv {
    background-size: 100%;
    aspect-ratio: 7 / 4;
  }

  header#fv .btn {
    top: calc(50vw);
  }

  header#fv #inner {
    width: 100%;
    max-width: 100vw;
  }

  header#fv #inner .btn ul li.price {
    font-size: calc(8.5vw);
    letter-spacing: -8px;
    line-height: calc(8.5vw);
    text-indent: -20px;
  }

  header#fv #inner .text>p {
    max-width: 100%;
    font-size: clamp(0.7vw, 1.15vw, 1.45rem);
    font-weight: bold;
    margin: auto 0 auto auto;
    padding: 1.25% 0 0 50%;
  }
}

@media (max-width: 1000px) {
  header#fv {
    max-width: 100vw;
    background-size: 100%;
    aspect-ratio: 7 / 4;
  }

  header#fv .btn {
    /* top: 500px; */
    top: 50vw;
    left: 50vw;
    right: 0;
    margin: 0 auto;
    transition: 0s all;
  }

  header#fv #inner .btn ul li.price {
    font-size: 88px;
    letter-spacing: -8px;
    line-height: 88px;
    text-indent: -20px;
  }

  header#fv #inner .text {
    max-width: 100vw;
  }

  header#fv #inner .text>p {
    box-sizing: border-box;
    max-width: 100%;
    font-size: clamp(10px, 0.7vw, 1.25rem);
    font-weight: bold;
    margin: 0;
    padding: 1.25% 0 0 52.5vw;
  }
}

@media (max-width: 768px) {
  header#fv {
    background: none;
    aspect-ratio: 769 / 1333;
  }

  header#fv .btn {
    top: calc(90vw + 11vw);
    transition: 0s all;
  }

  header#fv #inner .btn ul li.price {
    font-size: calc(18vw);
    letter-spacing: -5px;
    line-height: calc(8.5vw);
    text-indent: -3px;
  }

  header#fv #inner .text>p {
    max-width: 100vw;
    font-size: 1.72rem;
    margin: auto;
    padding: 11.5% 0 0 0;
    position: absolute;
    top: 2vw;
    left: 0;
    right: 0;
  }

  #index {
    position: relative;
  }
}

header#fv #inner .btn ul {
  text-align: center;
  line-height: 1;
}

#opening {
  background: url(img/index/my4575_2-1.png) no-repeat;
  background-size: cover;
  background-position: center;
  max-width: 100vw;
}

@media screen and (max-width: 768px) {
  #opening ul li p.small br.pc {
    display: none;
  }
}

/*来店予約をする 共通*/
#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;
}

article#index .top_p {
  width: 800px;
  line-height: 1.2;
  margin: auto;
  display: block;
  padding: 1em 0;
}

@media screen and (max-width: 1000px) {

  #cta_mini .inner,
  #cta_mini2 .inner {
    width: 100%;
    max-width: 100vw;
    margin: 0 auto;
    padding: 0;
  }

  article#index .top_p {
    box-sizing: border-box;
    width: 100vw;
    line-height: 1.2;
    margin: 0;
    display: block;
    padding: 1em 4%;
  }

  article#index .top_p p {
    font-size: 2.4vw;
  }

  body {
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: hidden;
  }
}

@media screen and (max-width: 768px) {
  body {
    box-sizing: border-box;
    max-width: 100vw;
    overflow-x: visible;
  }
}

/*来店予約をする バナー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: 52.5%;
  font-size: 2rem;
  color: #fff;
}

#cta_mini ul li:nth-child(2) p span {
  font-size: 2.5rem;
  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) {
  #opening {
    box-sizing: border-box;
  }

  section#opening .inner {
    width: 100vw;
    margin: 0 auto;
    padding: 50px 0;
  }

  #cta_mini2 ul li:nth-child(2) img {
    width: calc(100% * 1.75);
    max-width: 175vw;
    margin-right: -27.5%;
    right: 12.5%;
    margin-top: -20px;
    margin-bottom: 80px;
  }

  article#index p:first-of-type {
    margin: 0 auto 4%;
  }

  #opening ul li p.small {
    font-size: 2.6vw !important;
    text-align: center;
    margin: auto;
  }

}

@media screen and (max-width: 414px) {
  #cta_mini2 ul li:nth-child(2) img {
    width: calc(100% * 1.5);
    max-width: 150vw;
    margin-left: -6.25%;
    margin-top: 0;
    margin-bottom: 34vw;
    right: 0;
  }
}

#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;
}

/*相談内容アコーディオン*/
.adn {
  width: calc(600px / 2);
}

.balloon-text-left {
  max-width: calc(100% - 120px);
  float: left;
}

.balloon-text-right {
  max-width: calc(100% - 170px);
  margin-right: 10px;
}

.accordion-content {
  width: calc(600px / 1.4);
}

.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%;
  }

  #opening ul li p {
    width: 74vw;
  }

}

.line_box_row.mb {
  margin-bottom: 30px;
}

#case .line_box {
  width: calc(100% - 15px);
  padding: 50px 30px;
  overflow: hidden;
}

@media screen and (max-width: 1000px) {
  #case .line_box {
    width: 100%;
    padding: 30px 15px;
  }

  .line_box_row {
    max-width: 90vw;
    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;
  }
}

/*金利表記*/
.tab .line_box_row .item {
  background: #f1f2f4;
  border-radius: 12px;
  margin: 0 7px;
  padding: 10px 20px;
}

@media screen and (max-width: 768px) {
  .tab .line_box_row .item {
    margin: 0 7px 10px;
  }
}

.tab .line_box_row .item small {
  display: block;
  text-align: right;
  font-size: 14px;
  color: #f11a17;
  margin-bottom: 10px;
}

.line_box_row .item .plan {
  display: block;
  max-width: 90px;
  border-radius: 12px;
  border: solid 2px #555;
  font-size: 18px;
  text-align: center;
  line-height: 1.2;
  padding: 5px;
  margin-top: -15px;
}

.tab .line_box_row .item:first-child h3 {
  font-size: 28px;
  background: #fd963b;
  color: #fff;
}

.tab .line_box_row .item:last-child h3 {
  background: linear-gradient(0.25turn, #0178c3, #013077);
  color: #fff;
}

.tab .line_box_row .item:first-child .plan {
  border: solid 2px #fd963b;
  color: #fd963b;
}

.tab .line_box_row .item:last-child .plan {
  border: solid 2px #013077;
  color: #013077;
}

.item .plan_rate {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .item .plan_rate {
    justify-content: space-around;
  }
}

.item .plan_rate p .rate {
  font-family: 'DIN Alternate', sans-serif;
  font-weight: bold;
  font-size: 8rem;
  letter-spacing: -3px;
  line-height: 9rem;
  /* transition: .5s all; */
  margin-top: -3px;
}

.item .plan_rate p .rate::before {
  content: "年";
  font-size: 3rem;
  margin-right: 3px;
  font-family: 'Noto Sans JP Black', sans-serif;
}

.item .plan_rate p .rate::after {
  content: "%";
  padding-right: 5px;
  display: inline-block;
  font-size: 3rem;
  font-family: 'Noto Sans JP Black', sans-serif;
  margin-left: 3px;
  font-weight: bold;
}

.item .plan_rate p::after {
  content: "～";
  display: inline-block;
  vertical-align: top;
  font-size: 3rem;
  font-family: 'Noto Sans JP Bold', sans-serif;
  font-weight: bold;
  margin-left: 3px;
  position: relative;
  top: 15px;
}

.item:first-child .plan_rate p::after {
  background: linear-gradient(#ffa532, #fc5821);
  background-size: contain;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.item:first-child .plan_rate p .rate {
  width: auto;
  background: linear-gradient(#ffa532, #fc5821);
  background-size: contain;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.item:last-child .plan_rate p .rate {
  width: auto;
}

.line_box_row .item dl {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 3px 20px;
  background-color: #fff;
  margin-bottom: 7px;
  font-size: 21px;
  font-weight: bold;
  font-family: 'Noto Sans JP Bold', sans-serif;
}

.line_box_row .item dt {
  position: relative;
  width: 50%;
}

.line_box_row .item dt::after {
  position: absolute;
  content: "：";
  right: 0;
}

.line_box_row .item dd {
  color: #f11a17;
  font-family: 'Noto Sans JP bold', sans-serif;
}

.line_box_row .item dd strong {
  font-family: 'DIN Alternate', sans-serif;
  font-size: 28px;
  font-weight: bold;
  padding: 0 3px;
}

/*住宅ローンの種類タブ*/
#product .inner {
  position: relative;
}

@media screen and (max-width: 1000px) {
  #product .inner {
    position: relative;
  }
}

#loan_lineup {
  padding-bottom: 30px;
}

#product h2.tab__title {
  width: calc(1000px + 8px);
  position: absolute;
  top: 100px;
  left: -4px;
  right: 0;
  background: linear-gradient(0.25turn, #0178c3, #013077);
  margin-left: auto;
  margin-right: auto;
  padding: 16px 0;
  color: #fff;
}

@media screen and (max-width: 1000px) {
  #product h2.tab__title {
    width: 100%;
    left: 0;
    right: 0;
  }
}

@media screen and (max-width: 768px) {
  #product h2.tab__title {
    width: calc(100% + 8px);
    left: -4px
  }
}

#product h2.tab__title::before {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
  border-top: 2px solid #0E2942;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  transform: rotate(225deg);
  position: absolute;
  left: 1px;
  bottom: -2px;
}

#product h2.tab__title::after {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
  border-top: 2px solid #0E2942;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  transform: rotate(-225deg);
  position: absolute;
  right: 1px;
  bottom: -2px;
}

@media screen and (max-width: 1000px) {

  #product h2.tab__title::before,
  #product h2.tab__title::after {
    display: none;
  }
}

@media screen and (max-width: 768px) {

  #product h2.tab__title::before,
  #product h2.tab__title::after {
    display: block;
  }
}

#product h2.tab__title img {
  max-width: calc(295px * 0.7);
}

@media screen and (max-width: 768px) {
  #product h2.tab__title img {
    max-width: calc(295px * 0.5);
  }
}

#product ul {
  flex-direction: column;
  align-items: center;
}

#product ul li {
  width: 100%;
  border-radius: 16px;
}

#product ul li.tab {
  padding-top: 120px;
}

#product ul li:nth-child(2n+2) {
  margin-left: 0;
}

.tab__items>li {
  display: none;
}

.cta__btn {
  padding-bottom: 30px;
}

.cta__btn a {
  width: 358px;
  display: block;
  margin-left: auto;
  margin-right: auto;
}

#product p.pb {
  padding-bottom: 30px;
}

#product p.attention__new {
  text-align: left;
  position: relative;
}

.attention__new .new {
  font-size: 11px;
  background: #fe983e;
  padding: 2px;
  color: #fff;
  border-radius: 3px;
  margin-right: 3px;
}

.attention__new .small {
  position: absolute;
  z-index: 10;
  top: 8px;
  left: 36px;
}

.attention__new::after {
  content: "";
  display: block;
  width: 190px;
  border-bottom: solid 6px #ffe3c1;
  margin-left: 36px;
  position: absolute;
  bottom: 6px;
  z-index: 0;
}

.tab-buttons {
  display: flex;
  flex-direction: row-reverse;
  justify-content: center;
  align-items: flex-end;
  border-bottom: solid 2px #0E2942;
}

.key1,
.key2 {
  display: block;
  height: 42px;
  border-top: solid 2px #2d97cd;
  border-left: solid 2px #2d97cd;
  border-right: solid 2px #2d97cd;
  border-radius: 16px 16px 0 0;
  padding: 12px 14px;
  font-weight: normal;
  background: #2d97cd;
  color: #fff;
  margin: 0 3px;
}

@media screen and (max-width: 768px) {

  .key1,
  .key2 {
    padding: 10px 12px;
  }
}

.key1.active,
.key2.active {
  height: 48px;
  background: #fff;
  color: #0E2942;
  border-color: #0E2942;
  margin-bottom: -2px;
}

@media screen and (max-width: 768px) {

  .key1,
  .key2 {
    font-size: 2.1rem;
  }
}

.tab {
  display: none;
}

.fl35__container {
  position: relative;
}

#product .fl35__container li {
  padding: 100px 50px 50px;
}

#product h3.fl35__title {
  width: calc(1000px + 8px);
  position: absolute;
  top: 50px;
  left: -4px;
  right: 0;
  background: #b6282d;
  margin-left: auto;
  margin-right: auto;
  padding: 16px 0;
  color: #fff;
}

@media screen and (max-width: 1000px) {
  #product h3.fl35__title {
    width: 100%;
    left: 0;
    right: 0;
  }
}

@media screen and (max-width: 768px) {
  #product h3.fl35__title {
    width: calc(100% + 8px);
    position: absolute;
    top: 40px;
    left: -4px;
    right: 0;
    background: #b6282d;
    margin-left: auto;
    margin-right: auto;
    padding: 16px 0;
    color: #fff;
  }
}

#product h3.fl35__title::before {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
  border-top: 2px solid #560306;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  transform: rotate(225deg);
  position: absolute;
  left: 1px;
  bottom: -2px;
}

#product h3.fl35__title::after {
  content: "";
  display: block;
  width: 1px;
  height: 1px;
  border-top: 2px solid #560306;
  border-right: 2px solid transparent;
  border-bottom: 2px solid transparent;
  border-left: 2px solid transparent;
  transform: rotate(-225deg);
  position: absolute;
  right: 1px;
  bottom: -2px;
}

@media screen and (max-width: 1000px) {

  #product h3.fl35__title::before,
  #product h3.fl35__title::after {
    display: none;
  }
}

@media screen and (max-width: 768px) {

  #product h3.fl35__title::before,
  #product h3.fl35__title::after {
    display: block;
  }
}

#product h3.fl35__title img {
  max-width: calc(295px * 0.7);
}

/*「ご相談」から「お借り入れ」までの流れ 吹き出し*/
.p-flow__inner {
  max-width: 1000px;
  width: 100%;
  margin: 0 auto;
  padding: 0 4rem;
}

#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;
  font-weight: normal;
}

@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, .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 1px #f00;
  padding: 1.2%;
  line-height: 1.5;
  margin: 0;
}

.border {
  border: solid 1px #000;
  padding: 1.2%;
  line-height: 1.5;
  margin: 0;
}

article#index img {
    display: block;
    margin: 0 auto;
    padding: 0;
}

@media screen and (max-width: 1000px) {
  section .inner {
    box-sizing: border-box;
    max-width: 100%;
    width: 90%;
    padding: 60px 0;
    margin: auto;
  }
}