@charset "UTF-8";

#back1 {
	background-image: url("images/back.jpg");
}

.linkArea {
    max-width: 900px;
    margin-inline: auto;
    a {
        display: flex;
        justify-content: center;
        align-items: center;

        position: relative;
        padding: 1.2em 0;
        text-align: center;
        text-decoration: none;
        font-weight: bold;
        color: #fff;
        background-color: #ec4b62;
        border-radius: 5px;
        transition: all .2s ease-out;
    }
    a::after {
        content: '';
        position: absolute;
        top: 38%;
        right: 5%;
        width: 10px;
        height: 10px;
        border: 1px solid;
        border-color: transparent  #fff #fff transparent;
        transition: all .2s ease-out;
    }
    a:nth-of-type(-n + 2)::after {
        transform: rotate(-45deg);
    }
    a:nth-of-type(n + 3)::after {
        transform: rotate(45deg);
    }
}

@media (hover: hover) {
.linkArea {
    a:hover {
        opacity: .7;
    }
    a:nth-of-type(-n + 2):hover::after {
        transform: translateX(3px) rotate(-45deg);
    }
    a:nth-of-type(n + 3):hover::after {
        transform: translateY(3px) rotate(45deg);
    }
}
}

.intro {
    line-height: 1.6;
    font-weight: bold;
    background-color: #fa8999;
}

section h2.mt1 {
	color: #fff;
}
section h2.mt2 {
	color: #fff;
	background-color: #fa8999;
}
section h2.mt2::after {
	border-color: #fa8999 transparent transparent transparent;
}

#Product {
    .caststaff {
        padding: 1em 0 3em;
        background-color: #fff;
        dl {
            padding: 1.5em 3em;
            border-top: 1px solid #5f232c;
            border-bottom: 1px solid #5f232c;
            dt { font-weight: bold; }
        }
    }
    .photoarea {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        figure, img {
            display: block;
            width: 100%;
            height: auto;
        }
        img {
            aspect-ratio: 6 / 4;
            background-position: center center;
            background-repeat: no-repeat;
            background-size: cover;
            background-color: #fff;
        }
    }
    .p1 img { background-image: url(./images/p1.jpg); }
    .p2 img { background-image: url(./images/p2.jpg); }
    .p3 img { background-image: url(./images/p3.jpg); }
    .p4 img { background-image: url(./images/p4.jpg); }

    #bd .img img { background-image: url("images/bd.jpg"); }
    #dvd .img img { background-image: url("images/dvd.jpg"); }
}

#Benefits {
    .btn a { background-color: #ec4b62; }
    .list { padding: 0 1.5em 1em; }

    .amazon .img img { background-image: url(./images/amazon.jpg); }
    .tbs .img img { background-image: url(./images/tbs.jpg); }
    .rakuten .img img { background-image: url(./images/rakuten.jpg); }
    .kiitomo .img img { background-image: url(./images/kiitomo.jpg); }
}


/* min-width 769px */
/* -------------------------------------------------------------------------- */
@media screen and (min-width: 769px) {
header h1 img {
	padding-top: 52.7%;
}
.linkArea {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1em .5em;
    margin-top: 1.5em;
    a { font-size: 105%; }
}
.intro {
    text-align: center;
}
#Product {
    .caststaff {
        dl {
            display: grid;
            grid-template-columns: 8em 1fr;
            dt { text-align: right; }
            dt::after { content: '：'; }
        }
    }
}
}


/* max-width 768px */
/* -------------------------------------------------------------------------- */
@media screen and (max-width: 768px) {
header h1 img {
	padding-top: 102.5%;
}
.linkArea {
    display: flex;
    flex-wrap: wrap;
    row-gap: 2vw;
    margin-top: 6vw;
    a:nth-of-type(-n + 2) { width: 100%; }
    a:nth-of-type(n + 3) {
        width: 49%;
        padding: .6em 0;
    }
    a:nth-of-type(4) { margin-left: 2%; }
}
#Product {
    .caststaff {
        padding-bottom: 6vw;
        dl {
            padding: 4vw;
            dt::before { content: '■'; }
            dd { margin-left: 1em; }
        }
    }
    .photoarea {
        grid-template-columns: repeat(2, 1fr);
    }
}
}