
main
{
    max-width: var(--max-width);
    margin: 0 auto;
}
section
{
    width: 100%;
}
section>h2
{
    margin-top: 50px;
    position: relative;
    padding-left: 20px;
    box-sizing: border-box;
}
section>h2::before
{
    content: "";
    width: 5px;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: var(--main-color-dark);
}
section>h2::after {
    content: "";
    width: 98%;
    position: absolute;
    left: 18px;
    border-bottom: var(--main-color) dotted 2px;
    bottom: 0;
}
.content-box
{
    width: 95%;
    margin: 0 auto;
    padding: 25px 0 0;
    box-sizing: border-box;
}
p
{
    line-height: 2rem;
}
/*アプリ紹介TOP*/
.app-banking-top
{
    background-image: url(../../../image/convenience/top-bg.jpg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}
.app-banking-topinner
{
    display: flex;
    gap: 50px;
    padding: 25px 5%;
    box-sizing: border-box;
    min-height: 500px;
}
.app-banking-toptext
{
    display: flex;
    flex-direction: column;
    gap: 50px;
    width: 50%;
    justify-content: center;
}
.app-banking-toptext h1 span
{
    color: #e7141a;
}
.store-buttons-wrap
{
    width: 100%;
    border: 4px solid #e7141a;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
}
.store-buttons-wrap > p
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e7141a;
    color: #fff;
}
.store-buttons
{
    display: flex;
    gap: 25px;
    width: 100%;
    justify-content: center;
    align-items: center;
    padding: 25px;
    background-color: #fff;
}
.store-buttons-wrap.pc
{
    display: block;
}
.store-buttons-wrap.sp
{
    display: none;
}
.store-btn
{
    height: 70px;
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
}
.store-btn a
{
    display: block;
    height: 100%;
    width: 100%;
}
.apple
{
    background-image: url(../../../image/convenience/appstore-btn.svg);
    aspect-ratio: 54/20;
}
.google
{
    background-image: url(../../../image/convenience/googleplay-btn.svg);
    aspect-ratio: 1862.7/551.93;
}
.cover-unrelease
{
    position: absolute;
    top: 0;
    left: 0;
    display: inline-flex;
    width: 100%;
    height: 100%;
    background-color: rgba(231, 20, 26, 0.8);
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}
.app-banking-topimg
{
    display: flex;
    width: 50%;
}
.app-mockup
{
    position: relative;
    width: 50%;
}
.app-mockup>div
{
    position: absolute;
    display: inline-block;
    object-fit: contain;
    aspect-ratio: 254/479;
}
.app-function
{
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 15px 0;
    box-sizing: border-box;
}
.app-function ul
{
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-weight: bold;
}
.app-function li
{
    position: relative;
    padding-left: 1.5rem;
    filter: drop-shadow(2px 2px 2px #fff);
}
.app-function li:before
{
    content: "";
    position: absolute;
    width: 1rem;
    aspect-ratio: 1/1;
    background-image: url(../../../image/convenience/check.svg);
    background-position: center;
    background-repeat: no-repeat;
    background-size: contain;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

/*ダウンロード*/
.download
{
    display: flex;
    background-color: #faf4f4;
    padding: 50px 0;
    box-sizing: border-box;
    position: relative;
}
.cover-unrelease-downroad
{
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80%;
    transform: translate(-50%,-50%);
    padding: 20px 0;
    background-color: #e7141a;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 2rem;
    font-weight: bold;
}
.download-links
{
    width: 50%;
    padding: 0 50px;
    display: flex;
    gap: 25px;
}
.download-btns
{
    width: 60%;
    display: flex;
    flex-direction: column;
    gap: 25px;
    justify-content: center;
}
.download-btns .store-btn
{
    height: 80px;
    max-width: 100%;
    background-position: left;
}
.download-qr
{
    width: 40%;
}

.download-links:first-of-type
{
    border-right: 1px solid #e7141a;
}
ul.annotation {
    margin-top: 10px;
  list-style: none;
  padding: 0;
}
ul.annotation li {
  display: flex;
}
ul.annotation li::before {
  content: "※";
  margin-right: .25em;
}

/*はたしんアプリの特徴*/
.features-box
{
    display: grid;
    grid-template-columns: repeat(3,1fr);
    gap: 50px;
}
.features-item
{
    display: flex;
    flex-direction: column;
    gap: 25px;
}

/*よくあるご質問*/
.faq-item {
  margin: 25px 0 0 auto;
}
.faq-question__wrap {
  position: relative;
  padding: 10px 5px 10px 55px;
  cursor: pointer;
  border-bottom: 1px solid #e7141a;

}
.faq-question__wrap.active
{
    border-bottom: none;
}
.plus-icon {
  position: absolute;
  content: "";
  width: 1.3rem;
  aspect-ratio: 1/1;
  border-left: 2px solid #e7141a;
  border-bottom: 2px solid #e7141a;
  right: 20px;
  top: 50%;
  transform: translateY(-50%) rotate(-45deg);
  transition: ease all 0.5s; /* 擬似要素のトランジションを追加 */
}

.plus-icon.active {
  transform: translateY(-50%) rotate(135deg);
}

.faq-question__title {
  font-weight: bold;
  font-size: 1.3rem;
  font-weight: bold;
  position: relative;
}
.faq-question__title::before {
    position: absolute;
    color: #e7141a;
    content: "Q.";
    top: 50%;
    left: -35px;
    transform: translateY(-50%);
  }

.faq-answer__wrap {
  background: #faf4f4;
  padding: 10px 5px 10px 55px;
  transition: ease all 0.5s; /* 擬似要素のトランジションを追加 */
  height: 0;
  overflow: hidden;
  padding-top: 0;
  padding-bottom: 0;
}

.faq-answer__wrap.active {
  height: auto;
  padding: 10px 5px 10px 55px;
}
.faq-answer__wrap {
  background: #faf4f4;
  opacity: 0;
  padding: 10px 5px 10px 55px;
  padding-top: 0;
  padding-bottom: 0;
  overflow: hidden;
  transition: ease all 0.7s; /* 擬似要素のトランジションを追加 */
}

.faq-answer__wrap.active {
  opacity: 1;
  padding: 10px 5px 10px 55px;
}

.faq-answer__text::before {
    position: absolute;
    color: #0090ff;
    content: "A.";
    font-size: 1.3rem;
    font-weight: bold;
    top: 1rem;
    left: -35px;
    transform: translateY(-50%);
  }

.faq-answer__text {
  margin-top: 5px;
  position: relative;
}

/*お問い合わせ*/
.contact
{
    background-color: #ffd8d8;
    padding: 50px;
    box-sizing: border-box;
    margin: 100px auto 150px;
}
.contact h2
{
    text-align: center;
}
.contact-box
{   
    display: flex;
    gap: 25px;
    margin-top: 25px;
}
.contact-item
{
    width: 50%;
    border: 4px solid #e7141a;
    border-radius: 20px;
    overflow: hidden;
}
.contact-index
{
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #e7141a;
    color: #fff;
    font-size: 1.5rem;
    font-weight: bold;
    padding: 10px 0;
    box-sizing: border-box;
}
.contact-no
{
    background-color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 25px 0;
    box-sizing: border-box;
}
.tel-link {
  color: inherit;
  text-decoration: none;
  pointer-events: none;
  font-size: 2.5rem;
  font-weight: bold;
}


@media screen and (max-width: 768px) {
    .app-banking-topinner
    {
        flex-direction: column;
        gap: 25px;
    }
    .app-banking-toptext
    {
        width: 100%;
        
    }
    .app-banking-topimg
    {
        width: 100%;
        height: 50%;
        min-height: 250px;
    }
    .app-mockup
    {
        width: 100%;
        min-height: 230px;
    }
    .app-mockup>div
    {
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    .app-mockup>div img
    {
        max-height: 400px;
        width: 90%;
    }
    .app-function
    {
        align-items: flex-end;
    }
    .app-banking-topimg
    {
        flex-direction: column;
    }
    .cover-unrelease
    {
        font-size: 1.3rem;
    }
    .store-btn
    {
        /*width: 70%;*/
        /*height: auto;*/
        height: 40px;
    }
    .store-buttons-wrap.pc
    {
        display: none;
    }
    .store-buttons-wrap.sp
    {
        display: block;
    }

    /*ダウンロード*/
    .download
    {
        padding: 0;
        flex-direction: column;
        padding: 0 20px;
    }
    .download-links
    {
        width: 100%;
        padding: 20px 0;
        gap: 10px;
    }
    .download-btns
    {
        gap: 15px;
    }
    .download-links:first-of-type
    {
        border-right: none;
        border-bottom: 1px solid #e7141a;
    }
    .cover-unrelease-downroad
    {
        font-size: 1.3rem;
        display: inline-flex;
        width: 100%;
        height: 50%;
        background-color: #e7141a;
    }
    .download-btns .store-btn
    {
        width: 100%;
        height: auto;
    }

    /*特徴*/
    .content-box.features .features-box{
        display: block;
    }

    /* Swiperコンテナ：paddingを持たせない */
    .content-box.features .features-box .features-swiper{
        width: 100%;
        position: relative;
        overflow: visible;
    }

    /* wrapper */
    .content-box.features .features-box .swiper-wrapper{
        align-items: stretch;
    }

    /* slide：左右余白をここで作る（←重要） */
    .content-box.features .features-box .swiper-slide{
        box-sizing: border-box;
        width: 100% !important;
        height: auto;
        display: flex;
        padding: 0 16px;        /* ← 左右余白は slide が持つ */
        background: transparent;
    }

    /* カード本体 */
    .content-box.features .features-box .features-item{
        width: 100%;
        height: 100%;
        background: #fff;
        border: 2px solid #e7141a;
        border-radius: 20px;
        padding: 20px;
        margin: 0;

        display: flex;
        flex-direction: column;
        gap: 15px;
    }

    /* pagination */
    .content-box.features .features-box .swiper-pagination{
        position: relative;
        margin-top: 12px;
    }

    /* ナビボタン */
    .features-swiper .swiper-button-prev,
    .features-swiper .swiper-button-next{
        width: 36px;
        height: 36px;
        background: #fff;
        border: 2px solid #e7141a;
        border-radius: 50%;
        color: #e7141a;
        box-shadow: 0 2px 6px rgba(0,0,0,.15);
        z-index: 10;
    }

    .features-swiper .swiper-button-prev::after,
    .features-swiper .swiper-button-next::after{
        font-size: 14px;
        font-weight: bold;
    }

    .features-swiper .swiper-button-prev{ left: 0; }
    .features-swiper .swiper-button-next{ right: 0; }

    /*よくあるご質問*/
    .faq-question__wrap
    {
        padding-left: 30px;
        padding-right: 30px;
    }
    .faq-answer__wrap.active
    {
        padding-left: 30px;
    }
    .faq-answer__text::before
    {
        left: -25px;
        font-size: 1rem;
    }
    .faq-answer__text
    {
        line-height: 1rem;
    }
    .plus-icon
    {
        right: 0;
        width: 1rem;
    }
    .faq-question__title
    {
        font-size: 1rem;
    }
    .faq-question__title::before
    {
        left: -30px;
    }

    /*お問い合わせ*/
    .contact
    {
        margin: 50px 0 100px;
        padding: 20px;
        box-sizing: border-box;
    }
    .contact-box
    {
        flex-direction: column;
    }
    .contact-item
    {
        width: 100%;
    }
    .contact-index
    {
        font-size: 1rem;
    }
    .tel-link {
    pointer-events: auto;
    text-decoration: underline;
    font-size: 2rem;
    }
    
}
@media screen and (max-width:525px){
.store-buttons
    {
        /*flex-direction: column;*/
        padding: 10px;
        /*gap: 10px;*/
    } 
    .app-banking-topimg,.app-mockup
    {
        height: 50%;
        
        flex-direction: row;
        justify-content: center;
    }
    .app-mockup
    {
        width: 50%;
        aspect-ratio: 254 / 479;
    }
    .app-mockup>div
    {
        width: 110%;
        top: 0;
        left: 50%;
        transform: translateX(-50%);
    }
    
}