@charset "utf-8";

@font-face {
    font-family: "Noto Sans JP";
    font-weight: normal;
    src: url("../../fonts/Noto_Sans_JP/NotoSansJP-Regular.ttf") format("truetype");
}

@font-face {
    font-family: "Noto Sans JP";
    font-weight: bold;
    src: url("../../fonts/Noto_Sans_JP/NotoSansJP-Bold.ttf") format("truetype");
}

html {
    font-family: 'Noto Sans JP',Hiragino Kaku Gothic ProN,Meiryo,'Helvetica Neue',Arial,sans-serif;
    color: #221815;
    scroll-behavior: smooth;
}

body {
    background-color: #ffffff;
    background-size: 600px 42px;
    background-position: bottom;
}

p {
	line-height: 1.4;
    word-wrap: break-word;
    word-break: break-word;
}

img {
    width: 100%;
    max-width: 100%;
    height: auto;
}

/* 出し分け */
.u-show_pc {
    display: block;
}

.u-show_sp {
    display: none;
}

.u-show_sp_small {
    display: none;
}

.display-layout {
    display: flex;
}

.display-layout-hidden {
    visibility:hidden
}

.display-content-overflow {
    display: initial !important;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

/* SP */
@media screen and (max-width: 767px) {
    .c-info-category {
        margin-left: 5px;
    }

    .display-layout {
        display: block;
    }
    .u-show_pc {
        display: none;
    }

    .u-show_sp {
        display: block;
    }

    .p-instagram-background {
        margin-top: 30px;
    }
}

@media (hover: hover) {
    a:hover {
        opacity: .7;
    }
}
@media (hover: none) {
    a:active {
        opacity: .7;
    }
}

a.button {
    display: block;
    width: 240px;
    background-color: #EC424F;
    font-size: 13px;
    line-height: 40px;
    border-radius: 22px;
}

a.button > span {
    position: relative;
    display: block;
    margin: 0 auto;
    padding-left: 8px;
    width: fit-content;
    font-weight: bolder;
    color: #FFFFFF;
}

a.button > span::before {
    position: absolute;
    display: inline-block;
    top: 50%;
    left: -8px;
    width: 0;
    height: 0;
    border: 6px solid transparent;
    border-left: 8px solid #FFFFFF;
    border-right: none;
    transform: translateY(-50%);
    content: "";
}

a.button[disabled] {
    background-color: #CCCCCC;
    border-color: #FFFFFF;
    pointer-events: none;
}

a.button[disabled] > span {
    color: #FFFFFF;
}

a.button[disabled] > span::before {
    border-left-color: #FFFFFF;
}

/* header */
header {
    padding: 20px;
    width: 100%;
    height: auto;
    background-color: #fff;
    filter: drop-shadow(0 3px 4px hsl(0deg 0% 60% / 33%));
}

@media screen and (max-width: 767px) {
    header {
        padding: 10px 20px;
    }
}

header a {
    display: inline-block;
}

header figure {
    width: 240px;
}

@media screen and (max-width: 767px) {
    header figure {
        width: 160px;
    }
}

/* footer */
footer > .totop {
    position: relative;
    margin: 0 auto;
}

footer > .totop > p {
    position: fixed;
    right: 32px;
    bottom: 60px;
    z-index: 2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 50px;
    width: 50px;
    background: #E60012;
    opacity: 0;
    border: solid 1px #FFFFFF;
    border-radius: 50%;
    cursor: pointer;
    transition: .5s;
}

footer > .totop.is-show > p {
    opacity: 1;
    transition: .5s;
}

footer > .totop > p > .arrow {
    height: 16px;
    width: 16px;
    border-top: 2px solid #FFFFFF;
    border-right: 2px solid #FFFFFF;
    transform: translateY(20%) rotate(-45deg);
}

footer > .copyright {
    padding: 10px;
    background-color: #E60012;
    color: #FFFFFF;
    text-align: center;
    font-size: 14px;
}

/* main */
main {
    padding: 40px;
    background-color: #FEF8F3;
}

@media screen and (max-width: 767px) {
    main {
        padding: 20px;
    }
}

main > div,
main > section {
    margin: 0 auto 40px auto;
    max-width: 1200px;
}

@media screen and (max-width: 767px) {
    main > div,
    main > section {
        margin-bottom: 30px;
    }
}

main section {
    padding: 40px;
    background-color: #FFFFFF;
    filter: drop-shadow(0 3px 4px hsl(0deg 0% 60% / 33%));
}

@media screen and (max-width: 1024px) {
    main section {
        padding: 20px;
    }
}

main section h2,
main section h3 {
    margin-bottom: 12px;
    padding-bottom: 8px;
    text-align: center;
    font-size: 24px;
    font-weight: bold;
    color: #333333;
    border-bottom: 2px solid #E60012;
}

main section h3 {
    font-size: 18px;
}

main section > div {
    padding: 0 20px 40px 20px;
}

@media screen and (max-width: 1024px) {
    main section > div {
        padding: 0 10px 30px 10px;
    }
}

main section > div:last-child {
    padding-bottom: 0;
}

main section > div > p {
    margin-bottom: 1em;
}

main section > div > p:last-child {
    margin-bottom: 0;
}
