@charset "UTF-8";

:root {
    --color-font-gray: #333333;
    --color-title-indigo: #013049;
    --color-funpos-red: #d62828;
    --color-eco-green: #02c39a;
    --color-line-green: #06c755;

}

html {
    background: #fff;
    color: var(--color-font-gray);
    font-family: 'M PLUS Rounded 1c', sans-serif;
}


body {
    line-height: 1.6;
}

h1,
h2,
h3 {
    font-weight: 700;
    color: var(--color-funpos-red);
}

h1 {
    font-size: clamp(1.875rem, 1.023rem + 3.64vw, 3.75rem);
}

h2 {
    font-size: clamp(1.563rem, 0.852rem + 3.03vw, 3.125rem);
}

h3 {
    font-size: clamp(1.4rem, 0.891rem + 2.55vw, 2.8rem);
}

p {
    font-size: clamp(0.85rem, 0.723rem + 0.64vw, 1.2rem);
}

small {
    font-size: 0.8em;
}

strong {
    font-size: 1.2em;
    font-weight: 700;
}

/* switch sp or pc*/
.pc-only {
    display: none;
}

@media (min-width: 768px) {
    .sp-only {
        display: none;
    }

    .pc-only {
        display: block;
    }
}


/* header */
.header {
    background-color: var(--color-funpos-red);
}

.header-inner {
    display: flex;
    justify-content: flex-end;
    max-width: 1024px;
    padding: 0.3rem 0.3rem;
    margin: auto;
}

.nav-btn {
    color: #fff;
    font-size: 24px;
    cursor: pointer;
}

.open .nav-btn {
    z-index: 110;
}

.nav-btn .fa-bars {
    display: revert;
}

.open .nav-btn .fa-bars {
    display: none;
}

.nav-btn .fa-xmark {
    display: none;
}

.open .nav-btn .fa-xmark {
    display: revert;
}

/* for sp */
@media (max-width: 767px) {
    .nav {
        position: fixed;
        inset: 0 -100% 0 100%;
        z-index: 100;
        background-color: var(--color-funpos-red);
        transition: transform 0.3s;
    }

    .open .nav {
        transform: translate(-100%, 0);
    }

    .open body {
        position: fixed;
        overflow: hidden;
    }

    .nav ul {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
        gap: 20px;
    }

    .nav ul a {
        color: #fff;
        font-size: 0.8rem;
        line-height: 1.8em;
        text-decoration: none;
    }

    .nav a:visited {
        color: #f1b4b4;
    }
}

/* main */
.grid-area {
    display: grid;
    place-content: center;
    grid-template-columns: 5vw 1fr 5vw;
    position: relative;
    max-width: 1028px;
    margin: auto;
}

.grid-area>* {
    grid-column: 2 / -2;
}

.top-logo {
    max-width: 80vw;
    margin: 1rem auto;
}

.top-kv {
    grid-column: 1/-1;
    grid-row: 2/3;
    margin: auto;

}

.top-kv img {
    max-width: 960px;
}

.top-point {
    grid-row: 2/3;
}

.top-point img {
    width: 30vw;
    position: absolute;
    right: 5%;
    top: 100px;
    animation: fadein 7s ease-out forwards;
}

@keyframes fadein {
    0% {
        opacity: 0;
        transform: scale(0.7);
    }

    100% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.top-title,
.top-title-pc {
    grid-row: 2/3;
}

.top-title img {
    width: 88vw;
    position: absolute;
    top: clamp(23rem, 9.383rem + 68.09vw, 27rem);
    right: 0;
    left: 0;
    margin: 0 auto;
    max-width: 640px;
}

.top-title-pc img {
    width: 75vw;
    position: absolute;
    top: clamp(34.688rem, 15rem + 41.02vw, 41.25rem);
    right: 0;
    left: 0;
    margin: 0 auto;
    max-width: 800px;
}

/* ボタンのヘッドライン */
.button-headline {
    background-color: #fff;
    width: 85vw;
    max-width: 640px;
    border-radius: 10px 10px 0 0;
    text-align: center;
    margin: -1.6rem auto 0;
}

.headline {
    font-weight: bold;
    font-size: clamp(1.1rem, 0.773rem + 1.64vw, 2rem);
    color: var(--color-funpos-red);
    text-align: center;
    padding-top: 0.2rem;
}

/* ラインボタン */
.l-line-button,
.houjin-button {
    margin: 1rem auto 1.2rem;
}

.line-button {
    color: #fff;
    font-size: clamp(1.4rem, 0.891rem + 2.55vw, 2.8rem);
    font-weight: 700;
    background: linear-gradient(180deg, #51d888 0%, #51d888 50%, #06c755 50%, #06c755 100%);
    width: 50vw;
    max-width: 320px;
    border-radius: 10px;
    padding: 2px 10px;
}

.houjin-button {
    color: var(--color-title-indigo);
    font-size: clamp(1rem, 0.855rem + 0.73vw, 1.4rem);
    font-weight: 400;
    background-color: #fff;
    width: 50vw;
    max-width: 375px;
    padding: 2px 10px;
    border-color: #333333;
    border-style: solid;
    border-width: 1px;

}

/* 区切り線 */
.red-triangle {
    grid-column: 1/-1;
    position: relative;
    background: var(--color-funpos-red);
    padding: 1px;
    margin-bottom: 20px;
}

.red-triangle::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border-top: 15px solid var(--color-funpos-red);
    border-right: 15px solid transparent;
    border-left: 15px solid transparent;
}

.title-red {
    text-align: center;
    margin-bottom: 0.5em;
}

.text-indigo,
.text-red {
    font-size: clamp(1.2rem, 0.727rem + 2.36vw, 2.5rem);
    font-weight: 700;
    text-align: center;
    line-height: 1.4em;
}

.text-indigo {
    color: var(--color-title-indigo);
}

.text-red {
    color: var(--color-funpos-red);
}

.three-div {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 5vw;
    padding: 0.5rem;
    margin: 0.7rem auto 0.5rem;
    max-width: 640px;
}

.three-div p {
    font-size: clamp(0.8rem, 0.545rem + 1.27vw, 1.5rem);
    color: var(--color-title-indigo);
    font-weight: 700;
    text-align: center;
    line-height: 1.2em;
    margin-top: 0.5em;
}

/* eco area */
.eco-area,
.corpo-area {
    background-color: #d9f6f0;
    border-radius: 18px;
    padding: clamp(1.25rem, 0.147rem + 4.71vw, 2.5rem);
    text-align: center;
    max-width: 800px;
    margin: 1rem auto 1rem;
}

.eco-area {
    margin-bottom: 2rem;
}

.corpo-area {
    background-color: #e6eaed;
}

.eco-area h2 {
    color: var(--color-eco-green);
    line-height: 1.4em;
    margin-bottom: 0.5rem;
}

.corpo-area h2 {
    color: var(--color-title-indigo);
    line-height: 1.4em;
    margin-bottom: 1rem;
}

.eco-area p {
    text-align: left;
}

.corpo-area p {
    text-align: left;
}

.eco-area img {
    width: 40%;
    margin-top: 1em;
}

/* sub title set */
.subtitle-set {
    display: grid;
    justify-items: center;
    max-width: 800px;
    margin: 0 auto 1rem;
}

.subtitle-set img {
    margin: 1em auto 2em;
    width: 80%;
}

/* YouTube */
.iframeHeight {
    grid-column: 1/-1;
    position: relative;
}


/* アコーディオン */
.margin-top-faq {
    margin-top: 2rem;
}

.accordion-003 {
    max-width: 1060px;
    margin: 0 auto 7px;
    border-bottom: 2px solid #f1b4b4;

}

.accordion-003 summary {
    display: grid;
    grid-template-columns: 1fr auto;
    column-gap: 5px;

    position: relative;
    padding: 1em 2em;
    color: var(--color-funpos-red);
    font-weight: 700;
    cursor: pointer;
    font-size: clamp(1rem, 0.855rem + 0.73vw, 1.4rem);
}

.accordion-003 summary::-webkit-details-marker {
    display: none;
}

.accordion-003 summary::after {
    transform: translateY(-25%) rotate(45deg);
    width: 14px;
    height: 14px;
    margin-left: 15px;
    border-bottom: 4px solid var(--color-funpos-red);
    border-right: 4px solid var(--color-funpos-red);
    content: '';
    transition: transform .3s;
}

.accordion-003[open] summary::after {
    transform: rotate(225deg);
}

.accordion-003 p {
    transform: translateY(-10px);
    opacity: 0;
    margin: 0;
    padding: .3em 2em 1.5em;
    color: var(--color-font-gray);
    transition: transform .5s, opacity .5s;
}

.accordion-003[open] p {
    transform: none;
    opacity: 1;
}

/* Footer*/
.footer {
    background-color: var(--color-funpos-red);
    margin-top: 2rem;
}

.footer-inner {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    column-gap: 40px;
    padding: 1.4rem;
    margin: auto;
    max-width: 800px;
}

.footer-text ul a {
    color: #fff;
    font-size: 0.8rem;
    line-height: 1.8em;
    text-decoration: none;
}

.footer-text a:visited {
    color: #f1b4b4;
}

.caption {
    grid-column: 1/-1;
    grid-row: 2/3;
    color: #fff;
    text-align: center;
    font-size: 0.8rem;
    padding: 1rem;
}