
body {
    font-family: "Zen Maru Gothic", sans-serif;
    line-height: normal;
    background-color: white;
}

.break {
    display: inline-block;
}

h2 {
    font-family: "Zen Maru Gothic", sans-serif;
    gap: 0;
    font-weight: bold;
}

/*-------------------------------------------------

fv

-------------------------------------------------*/

.article .fv-area {
    background-image: url(back-fv.svg);
    background-color: #982126;
    height: auto;
    position: relative;
    margin-bottom: 80px;
}

.article .fv-area::before {
    position: absolute;
    content: '';
    width: 100%;
    height: 100px;
    bottom: 0;
    left: 0;
    background-image: url(factory.png);
    background-repeat: repeat-x;
    background-size: min(15%, 80px);
    background-position: bottom left;
    opacity: .5;
}

.fv-area .inner {
    padding-top: 100px;
    padding-bottom: 280px;
    position: relative;
    margin-bottom: 50px;
    z-index: 90;
}

.fv-area .inner::before {
    position: absolute;
    content: '';
    width: 60px;
    height: 60px;
    top: 10%;
    left: 32px;
    border-radius: 50%;
    background: #00FF85;
}

.fv-area .inner img.title {
    max-width: 300px;
    display: block;
    margin: 1em auto;
    position: relative;
    z-index: 100;
    filter: drop-shadow(0 5px 10px rgba(0, 0, 0, 0.5));
}

.fv-area .inner h1 {
    width: min(90%, 400px);
    font-size: min(12vw, 64px);
    position: static;
    border: none;
    padding: 0;
    transform: none;
    text-align: center;
    margin: 0 auto;
}

.fv-area .inner h1::before {
    display: none;
}

.fv-area .inner h1 img {
    width: 100%;
}

.fv-area .img-1,
.fv-area .img-2,
.fv-area .img-3 {
    position: relative;
}

.fv-area .inner > div img {
    width:  100%;
    border: solid 15px #B7282E;
    box-shadow: 0 5px 10px rgb(0 0 0 / 50%);
    border-radius: 50%;
    box-sizing: border-box;
}

.fv-area .inner > div > p {
    position: absolute;
    background: #B3DF01;
    font-family: "Zen Maru Gothic", sans-serif;
    aspect-ratio: 1/1;
    width: fit-content;
    border-radius: 50%;
    font-weight: 600;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4px;
    margin: 0;
    font-size: clamp(16px, 3vw, 20px);
}

.fv-area .img-1 {
    position: absolute;
    bottom: 100px;
    left: 16px;
    width: 180px;
    aspect-ratio: 1/1;
    border-radius: 50%;
    margin: 0;
    z-index: auto;
}

.fv-area .img-1::before {
    position: absolute;
    content: '';
    width: 52px;
    height: 52px;
    top: 16px;
    right: -16px;
    border-radius: 50%;
    background: #01FFE3;
    z-index: -10;
}

.fv-area .img-1 p {
    top: -16px;
    left: -16px;
    transform: rotate(-20deg);
}

.fv-area .img-2 {
    position: absolute;
    bottom: -8px;
    right: 16px;
    width: 160px;
    margin: 0;
    aspect-ratio: 1/1;
    border-radius: 50%;
}

.fv-area .img-2::before {
    position: absolute;
    content: '';
    width: 92px;
    height: 92px;
    bottom: -32px;
    right: -16px;
    border-radius: 50%;
    background: #F3DF2A;
    z-index: -10;
}

.fv-area .img-2 p {
    top: -32px;
    right: 0;
    transform: rotate(20deg);
}

.fv-area .img-3 {
    position: absolute;
    bottom: -120px;
    left: 32px;
    margin: 0;
    aspect-ratio: 1/1;
    width: 140px;
    border-radius: 50%;
}

.fv-area .img-3::before {
    position: absolute;
    content: '';
    width: 76px;
    height: 76px;
    bottom: 0;
    right: -48px;
    border-radius: 50%;
    background: #FF9F00;
    z-index: -10;
}

.fv-area .img-3 p {
    top: -32px;
    left: -32px;
    transform: rotate(-20deg);
}

.fv-area .fv-text {
    max-width: 400px;
    margin: 0.5em auto;
    text-align: center;
    color: white;
    font-weight: 600;
}

.fv-area .date {
    background: white;
    border: solid 6px #CF3721;
    border-radius: 999px;
    width: min(80%, 300px);
    text-align: center;
    padding: 16px;
    color: #CF3721;
    font-weight: bold;
    margin: 0 auto;
    font-weight: bold;
}

@media screen and (min-width: 640px) {
    
    .fv-area .inner {
        max-width: 1024px;
        margin: 0 auto;
        padding-bottom: 80px;
    }

    .fv-area .inner img.title {
        margin-top: 0;
    }

    .fv-area .img-1 {
        width: min(20%, 240px);
        top: 40%;
        bottom: auto;
        right: 0;
        left: auto;
        transform: translateY(-50%);
    }

    .fv-area .img-1::before {
        bottom: -16px;
        top: auto;
        right: 0;
    }

    .fv-area .img-2 {
        width: min(25%, 260px);
        left: -32px;
        bottom: 16%;
        top: auto;
    }

    .fv-area .img-2::before {
        left: 16px;
        right: auto;
    }

    .fv-area .img-3 {
        width: min(20%, 300px);
        height: fit-content;
        left: auto;
        right: 10%;
        top: auto;
        bottom: -50%;
        transform: translateY(-50%);
    }

    .fv-area .img-3 p {
        transform: rotate(20deg);
        right: -32px;
        left: auto;
        top: 0;
    }
}

@media screen and (min-width: 700px) {

    .fv-area .inner {
        padding-top: 160px;
    }
}

@media screen and (min-width: 1088px) {
    .fv-area .inner {
        overflow: visible;
    }
}

/*-----------------------------------------------

こんなことができるよ！

------------------------------------------------*/

#possible {
    position: relative;
    z-index: 20;
}

#possible h2 {
    display: flex;
    justify-content: center;
    align-items: center;
    background: url(fukidashi-1.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    padding: 32px;
    position: relative;
    width: fit-content;
    margin: 0 auto;
}

#possible h2::before {
    position: absolute;
    content: '';
    background-image: url(emphasis.png);
    background-repeat: no-repeat;
    background-size: 100%;
    left: 8px;
    bottom: 24px;
    height: 24px;
    width: 24px;
}

#possible h2::after {
    position: absolute;
    content: '';
    background-image: url(emphasis.png);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scale(-1, -1);
    right: 2px;
    top: 30px;
    height: 24px;
    width: 24px;
}


#possible h2 p {
    font-family: "Darumadrop One", sans-serif;
    color: #CF3721;
    font-size: min(10vw, 48px);
    text-align: center;
}

#possible > p {
    font-size: min(6vw, 20px);
    font-weight: bold;
    text-align: center;
    margin: 30px auto;
    padding: 10px;
}

#possible h2 img {
    width: min(14vw,1.5em);
}

#possible .sld-wrap {
    margin: 0 0 32px;
}

#possible .slider {
    background-image: url(trolley.jpg);
    background-size: 1500px auto;
    padding: 150px 0;
    margin: 30px 0;
    background-repeat: repeat-x; /* 横にループさせたいならこれ */
    background-position: 0 0;
    animation: slide-bg 20s linear infinite
}

@keyframes slide-bg {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: -1500px 0;
    }
}

/*-----------------------------------------

知らないことを見つけに行こう

------------------------------------------*/

.wave {
    width: 100%;
    position: relative;
}

.wave img {
    width: 100%;
}

.wave.top {
    margin-top: 48px;
    margin-bottom: -8px;
    overflow: visible;
    z-index: -10;
}

.wave.top::before {
    position: absolute;
    content: '';
    width: min(25%, 150px);
    aspect-ratio: 322/278;
    top: 0;
    right: 10%;
    background-image: url(hat.png);
    background-size: 100%;
    background-repeat: no-repeat;
}

.wave.bottom {
    transform: scale(1, -1);
    margin-top: -32px;
    z-index: -10;
}

#discover {
    background: #F3F4F5;
    z-index: 10;
    position: relative;
    padding: 0 0 64px;
}

#discover::before {
    position: absolute;
    content: '';
    width: calc(100% + 32px);
    top: -24vw;
    right: 50%;
    aspect-ratio: 700/600;
    background-image: url(footprint.png);
    background-position: top right;
    background-size: min(120%, 700px);
    background-repeat: no-repeat;
    z-index: -10;
}

#discover::after {
    position: absolute;
    content: '';
    width: min(90%, 500px);
    top: 90%;
    right: 0;
    aspect-ratio: 700/700;
    background-image: url(footprint.png);
    background-position: top right;
    background-size: min(110%, 700px);
    background-repeat: no-repeat;
    transform: scale(-1, 1);
    z-index: -10;
}

#discover h2 {
    font-size: min(6vw, 24px);
    text-align: center;
    position: relative;
    margin: 0 auto;
    padding: 0 32px;
    width: fit-content;
}

#discover h2::before {
    position: absolute;
    content: '';
    background-image: url(exclamation.png);
    background-size: contain;
    background-repeat: no-repeat;
    width: 48px;
    height: 80px;
    bottom: -24px;
    right: 16px;
}

#discover h2::after {
    position: absolute;
    content: '';
    background-image: url(emphasis.png);
    background-repeat: no-repeat;
    background-size: 100%;
    transform: scale(-1, -1) rotate(-20deg);
    right: 4px;
    bottom: 48px;
    width: 24px;
    height: 24px;
}

#discover h2 b {
    font-size: min(8vw, 32px);
    color: #CF3721;
}

#discover .flow {
    margin: 64px auto;
    overflow: hidden;
    padding: 0 16px;
}

#discover .img-wrap {
    width: min(80%, 370px);
    position: relative;
    margin: 0 auto;
}

#discover .img-wrap::before {
    position: absolute;
    content: '';
    background-image: url(handle.png);
    background-repeat: no-repeat;
    background-size: 100%;
    width: 20%;
    aspect-ratio: 51/160;
    z-index: -10;
}


#discover div.flow:nth-of-type(1) .img-wrap::before {
    transform: rotate(42.45deg);
    bottom: -72px;
    left: -16px;
}

#discover div.flow:nth-of-type(2) .img-wrap::before {
    transform: rotate(110.86deg);
    bottom: 0px;
    right: -48px;
}

#discover div.flow:nth-of-type(3) .img-wrap::before {
    transform: rotate(-80.19deg);
    top: 32px;
    left: -48px;
}

#discover div.flow:nth-of-type(4) .img-wrap::before {
    transform: rotate(147.01deg);
    bottom: -72px;
    right: 16px;
}

#discover img {
    border-radius: 50%;
    border: solid 20px black;
    display: block;
    width: 100%;
    box-sizing: border-box;
}

#discover .title {
    font-size: min(6vw, 32px);
    width: fit-content;
    margin: 16px auto;
    font-weight: bold;
    border: solid 20px black;
    border-image-source: url(fukidashi-2.svg);
    border-image-slice: 20 fill;
    text-align: center;
}

#discover div.flow:nth-of-type(even) .title {
    border-image-source: url(fukidashi-3.svg);
}

#discover .txt {
    width: 80%;
    max-width: 640px;
    margin: 0 auto;
    font-weight: bold;
}

@media screen and (min-width: 640px) {
    #discover .flow {
        display: flex;
        justify-content: center;
        align-items: center;
        max-width: 1100px;
        margin: 64px auto;
    }

    #discover div.flow:nth-of-type(4) {
        padding-bottom: 200px;
    }

    #discover .flow .img-wrap {
        width: min(50%, 400px);
        box-sizing: border-box;
        margin: 0;
    }

    #discover div.flow:nth-of-type(even) .img-wrap {
        order: 2;
    }

    #discover .flow .txt-area {
        width: max(50%, calc(100% - 300px));
        box-sizing: border-box;
        margin-top: 120px;
        width: fit-content;
    }

    #discover div.flow:nth-of-type(even) .txt-area {
        order: 1;
    }

    #discover .flow .txt-area .title {
        margin: 16px auto 16px -32px;
        position: relative;
        z-index: 10;
    }

    #discover div.flow:nth-of-type(even) .txt-area .title {
        margin-right: -32px;
        margin-left: auto;
    }

    #discover .flow .txt-area .txt {
        width: 100%;
        width: fit-content;
        margin: 16px auto;
    }
}


/*-------------------------------------------------

たとえば！

-------------------------------------------------*/

#example {
    border: solid 6px #CF3721;
    border-radius: 32px;
    margin: 100px 16px;
    padding: 0 16px;
    background: white;
    max-width: 1100px;
}

#example h3 {
    font-size: min(12vw, 32px);
    color: #CF3721;
    width: fit-content;
    margin: -32px auto 32px;
    padding: 0 24px;
    background: white;
    font-weight: 900;
    line-height: 1.2em;
}

#example .wrapper {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 0 2%;
}

#example .item {
    margin: 0 auto 32px;
}

#example .item img {
    width: min(100%, 400px);
    display: block;
    margin: 0 auto;
    border-radius: 16px;
    aspect-ratio: 3 / 2;
    object-fit: cover;
}

#example .item h4 {
    font-weight: bold;
    text-align: center;
    font-size: 1.3em;
    margin: 16px 12px;
}

#example .item > p {
    color: #CF3721;
    text-align: center;
    font-weight: bold;
}

@media screen and (min-width: 1100px) {
    #example {
        margin: 120px auto;
    }
}

/*--------------------------------------------

bottom-area

---------------------------------------------*/
.bottom-area .bottom-txt {
    font-size: min(6vw, 32px);
    text-align: center;
    width: 80%;
    margin: 64px auto;
    font-weight: bold;
    max-width: 640px
}

.bottom-area .bottom-txt b {
    color: #CF3721;
}

.bottom-area .flag-btn {
    margin: 40px auto;
    text-decoration: none;
    display: block;
    text-align: center;
}

.bottom-area .flag-btn::before {
    display: none;
}

.bottom-area .flag-btn .inner {
    position: relative;
    background: #CF3721;
    font-family: "Darumadrop One", sans-serif;
    font-size: 2em;
    margin: 16px auto 0;
    text-decoration: none;
    color: white;
    text-align: center;
    border-radius: 36px;
    padding: 8px 50px 8px 30px;
}

.bottom-area .flag-btn .inner:before {
    position: absolute;
    content: '';
    top: 55%;
    right: -10px;
    width: 64px;
    aspect-ratio: 56 / 96;
    background: url(hata.svg) no-repeat;
    transform: rotate(20deg) translateY(-50%);
    transition: .2s;
}

.bottom-area .flag-btn:hover .inner::before {
    transform: rotate(5deg) translateY(-50%);
}
