

/*######################################################################
共通設定
######################################################################*/

:root {
    --width__main-content: min(35%, 375px);
    --color__accent: #FF7BAC;
}

/* コンテンツ全体の調整 */
body {
    width: 35%;
    margin-inline: auto;
    /* font-family: "yu-gothic-pr6n", sans-serif; */
    font-weight: 400;
    font-style: normal;
    font-optical-sizing: auto;
    background-color: #fff;

    &.page { /* bodyが .page というクラス名を持っているときだけ */
        margin: 0 auto;
    }
}

/* スマホ向け */
@media (max-width: 767px) {
  body {
    width: 100%;
  }
}


h1 {
    margin: 0;
}

p, a, ul, ol, table {
    /* 400-768 */
    font-size: clamp(0.875rem, 0.739rem + 0.543vw, 1rem);
}

/* imgタグの調整 */
img {
    vertical-align: top;
    width: 100%;
}

.sp {
    display: none;
}

@media (max-width: 767px) {
    .pc {
        display: none;

    }
 }


/* 折り返し */
/* PC版でのみ表示 */
.pc {
    display: inline; /* PCでは表示 */
}

@media (max-width: 767px) {
    .pc {
        display: none; /* SPでは非表示 */
    }
}
/* SP版でのみ表示 */
.sp {
    display: none; /* PCでは非表示 */
}

@media (max-width: 767px) {
    .sp {
        display: inline; /* SPでは表示 */
    }
}

span.strong {
    font-weight: bold; /* 太字にする */
    font-size: 1em;  /* 強調のためにサイズを若干大きく（任意） */
}




.pc_only {
    display: block; /* PCでは表示 */
}

@media (max-width: 767px) {
    .pc_only {
        display: none; /* SPでは非表示 */
    }
}
.sp_only {
    display: none; /* PCでは非表示 */
}
@media (max-width: 767px) {
    .sp_only {
        display: block; /* SPでは表示 */
    }
}


/*------------------------------------------------------------
スクロールアニメーション
------------------------------------------------------------*/

/* フェードイン */
.fadein {
    opacity: 0;
    animation: fadein 1s ease-in forwards;
}

@keyframes fadein {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.fadein-scrollin {
    opacity: 0;
    transform: translate(0, 0);
    transition: all 1.5s;


    &.scrollin-left {
        transform: translate(-30px, 0);
    }

    &.scrollin-right {
        transform: translate(30px, 0);
    }

    &.scrollin-bottom {
        transform: translate(0, 30px);
    }

    &.scrollin {
        opacity: 1;
        transform: translate(0, 0);
    }
}

/*######################################################################
コンテンツ
######################################################################*/
/*------------------------------------------------------------
cta
------------------------------------------------------------*/
.cta {
    position: relative;
}

.cta01__btn {
    position: absolute;
    width: 96%;
    top: 85%;
    left: 50%;
    transform: translateX(-50%);
}
.cta02__btn {
    position: absolute;
    width: 96%;
    top: 86%;
    left: 50%;
    transform: translateX(-50%);
}


/*------------------------------------------------------------
footer
------------------------------------------------------------*/
.footer {
    padding: 0.2rem 0;
    background-color: #E0F8D9;
    color: #1D7612;
    font-style: normal;

}

.footer__nav {

    font-size: clamp(0.688rem, 0.616rem + 0.357vw, 0.938rem);
    letter-spacing: 0.8px;
    
    ul {
        display: flex;
        justify-content: center;
        list-style: none;
        margin: 0.5em 0 0.5em;
        padding: 0;

        li:not(:last-child)::after {
            content: "　";
        }
    }

    a {
        text-decoration: none;
        transition: 0.2s;
        /* 15-9px */
        font-size: clamp(0.563rem, 0.134rem + 0.893vw, 0.938rem);
        font-weight: 500;

        &:hover {
            color: lightgray;
        }
    }
}
.copyright__p {
    text-align: center;
    font-weight: 500;
    letter-spacing: 0.6px;
    margin: 0 0 2% 0;
    /* 15-9px */
    font-size: clamp(0.563rem, 0.134rem + 0.893vw, 0.938rem);
}
@media (max-width: 767px) {
    .footer__nav {
        a {
            /* 20-9px */
            font-size: clamp(0.563rem, 0.07rem + 2.461vw, 1.25rem);
        }
    }
    .copyright__p {
        /* 20-9px */
        font-size: clamp(0.563rem, 0.07rem + 2.461vw, 1.25rem);
    }
}

.follow__btn {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: none;
}

