/* リセットCSS */
*,
:after,
:before {
  box-sizing: border-box;
}

html {
  -webkit-tap-highlight-color: transparent;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  cursor: default;
  line-height: 1.5;
  tab-size: 4;
  word-break: break-word;
  scroll-behavior: smooth;
  font-size: 62.5%;
}

body {
  margin: 0;
  position: relative;
  color: #374151;
  font-family: "Zen Kaku Gothic New", sans-serif;
  font-style: normal;
  font-size: 1.6rem;
  line-height: 1.4;
}

h2,
h3,
p {
  margin: 0;
}

a {
  background-color: transparent;
  text-decoration: none;
}

ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

img {
  border-style: none;
  vertical-align: middle;
}
.menu-btn {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    height: 20px;
    width: 20px;
    justify-content: center;
    align-items: center;
    z-index: 90;
}

.menu-btn span:before,
.menu-btn span:after {
    content: '';
    display: block;
    height: 3px;
    width: 30px;
    border-radius: 3px;
    background-color: #E50A1C;
    position: absolute;
}

.menu-btn span:after {
    top: 0px;
    right: -5px;
}

.menu-btn span:before {
    right:-5px;
}

@media (min-width: 1050px) {
    .menu-btn {
        display: none;
    }
}

@media (min-width: 480px) {
    .menu-btn {
        top:20px;
    }
}

#menu-btn-check:checked ~ .menu-btn span::before {
    transform: rotate(45deg);
}
#menu-btn-check:checked ~ .menu-btn span::after {
    top: 10px;
    transform: rotate(-45deg);
}

#menu-btn-check {
    display: none;
}

#menu-btn-check:checked ~ .menu-content {
    top:0;
}

.menu-content {
    width: 100%;
    height: 240px;
    position: fixed;
    top: -240px; 
    left: 0;
    z-index: -1;
    background-color: #ffffff;
    transition: all 0.5s;
    padding: 56px 14px 32px;
}

.menu-content__link{
    display: flex;
    flex-direction: column;
    gap: 5px;
    align-items: center;
    justify-content: center;
    padding: 0 clamp(0.313rem, -0.268rem + 2.38vw, 1.875rem) 7px;
    font-size: clamp(0.563rem, 0.4rem + 0.67vw, 1rem);
    color:inherit;
    min-width: 68px;
    font-weight: 700;
    position: relative;
}

.menu-content__inner{
    padding-top: 28px;
}

.menu-content__flex{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 38px;
}

.menu-content__margin-bottom{
    margin-bottom: 30px;
}

.ico_menu_flow_hamburger{
    width: 25px;
    height: 26px;
    object-fit: cover;
}

.ico_menu_check_hamburger{
    width: 18px;
    height: 24px;
    object-fit: cover;
}

.ico_menu_column_hamburger{
    width: 27px;
    height: 24px;
    object-fit: cover;
}

.ico_menu_qa_hamburger{
    width: 25px;
    height: 24px;
    object-fit: cover;
}

.ico_menu_kouza_hamburger{
    width: 29px;
    height: 24px;
    object-fit: cover;
}

/* ヘッダー */

.header {
    padding: 5px 10px 7px;
    position: sticky;
    top: 0;
    z-index: 1000;
    background-color: #fff;
    height: 60px;
    display: flex;
    align-items: center;
}

@media (min-width: 481px) {
  .header {
    padding: 17px 10px 19px;
  }
}

@media (min-width: 1050px) {
    .header {
        display: none;
    }
}
/* フッター関連 */
.footerContainer,
.footer__content,
.footerOfficialLink {
  font-family: "Helvetica Neue", "Arial", "Hiragino Kaku Gothic ProN", "Hiragino Sans", "Meiryo", sans-serif;
}

.footerContainer {
  background-color: #e70012;
  padding: 32px 28px 24px;
  width: 100%;
}

@media (min-width: 481px) {
  .footerContainer {
    padding: 15px 0 0;
  }
}

.footer {
  display: flex;
  flex-direction: column;
}

@media (min-width: 481px) {
  .footer {
    align-items: center;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: 0 auto;
    max-width: 1000px;
  }
}

.footer__illust {
  margin: 0 auto;
  width: 180px;
}

@media (max-width: 1000px) {
  .footer__illust {
    display: none;
  }
}

@media (min-width: 481px) {
  .footer__illust {
    height: 334px;
    margin: 0 0 -1px;
    width: 430px;
  }
}

@media (max-width: 1000px) {
  .footer__content {
    margin: 0 auto;
  }
}

@media (min-width: 481px) {
  .footer__content {
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 530px;
  }
}

.footerEmphasisBlock {
  color: #fff;
  font-size: 1.7rem;
  font-weight: 700;
  margin: 0 auto;
  padding: 0;
  position: relative;
  text-align: center;
  width: 100%;
}

@media (min-width: 481px) {
  .footerEmphasisBlock {
    font-size: 2.4rem;
    width: 450px;
  }
}

.footerEmphasisBlock:before {
  left: -16px;
  transform: rotate(60deg);
}

.footerEmphasisBlock:after,
.footerEmphasisBlock:before {
  background-color: #fff;
  content: "";
  display: block;
  height: 2px;
  position: absolute;
  top: 15px;
  width: 38px;
}

.footerEmphasisBlock:after {
  right: -12px;
  transform: rotate(-60deg);
}

.footer__title {
  margin: 16px auto 0;
  width: 295px;
}

@media (min-width: 481px) {
  .footer__title {
    max-width: 530px;
    width: 90%;
  }
}

.footer__title > picture > img {
  width: 100%;
}

.footerOfficialLink {
  background-color: #f4f4f2;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.footerOfficialLink > a {
  color: #374151;
  text-decoration: underline;
}

.footerOfficialLink > a > img {
  margin-right: 10px;
}

.footerOfficialLink > a:hover {
  text-decoration: none;
}

.footerBar {
  background-color: #d4d4d4;
  width: 100%;
}

.footerBar__inner {
  align-items: center;
  display: flex;
  flex-direction: column;
  justify-content: center;
  margin: 0 auto;
  max-width: 1600px;
  padding: 10px;
}

@media (min-width: 481px) {
  .footerBar__inner {
    flex-direction: row;
    justify-content: space-between;
  }
}

.copyright {
  font-size: 1.3rem;
  margin-top: 10px;
}

@media (min-width: 481px) {
  .copyright {
    margin-top: 0;
  }
}

/* 四角付きタイトル */
.title-square-div {
  display: flex;
  align-items: center;
  justify-content: center;
}

.title-square {
  font-size: 40px;
  justify-content: center;
  color: #374151;
  position: relative;
  width: fit-content;
}

@media screen and (max-width: 767px) {
  .title-square {
    font-size: 3.2rem;
  }
}

.title-square::before {
  background-color: #E70012;
  content: "";
  top: 0;
  bottom: 0;
  margin: auto 0;
  left: -50px;
  border-radius: 2px;
  height: 22px;
  width: 22px;
  position: absolute;
}

.title-square::after {
  background-color: #E70012;
  content: "";
  top: 0;
  bottom: 0;
  margin: auto 0;
  right: -50px;
  border-radius: 2px;
  height: 22px;
  width: 22px;
  position: absolute;
}

.navigation{
    display: flex;
    align-items: center;
    justify-content: center;
    border-bottom:1px solid #FFDBDE;
    padding-top: 0;
    position: sticky;
    top: 60px;
    background-color: #fff;
    z-index: 1000;
    > ul {
        display: flex;  
        flex:1;
        > li{
            flex: 1;
        }
    }
}

@media screen and (min-width: 1050px) {
    .navigation {
        display: none;
    }
}

#navigation__link--red{
    color:#E60012;
}

.navigation__link {
  display: grid;
  gap: 5px;
  justify-items: center;
  padding: 0 clamp(0.313rem, -0.268rem + 2.38vw, 1.875rem) 7px;
  font-size: 0.9rem;
  color: inherit;
  font-weight: 700;
  position: relative;
  text-align: center;
  height: 100%;
}

.navigation ul li:not(:first-child) .navigation__link::before{
  content: "";
  display: block;
  width: 1px;
  position: absolute;
  background-color: #FFDBDE;
  height: 26px;
  top: 0;
  bottom: 0;
  left: 0;
  margin: auto 0;
}

@media screen and (min-width: 890px) {
  .navigation__link {
    min-width: 154px;
    padding: 0 clamp(0.313rem, -0.268rem + 2.38vw, 1.875rem) 12px;
  }

  .navigation__link::after {
    height: 36px;
  }

  .navigation__link::before {
    height: 36px;
  }
}

.ico_menu_top {
    width: 13px;
    height: 18px;
    object-fit: cover;
}

@media screen and (min-width: 890px) {
    .ico_menu_top {
        width: 14px;
        height: 20px;
        object-fit: cover;
    }
}

.ico_menu_flow{
    width: 17px;
    height: 17px;
    object-fit: cover;
}

@media screen and (min-width: 890px) {
    .ico_menu_flow{
        width: 25px;
        height: 26px;
    }
}

.ico_menu_check{
    width: 14px;
    height: 18px;
    object-fit: cover;
}

@media screen and (min-width: 890px) {
    .ico_menu_check{
        width: 18px;
        height: 24px;
    }
}

.ico_menu_column{
    width: 20px;
    height: 18px;
    object-fit: cover;
}

@media screen and (min-width: 890px) {
    .ico_menu_column{
        width: 27px;
        height: 24px;
    }
}

.ico_menu_qa{
    width: 19px;
    height: 18px;
    object-fit: cover;
}

@media screen and (min-width: 890px) {
    .ico_menu_qa{
        width: 25px;
        height: 24px;
    }
}

.ico_menu_kouza{
    width: 22px;
    height: 18px;
    object-fit: cover;
}

@media screen and (min-width: 890px) {
    .ico_menu_kouza{
        width: 29px;
        height: 24px;
    }
}

.topBanner {
  width: 204px;
  height: 18px;
}

@media screen and (min-width: 890px) {
  .topBanner {
    width: 404px;
    height: 36px;
  }
}

/* フローティングナビゲーション(モバイル用) */
.floatingNavigationContainer {
    background-color: #fff;
    border-top-left-radius: 8px;
    border-top-right-radius: 8px;
    bottom: 0;
    box-shadow:
        0 -20px 25px -5px rgba(0, 0, 0, 0.1),
        0 -10px 10px -5px rgba(0, 0, 0, 0.04);
    left: 0;
    padding: 10px;
    position: sticky;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 10px;
    line-height: 1;
    z-index: 1000;
}

@media (min-width: 1050px) {
  .floatingNavigationContainer {
    display: none;
  }
}

.floatingNavigation {
    display: flex;
    gap: 10px;
    justify-content: center;
    align-items: center;
}

.floatingNavigation__button--yellow {
    align-items: center;
    background-color: #ffdf71;
    border-radius: 8px;
    color: inherit;
    display: flex;
    display: inline-flex;
    font-size: 1.4rem;
    height: 40px;
    justify-content: center;
    padding: 8px 20px;
    width: 100%;
    max-width: 300px;
    font-weight: 900;
}

.floatingNavigation__button--pink {
    align-items: center;
    background-color: #e70012;
    border-radius: 8px;
    color: #fff;
    display: flex;
    display: inline-flex;
    gap: 19px;
    font-size: 1.2rem;
    height: 62px;
    justify-content: center;
    padding: 16px;
    width: 100%;
    max-width: 300px;
    font-weight: 900;
    text-align: center;
    line-height: 1.3;
}


/* フローティングボタン(ヘッダー) */
.floatButtonUpper {
  position: fixed;
  right: 40px;
  top: -15px;
  z-index: 1000;
  white-space: nowrap;
}

@media (min-width: 481px) and (max-width: 665px) {
  .floatButtonUpper {
    top: 45px;
    right: 0;
    left: 0;
    margin: 0;
    padding: 0;
    max-width: 100vw;
    width: 100%;
  }
}

@media screen and (max-width: 480px) {
  .floatButtonUpper {
    position: static;
  }
}

.floatButtonUpper__inner {
  display: flex;
  justify-content: center;
  gap: 10px;
  position: relative;
}

.floatButton--yellow {
  align-items: center;
  background-color: #FFF1C1;
  border-radius: 41px;
  color: #E70012;
  display: flex;
  font-size: 1.6rem;
  height: 50px;
  justify-content: center;
  margin: 32px 0 0;
  padding: 15px 39px;
  width: 100%;
  transition: all 0.3s;
  font-weight: 700;
}

.floatButton--pink {
  align-items: center;
  background-color: #FFDBDE;
  border-radius: 41px;
  color: #374151;
  display: flex;
  font-size: 1.6rem;
  height: 50px;
  justify-content: center;
  margin: 32px 0 0;
  padding: 15px 39px;
  width: 100%;
  transition: all 0.3s;
  font-weight: 700;
}

.floatButton--pc {
  display: flex;
}

@media screen and (max-width: 1050px) {
  .floatButton--pc {
    display: none;
  }
}

.floatButton--yellow:hover,
.floatButton--pink:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* ローンシミュレーション */
.Loan-simulation {
  padding: 80px 16px 100px;
  margin: 0 auto;
  max-width: 880px;
}

@media (max-width: 480px) {
  .Loan-simulation {
    padding: 40px 16px 75px;
  }
}

.Loan-simulation__title {
  color: #374151;
  display: flex;
  font-size: 3.2rem;
  font-weight: 700;
  justify-content: center;
  padding-bottom: 30px;
  position: relative;
}

@media (max-width: 480px) {
  .Loan-simulation__title {
    font-size: 2.4rem;
    padding-bottom: 20px;
  }
}

.Loan-simulation__title::before {
  background-color: red;
  border-radius: 4px;
  bottom: 0;
  content: "";
  height: 8px;
  left: 50%;
  margin-right: 0;
  position: absolute;
  transform: translateX(-50%);
  width: 100px;
}

@media (max-width: 480px) {
  .Loan-simulation__title::before {
    height: 5px;
    width: 70px;
  }
}

.Loan-simulation__flex {
  display: flex;
  margin-top: 30px;
  align-items: center;
  justify-content: center;
  gap: 50px;
}

@media (max-width: 680px) {
  .Loan-simulation__flex {
    flex-direction: column;
    gap: 30px;
  }
}

.Loan-simulation__img {
  max-width: 235px;
  max-height: 207px;
  width: 100%;
  height: 100%;
}

.Loan-simulation__text {
  /* テキストスタイルがHTMLに存在しますが、CSSでは定義されていませんでした */
}

.Loan-simulation__list {
  margin-top: 40px;
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
}

.Loan-simulation__item {
  width: calc(50% - 20px);
}

@media (max-width: 690px) {
  .Loan-simulation__list {
    gap: 30px;
  }

  .Loan-simulation__item {
    width: 100%;
  }
}

.Loan-simulation__link {
  display: block;
  width: 100%;
  border: solid 1px #e70012;
  border-radius: 6px;
  background-color: #fff;
  padding: 20px 60px 20px 20px;
  color: #e70012;
  text-align: center;
  position: relative;
  transition: all 0.3s;
}

.Loan-simulation__link:hover {
  box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
}

.Loan-simulation__link-text--big {
  font-size: 2.2rem;
  padding-right: 3px;
}

@media (max-width: 690px) {
  .Loan-simulation__link-text--big {
    font-size: 2rem;
  }
}

.Loan-simulation__icon-tab {
  margin-left: 5px;
  width: 20px;
  height: 20px;
  position: absolute;
  top: 50%;
  right: 20px;
  transform: translateY(-50%);
}

.checkContainer{
    display: flex;
    flex-direction: column;
    gap: 30px;
    padding: 20px 20px 53px;
}

@media screen and (min-width: 890px) {
  .checkContainer{
        gap: 47px;
        padding: 50px 0 71px;
    }
}

.checkWrapper{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 15px;
}

@media screen and (min-width: 890px) {
  .checkWrapper{
        flex-direction: row;
        gap: 34px;
    }
}

.checkInner{
    display: flex;
    flex-direction: column;
    gap: 24px;
    border:1px solid #FFDBDE;
    border-radius: 18px;
    padding: 22px 14px;
    max-width: 414px;
    min-height: 490px;
}

.checkImage{
    width: 100%;
    height: auto;
    object-fit: contain; 
}

@media screen and (min-width: 390px) {
  .checkImage{
        padding-bottom: 18px;
    }
}

.checkText{
    font-size: 1.8rem;
    min-height: 151px;
}

.checkButton{
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    background-color:#E70012 ;
    width: 155px;
    height: 46px;
    border-radius: 46px;
    align-self: end;
}

.checkButton > p{
    color:#FFF;
    font-size: 20px;
    font-weight: 700;
}

.checkCircle > img {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.checkCircle{
    border-radius: 50%;
    width: 29px;
    height: 29px;
    background-color: #FFF1C1;
    position: relative;
}
.flex {
    display: flex;
    flex-direction: column;
}
@media (min-width: 1050px) {
    .flex {
        flex-direction: row;
    }
}

.gloval-navigation {
    display: none;
}
@media (min-width: 1050px) {
    .gloval-navigation {
        display: block;
        position: relative;
        z-index: 1000;
        background: #fff;
    }

    .gloval-navigation ul {
        position: sticky;
        top: 0;
        padding: 25px 20px 0 23px;
    }
}
.gloval-navigation__logo {
    margin-bottom: 33px;
}

.gloval-navigation__img{
    width: 28px;
    height: auto;
}

.gloval-navigation__link {
    padding-bottom: 10px;
    margin-bottom: 27px;
    border-bottom: 1px solid #ffdbde;
}

.gloval-navigation__link a {
    color: inherit;
    display: flex;
    gap: 15px;
    align-items: center;
}

.gloval-navigation__link img {
    flex-shrink: 1;
}

#gloval-navigation__red {
    color: #E60012;
}

.gloval-navigation__button01 {
    margin-top: 33px;
    a {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 15px;
        width: 254px;
        height: 62px;
        border-radius: 8px;
        background-color: #e70012;
        color: #fff;
        font-weight: 900;
    }
}

.gloval-navigation__button02 {
    margin-top: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    a {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 167px;
        height: 40px;
        border-radius: 8px;
        background-color: #ffdf71;
        color: inherit;
        font-weight: 900;
    }
}

.content {
    flex: 1;
}
