@charset "UTF-8";

/* Do not reset * or lock body — this page sits inside the site header/footer */
#mainContents {
    font-family: 'Noto Sans JP', 'ヒラギノ角ゴPro W3', 'Hiragino Kaku Gothic Pro', '游ゴシック体', YuGothic, '游ゴシック Medium', 'Yu Gothic Medium', '游ゴシック', 'Yu Gothic', メイリオ, Meiryo, sans-serif;
    overflow-x: hidden;
    -webkit-text-size-adjust: 100%;
    text-size-adjust: 100%;
}
#mainContents img {
    width: auto;
    max-width: 100%;
    height: auto;
}
.mainContents {
    padding: 0px;
    text-align: center;
}
.mainContents .inner {
    padding: 32px 35px 32px 35px;
}
.mainContents .txtLeft {
    text-align: left;
}
.mainContents .fzLarger {
    font-weight: 900;
    font-size: 42px;
    line-height: 1.5;
    letter-spacing: -0.8px;
}
.mainContents .mb20 {
	margin-bottom: 20px;
}
.mainContents .txtMedium {
    font-weight: 500 !important;
}
.mainContents .txtBold {
    font-weight: 700 !important;
}
.mainContents .txtBlack {
    font-weight: 900 !important;
}
#contentsWrap {
    padding: 0;
}
#breadcrumbs  {
    position: relative;
    margin-top: 0;
}
/* Fontsize */
#mainContents {
    font-size: clamp(16px, 2.5vw, 24px); 
}
#mainContents h1 {
    font-size: 40px;
    line-height: 1.3;
    margin-top: 39px;
    margin-bottom: 24px;
    letter-spacing: 0.2px;
}
#mainContents h2 {
    font-size: 48px;
    font-weight: 700;
    width: 100%;
    text-align: center;
    line-height: 1.2;
    letter-spacing: 1.8px;
    padding: 30px;
}
#mainContents p {
    font-size: 32px;
    font-weight: 500;
}

/* ボタン */
.btnlink {
    font-size: 28px;
    position: relative;
    text-decoration: none;
    display: inline-block;
    color: #111111;
    font-weight: 700;
    padding: 17px 36px 19px 21px;
    border-radius: 50px;
    outline: none;
    background:
        linear-gradient(white, white) padding-box,
        linear-gradient(to right, #78bdfe, #0a5ad5) border-box;
    border: 4px solid transparent;
}
.btnlink.btnarrow {
    color: #111111;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.btnBlue {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 560px;
    height: 100px;
    max-width: 100%;
    margin: 0 auto;
    color: #fff;
    background: #0036a8;
    font-size: 36px;
    font-weight: 700;
    text-decoration: none;
    box-sizing: border-box;
    border-radius: 50px;
    margin-top: 36px;
    margin-bottom: 15px;
}
.btnarrow::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto 0;
    right: 3.64vw;
    width: 20px;
    height: 11px;
    background: url(/tsunagu/smilefuture/after_expo/images/arrow-blue.png) no-repeat center / contain;
    border: none;
    transform: none;
}

/* タイトル様式 */
.gradient-title {
    color: #fff;
    background: linear-gradient(to right, #78bdfe, #0a5ad5);
}

/* Main area */
.sp-container {
    width: 100%;
    max-width: 100%;
    background: #fff;
    margin: 0 auto;
}
@media (min-width: 769px) {
    .sp-container::after {
        position: fixed;
        bottom: 8%;
        right: calc(50% - 220.5px); 
        transform: translateX(100%);
        content: '';
        display: inline-block;
        width: 44px;
        height: 87px;
        background-image: url(/tsunagu/smilefuture/after_expo/images/icon_scroll.png);
        background-size: contain;
        z-index: 1;
    }
}
@media (min-width: 769px) {
    .sp-container.hide-scroll-icon::after {
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s;
    }
}
/* SP layout */
@media (max-width: 768px) {
    .sp-container {
        width: 100%;
        max-width: 100%;
    }
}
/* Main area */

/* top area */
#mainContents .top_lead  {
    text-align: center;
}
#mainContents .top_lead .top_lead_title  {
    text-align: center;
    margin-top: 8px;
    margin-bottom: 23px;
    font-size: 36px;
    line-height: 56px;
}
#mainContents .top_lead .top_lead_text {
    font-size: 32px;
    line-height: 52px;
}
#mainContents .nav_list {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 14px 10px;
    justify-content: flex-start;
    align-items: center;
    margin: 62px 0px 87px;
}
#mainContents .nav_list li{
    width: calc((100% - 10px) / 2);
}

/* campaign area */

#campaign h3 {
    font-size: 32px;
    font-weight: 800;
    width: 91%;
    background: #afcdff;
    color: #0236a4;
    text-align: center;
    margin: auto;
    margin-top: 30px;
    margin-bottom: 12px;
}

#campaign .campaign_lead_title {
    font-size: 36px;
    font-weight: 700;
    line-height: 1.54;
    margin-top: 8px;
    letter-spacing: 0.2px;
    margin-bottom: 23px;
}

#campaign .campaign_lead_text {
    font-size: 32px;
    line-height: 52px;
    text-align: left;
    margin-bottom: 57px;
}

#campaign .campaign_info_item {
    margin-top: 54px;
}

#campaign .campaign_info_item:last-of-type {
    margin-bottom: 75px;
}

#campaign .campaign_info_item_text {
    font-size: 36px;
    line-height: 56px;
    margin-top: 10px;
}

/* join area */
#join h3 {
    font-size: 36px;
    line-height: 56px;
    font-weight: 700;
    text-align: left;
    margin-bottom: 15px;
    padding-left: 55px;
}
#join h3 .join_step_number {
    font-size: 50px;
    font-weight: 900;
    color: #0068b7;
    line-height: 1.2;
    margin-left: -1em;
}
#join h3 .text-note {
    text-indent: 0;
    padding-left: 0;
}
#join .join_step {
    margin-bottom: 60px;
}
#join .join_step:first-of-type {
    margin-top: 5px;
}
#join .text-note {
    font-size: 26px;
    line-height: 42px;
    text-indent: -1em;
    padding-left: 1em;
}
#join .join_store {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
    padding: 0 61px 0 92px;
}
#join .join_store a {
    line-height: 0;
    max-width: 48%;
}
#join .join_img_01 {
    width: 525.5px;
    height: auto;
    margin-top: 73px;
}
#join .icon_AppStore {
    width: 182px;
    height: auto;
}
#join .icon_GooglePlay {
    width: 207px;
    height: auto;
}
#join .join_img_02 {
    width: 241.75px;
    height: auto;
    margin-top: 7px;
    margin-bottom: 4px;
}
#join .join_img_03 {
    width: 462.5px;
    height: auto;
}
#join .join_img_05 {
    width: 617.5px;
    height: auto;
    transform: translateX(24px) translateY(-2px);
    margin-bottom: 33px;
}
#join .btnlink.btnarrow {
    margin: auto;
}
#join .btnarrow::after {
    transform: rotate(-90deg);
}

/* cp-eligible area */
#cp-eligible ul {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 38px 0px;
    list-style: none;
    padding: 0;
    margin: 24px 0 80px;
}
#cp-eligible figure {
    margin: 0;
}
#cp-eligible img {
    display: block;
    margin: 0 auto;
}
#cp-eligible figure p {
    font-weight: bold;
    font-size: 28px;
    text-align: center;
    margin-top: 8px;
}

/* faq area */
#faq .inner {
    display: flex;
    flex-direction: column;
    gap: 52px;
    padding-bottom: 121px;
}
#faq .faq-ttl {
    font-size: 32px;
    line-height: 52px;
    font-weight: 900;
    margin: 0;
}
#faq .faq-txt {
    font-size: 32px;
    line-height: 52px;
    font-weight: 500;
    margin: 0;
}

/* notes area */
#notes .notes_text {
    font-size: 32px;
    line-height: 52px;
    margin-top: 5px;
}
#notes .notes_note {
    font-size: 26px;
    line-height: 37px;
    text-indent: -1em;
    padding-left: 2em;
    margin-top: 10px;
    margin-bottom: 89px;
}
/* rule area */
#rule .inner {
    display: flex;
    flex-direction: column;
    gap: 43px;
}
#rule p {
    margin: 0;
    font-size: 28px;
    line-height: 44px;
}
#rule .rule_note {
    font-size: 28px;
    line-height: 44px;
}

#rule .rule_contact_tel {
    color: #307ce3;
    text-decoration: underline;
    text-underline-offset: 10px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
}

#rule .rule_contact_tel:hover {
    text-decoration: none;
}
/* contact area */
#contact .contact_lead {
    font-size: 36px;
}
#contact .contact_text {
    font-size: 32px;
    line-height: 62px;
}
#contact a {
    color: #307ce3;
    text-decoration: underline;
    text-underline-offset: 16px;
    word-break: break-word;
    overflow-wrap: break-word;
    hyphens: auto;
    width: 100%;
    display: block;
}
#contact a:hover {
    text-decoration: none;
}

#contact .btnlink {
    display: flex;
    font-size: 32px;
    color: #333;
    text-decoration: none;
    text-align: center;
    font-weight: bold;
    line-height: 1.2;
    background: linear-gradient(white, white) padding-box, linear-gradient(to right, #78bdfe, #0a5ad5) border-box;
    border: 8px solid transparent;
    border-radius: 80px;
    padding: 24px 30px 20px 30px;
    margin: 30px auto 0px;
    height: clamp(90px, 18.92vw, 140px);
}
#contact .btnarrow::after {
    content: '';
    display: inline-block;
    width: 27.5px;
    height: 25.5px;
    right: 40px;
    background-image: url(/tsunagu/smilefuture/after_expo/images/arrow-blue-right.png);
    background-size: contain;
    vertical-align: middle;
    transform: rotate(0deg);
    border: none;
}

/* sns area */
.sns {
    min-height: 180px;
    height: auto;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    gap: 45px;
    margin: 63px auto 50px 14px;
}
.sns.inner {
    padding-top: 30px;
    padding-bottom: 30px;
}
.sns a {
    flex-shrink: 0;
    line-height: 0;
}
.sns img {
    width: 120px;
    height: auto;
    display: block;
}


/* 〜749px: 768pxレイアウトを画面幅に合わせて等比スケール（375pxで50%、750pxで100%）
   iOS Safari は zoom: calc() を無視するため、transform と js/scroll.js の数値指定で補完 */
@media (max-width: 749px) {
    .sp-container {
        width: 100%;
        overflow: hidden;
    }
    .sp-content {
        width: 750px;
        overflow: hidden; /* 子要素のmargin相殺を防ぎ、縮小後の高さ計算からSNSが欠けないようにする */
        zoom: calc(100vw / 750px); /* Chromium / Firefox。iOS は無効 */
        transform-origin: top left;
    }
    /* vw / clamp を768px時の計算値に固定し、zoom だけで拡縮する */
    #mainContents {
        font-size: 19.2px;
    }
    .btnarrow::after {
        right: 27.96px;
    }
    #contact .btnlink {
        height: 140px;
    }
}

/* iOS Safari: zoom:calc() 非対応なので、JS 適用前から transform で等比縮小 */
@supports not (zoom: calc(100vw / 750px)) {
    @media (max-width: 749px) {
        .sp-content {
            transform: scale(calc(100vw / 750px));
        }
    }
}

/* PC (≥769px) layout — 768px時の見た目を50%に等比縮小（幅375px） */
@media (min-width: 769px) {
    .sp-container {
        position: relative;
        width: 381px;
        max-width: 100%;
        margin: 0 auto;
        z-index: 2;
        border-left: 3px solid #dddddd;
        border-right: 3px solid #dddddd;
        box-sizing: border-box;
    }
    .sp-content {
        width: 750px;
        zoom: 0.5;
        overflow: hidden; /* h1 の margin-top がコンテナ外へ相殺されるのを防ぐ */
    }
    /* vw値を768px時の計算値に固定（zoom 0.5 で50%になる） */
    #mainContents {
        font-size: 19.2px;
    }
    .btnarrow::after {
        right: 27.96px;
    }
}
