@charset "utf-8";

html {
    scroll-behavior: smooth;
}

.wrapper *,
*::before,
*::after {
    box-sizing: border-box;
}

.wrapper {
    margin: 0 auto;
    padding: 0;
    display: block;
    position: relative;
    width: 1200px;
    color: #333;
    font-family: "Roboto", "Noto Sans JP", sans-serif;
    font-size: 16px;
    background-color: #fefefe;
    text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

.wrapper :where(h1, h2, h3, h4, h5, ul, p) {
    overflow-wrap: break-word;
    line-height: calc(1em + 0.7rem);
    /* text-wrap: balance; */
    padding: 0;
    margin: 0;
    font-style: normal;
}

.wrapper li {
    list-style-type: none;
}

.wrapper a {
    text-decoration: none;
    color: inherit;
}

.wrapper img {
    max-width: 100%;
    vertical-align: bottom;
    max-inline-size: 100%;
    block-size: auto;
}

.wrapper section,
.wrapper div {
    margin: 0;
    padding: 0;
    display: block;
    position: relative;
}

/* ========================================= */
/* FV */
/* ========================================= */
.wrapper .fv {
    background-color: #ccc;
    text-align: left;
    position: relative;
    height: 300px;
    display: flex;
    font-family: "Shippori Mincho", serif;
    justify-content: space-between;
    font-weight: 600;
    font-style: normal;
}

.wrapper .fv::after {
    content: "tuner-less tv";
    position: absolute;
    bottom: 0;
    right: 0;
    font-family: "Unbounded", sans-serif;
    font-size: 3.5rem;
    font-optical-sizing: auto;
    font-weight: 300;
    font-style: normal;
    text-transform: uppercase;
    mix-blend-mode: difference;
}

.wrapper .main_line01,
.wrapper .main_line02 {
    font-weight: 800;
    display: inline-block;
    padding: .5em 1rem .55em;
    position: relative;
    animation: textMaskReveal 1.5s ease forwards;
    opacity: 0;
}

.wrapper .main_line01 {
    font-size: 1.5rem;
    position: absolute;
    top: 12%;
    left: 0;
}

.wrapper .main_line02 {
    font-size: 2rem;
    position: absolute;
    top: 38%;
    left: 0;
    animation-delay: 1s;
}

.wrapper .sub_line {
    font-weight: 600;
    font-size: 1.125rem;
    color: #555;
    position: absolute;
    left: 0;
    bottom: 0;
    padding: 1rem;
    /* animation: textMaskReveal 1.5s ease forwards; */
    /* animation-delay: 2s; */
    /* opacity: 0; */
}

@keyframes textMaskReveal {
    0% {
        clip-path: inset(0 100% 0 0);
        opacity: 1;
    }

    100% {
        clip-path: inset(0 0 0 0);
        opacity: 1;
    }
}

.wrapper .main_line01::after,
.wrapper .main_line02::after {
    content: "";
    background-color: rgba(255, 255, 255, 0.7);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

@keyframes fillLeftToRight {
    0% {
        background-size: 0% 100%;
    }

    100% {
        background-size: 100% 100%;
    }
}

/* ========================================= */
/* チューナーレステレビとは */
/* ========================================= */

.wrapper .sec hgroup {
    position: relative;
    display: block;
    width: 432px;
    margin: auto;
    text-align: center;
    font-family: "Shippori Mincho", serif;
    margin-bottom: 2rem;
}

.wrapper h2 {
    color: #fff;
    font-size: 1.5rem;
    background-color: #333;
    font-weight: 600;
    padding: .2em 0 .3em .3em;
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 50%);
    position: relative;
    transition: clip-path 1s;
}

.wrapper h2.visible {
    clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 1.8% 50%);
    animation: triangle 1.5s ease-in-out;
}

@keyframes triangle {
    0% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 0 50%);
    }

    50% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 2% 50%);
    }

    100% {
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 1.8% 50%);
    }
}

.wrapper .sec:nth-of-type(odd) h2 {
    color: #333;
    font-weight: 800;
    background-color: #f7f7f7;
}

.wrapper .features_box {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem;
}

.wrapper .features_icon_box {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    color: #fff;
    text-align: center;
    justify-content: center;
}

.wrapper .features_icon_item {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 108px;
    height: 108px;
    font-weight: 500;
    background-color: #707070;
    border-radius: calc(1px / 0);
}

.wrapper .features_item {
    width: calc((100% - 4rem) / 3);
}

.wrapper .features_text {
    margin-top: 1.5rem;

}

.wrapper h3 {
    font-weight: 600;
}

.wrapper .dot {
    display: inline-block;
    width: 1rem;
    height: 1rem;
    background-color: #888;
    border-radius: calc(1px /0);
    position: absolute;
    top: 50%;
    left: -6rem;
    transform: translateY(-50%) translateX(0);
    opacity: 0;
    transition: opacity 1s;
    z-index: 1000;
}

.wrapper .dot.visible {
    opacity: 1;
    left: -2rem;
    animation: slideIn 1.5s ease-in-out;
}

@keyframes slideIn {
    0% {
        left: -6rem;
    }

    50% {
        left: -1rem;
    }

    100% {
        left: -2rem;
    }
}

.wrapper .sec {
    padding: 3rem 2rem 5rem;
}

.wrapper .sec:nth-of-type(odd) {
    background-color: #333;
}

/* ========================================= */
/* おすすめチューナーテレビ */
/* ========================================= */

.wrapper .product_box {
    display: flex;
    flex-wrap: wrap;
    gap: 2rem 1.5rem;
    color: #333;
}

.wrapper .product_item {
    width: calc((100% - 3rem) / 3);
    font-weight: 600;
}

.wrapper .product_item_inner {
    display: block;
    padding: 2.5rem;
    background-color: #fff;
    border-radius: 1rem;
}

.wrapper .img_box {
    height: 190px;
    margin-bottom: 1.5rem;
}

.wrapper .product_item_inner img {
    transition: scale .4s;
    will-change: scale;
}

.wrapper .manufacturer_name {
    font-weight: 500;
}

.wrapper .model_number {
    font-size: 1.25rem;
}

.wrapper .JAN {
    color: #707070;
}

.wrapper .price {
    font-family: "メイリオ", "Meiryo", sans-serif;
    font-weight: normal;
    color: #707070;
}

.wrapper #products .btn_area .inquiry {
    color: #fff;
    border: #e7e7e7 2px solid;
    margin-top: 2rem;
    margin-bottom: 0;
    box-shadow: none;
    font-weight: 500;
}

.wrapper #products .btn_area .inquiry::before {
    background-color: #ccc;
}

/* ========================================= */
/* 活用シーン */
/* ========================================= */
.wrapper #gallery {
    padding-left: 0;
    padding-right: 0;
}

.wrapper .scroll_gallery {
    width: 1200px;
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    /* padding-bottom: 1rem; */
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    /* iOS用 */
}

.wrapper .scroll_gallery::-webkit-scrollbar {
    display: none;
}

.wrapper .scroll_gallery {
    -ms-overflow-style: none;
    /* IE・Edge */
    scrollbar-width: none;
    /* Firefox */
}

.wrapper .gallery_item {
    width: 340px;
    height: auto;
    margin-right: 1rem;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
}

.wrapper .gallery_text {
    text-align: center;
    font-weight: 500;
    background-color: #e7e7e7;
    padding: .2rem;
    position: relative;
}

.wrapper .gallery_text::before {
    content: "";
    display: inline-block;
    width: .7rem;
    height: .7rem;
    background-color: #fff;
    border-radius: calc(1px / 0);
    margin: 0 .5em;
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
}

.wrapper .gallery_text::after {
    content: "";
    display: inline-block;
    width: .7rem;
    height: .7rem;
    background-color: #fff;
    border-radius: calc(1px / 0);
    margin: 0 .5em;
    position: absolute;
    top: 50%;
    right: 0;
    transform: translateY(-50%);
}

.wrapper .gallery_text_sub {
    white-space: normal;
    padding: .2rem 0;
}

/* ========================================= */
/* 導入メリット */
/* ========================================= */
.wrapper .sec:nth-of-type(odd) {
    color: #fff;
}

.wrapper .pros_box {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
}


.wrapper .pros_item {
    width: calc((100% - 3rem) / 3);
    border-radius: 1rem;
}

.wrapper .point {
    display: block;
    font-family: "Unbounded", sans-serif;
    padding: 2rem;
    color: #999;
}

.wrapper .pros_inner {
    padding: 1rem 2rem 2rem 2rem;
}

.wrapper .pros_text {
    margin-top: 1rem;
    color: #ccc;
}

.wrapper .pros_item {
    background-color: #1a1a1a;
}

.wrapper .cons {
    text-align: center;
}

.wrapper h4 {
    font-family: "Shippori Mincho", serif;
    font-size: 1.3rem;
    font-weight: 500;
    margin: 2rem 0 1rem;
    display: inline-block;
    padding-bottom: .2rem;
    border-bottom: 1px solid #fff;
}

.wrapper .cons ul {
    width: 646px;
    display: block;
    margin: auto;
    font-weight: 400;
    text-align: left;
    color: #ccc;
}

.wrapper .cons ul li:before {
    content: "△";
    margin: .5em;
}

/* ========================================= */
/* 関連商品 */
/* ========================================= */
.wrapper #related_item {
    text-align: center;
}

.wrapper .related_item_text {
    font-weight: 500;
}

.wrapper .related_item_inner {
    display: inline-block;
    background-color: #eee;
    margin: auto;
    padding: 1.5rem 3rem 2.5rem;
    margin: 1rem auto 0;
    border-radius: 1rem;
}

.wrapper .related_item_inner .related_item_box {
    transition: scale .4s;
    will-change: scale;
}

.wrapper .related_item_title {
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.wrapper .related_item_box {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}

.wrapper .related_item_title .main_title {
    border-bottom: 1px solid #333;
    padding-bottom: .2rem;
    font-size: 1.3rem;
    font-weight: 700;
}

.wrapper .related_item_title .tag {
    color: #555;
    font-weight: 500;
    margin-top: .2rem;
}

/* ========================================= */
/* お問い合わせエリア */
/* ========================================= */
.wrapper .btn_area {
    text-align: center;
    margin: auto;
}

.wrapper .btn_inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    margin: auto;
}

.wrapper .btn {
    color: #333;
    font-weight: 500;
    font-size: 1.5rem;
    padding: 1rem 0;
    margin: 1.5rem 0 calc(2rem + 10px);
    border-radius: calc(1px / 0);
    letter-spacing: .05rem;
    transition: box-shadow .3s, transform .3s;
}

.wrapper .inquiry {
    color: #333;
    font-size: 1.25rem;
    letter-spacing: .05em;
    font-family: "Noto Sans JP", sans-serif;
    width: 646px;
    display: block;
    padding: 1em 0 1.1em;
    margin: 0 auto calc(6rem + 10px);
    border: #555 2px solid;
    font-weight: 700;
    box-shadow: rgba(167, 167, 167, 0.3) 0px 3px 6px 1px;
    position: relative;
    transition: clip-path .5s;
}

.wrapper .inquiry::before {
    content: "";
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    right: 1.3em;
    clip-path: polygon(0 0, 100% 50%, 0 100%);
    width: .5em;
    height: .7em;
    background-color: #707070;
    z-index: 1000;
    transition: right .4s;
    will-change: right;
}


/* ========================================= */
/* js用 */
/* ========================================= */

.fadeIn {
    opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.fadeIn.show {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================= */
/* ホバー用 */
/* ========================================= */

@media (hover: hover) and (pointer: fine) {
    .wrapper a:hover img {
        opacity: 1;
    }

    .wrapper .product_item_inner:hover img {
        scale: 1.05;
    }

    .wrapper .related_item_inner:hover .related_item_box {
        scale: 1.02;
    }

    .wrapper .inquiry:hover::before {
        right: 1em;
    }
}

@media (hover: none),
(pointer: coarse) {
    .wrapper a:hover img {
        opacity: 1;
    }
}