@charset "UTF-8";

/* 全体のベースフォントは日本語用（Noto Sans JP） */

body {
    font-family: "Noto Sans JP", sans-serif;
    line-height: 1.7;
    color: #333;
    background-color: #ECECEC;
}

/* 見出し（h1〜h6）は英語用（Roboto） */
h1, h2, h3, h4, h5, h6 {
    font-family: "Roboto", sans-serif;
    font-weight: 700; /* 太めにして見出し感を強調 */
    letter-spacing: 0.05em; /* 文字間を少し広げるとよりスタイリッシュに */
}

/* ボタンやリンクなどの英字もRoboto */
a, .button {
    font-family: "Roboto", sans-serif;
    text-transform: uppercase; /* ボタンなどを大文字にする */
}

/* 本文（pタグ）は日本語フォント */
p, li, span {   
    font-family: "Noto Sans JP", sans-serif;
    font-weight: 400;
}

/**** ここから共通設定 ****/
a:hover {
    opacity: 0.7;
}

.sec-title{
    color: #8a6a4b;
    font-size: 40px;
    font-weight: 600;
    padding: 40px 0 30px 0;
    text-align: center;
    letter-spacing: 0.02em;
}

.ex-text-wrapper {
    max-width: 1100px;
    margin:0 auto;
}

.ex-text {
    font-size: 16px;
    color: #ECECEC;
    padding:0 4% 40px 4%;
    letter-spacing: 0.05em;
    line-height: 1.8;
    word-break: break-word;
    white-space: normal;   
    overflow-wrap: break-word;
    line-height: 1.8;       
}

.text-b {
    color: #0b0b0b;
}

/**** ここまで共通設定 ****/

/**** ここからヘッダー ****/
.header_logo {
    display: inline-block;
    vertical-align: middle;
    padding-left: 40px;
    width: 100%;
    max-width: 100%;
    margin: 10px 0;
}

.header_wrapper {
    display: flex;
    align-items: center;
    background-color: #8A6E4B;
    padding: 0 10%;
}

.header_logo a img {
    object-fit: cover;
}

.glo-nav {
    display: flex;
    padding: 10px;
}

.glo-nav li {
    padding: 13px 20px;
    font-size: 14px;
    font-weight: 800;
    font-family: "Helvetica", Sans-serif;
    color: #0b0b0b;
}

.black-margin {
    min-height: 15px;
    background-color: #0b0b0b;
}

/* 動画を全画面に広げる */
.main-visual {
    position: relative;
    width: 100vw;
    height: 100vh; /* ビューポートの高さいっぱいにする */
    overflow: hidden;
}

/* 動画を背景に固定 */
.background-video {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1; /* コンテンツの下に配置 */
    object-fit: cover;
}

/**** ここまでヘッダー ****/

/**** ここからNEW PRODUCTS ****/

#new_products {
    background-color: #0b0b0b;
}

/**** ここまでNEW PRODUCTS ****/

/**** ここからjapan ****/
#japan {
    background-image: url(../images/jpn-background.jpg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    height: 900px;
}

.jpn-wrapper {
    max-width: 1550px;
    width: 100%;
    padding: 0 4%;
    margin: 0 auto;
    position: relative;
    height: 900px;
}

.jpn-logo {
    padding-top: 60px;
}

.catch-copy {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 100px;
    color: #8A6E4B;
    letter-spacing: 0.02em;
    line-height: 1.2;
    padding-top: 30px;
    font-weight: 900;
}

.jpn-button {
    position: absolute;
    left: 2%;
    bottom: 0;
}

.large-font {
    font-family: "Barlow Condensed", sans-serif;
    font-size: 120px;
    font-weight: 900;
}
/**** ここからjapan ****/


/**** ここからABOUT ROLLINGDOG ****/

#about {
    background-color: #0b0b0bCC;
}

.img-wrapper {
    display: flex;
    justify-content: space-between;
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 2%;
}

.img {
    margin-bottom: 40px;
    margin-right: 20px;
    width: 50%;
    object-fit: cover;
}

.img:last-child {
    margin-right: 0;
}

/**** ここまでABOUT ROLLINGDOG ****/

/**** ここからVIDEO ****/


/* 動画を横並びにするコンテナ */
.video-container {
    display: flex;
    justify-content: space-between; /* 均等に並べる */
    gap: 20px; /* 動画同士の間隔 */
    flex-wrap: nowrap; /* 画面幅が狭い時は折り返す */
    padding: 0 2% 40px 2%;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 動画のスタイル */
.video-container video {
    width: 32%; /* 3分割で横並び */
    border-radius: 8px; /* 動画の角を丸くする */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
}

.video-container video:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
}

/**** ここまでVIDEO ****/

/**** ここからNEWS ****/

/* ===== スライダー全体 ===== */
.slider-container {
    position: relative;
    max-width: 1240px;
    margin: 0 auto 30px auto;
    overflow: hidden;
}

/* ===== スライダーの中身 ===== */
.slider {
    display: flex;
    transition: transform 1s ease; /* ゆっくり左へスライド */
}

/* ===== 各スライド ===== */
.slide {
    min-width: 100%;
    height: 400px;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 画像をコンテナにフィットさせつつ、はみ出た部分をトリミング */
    object-position: center center; /* 画像の中央を表示 */
    display: block; /* 画像の隙間を防ぐ */
}

/* ===== スライドボタン（< >） ===== */
.slider-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.3);
    color: #ffffff;
    border: none;
    font-size: 2rem;
    padding: 5px 10px;
    cursor: pointer;
    z-index: 10;
    transition: background 0.3s ease;
    border-radius: 5%;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5%;
}

.prev { left: 10px; }
.next { right: 10px; }

/* ===== ページネーション（丸） ===== */
.pagination {
    display: flex;
    justify-content: center;
    position: absolute;
    bottom: 20px; /* 画像内の下部中央 */
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.pagination span {
    width: 12px;
    height: 12px;
    background: #ccc;
    border-radius: 50%;
    margin: 0 5px;
    cursor: pointer;
    transition: background 0.3s ease;
}

.pagination span.active {
    background: #8a6a4b; /* アクティブ時に塗りつぶす */
}

/**** ここまでNEWS ****/

/**** ここからCATEGORIES ****/
#categories {
    background-color: #0b0b0bCC;
    overflow: hidden;
}

.app-wrapper {
    display: flex;
    justify-content: space-between;
    width: 1220px;
    margin: 0 auto;
    text-align: center;
    object-fit: cover;
    padding-bottom: 20px;
}

.app-wrapper li a:hover {
    opacity: 1;
}

.app-title {
    font-size: 25px;
    color: #ECECEC;
    letter-spacing: 0.02;
    font-family: "Roboto", sans-serif;
    padding: 10px;
}

.button {
    display: inline-block;
    background-color: #8A6E4B;
    border: solid 2px #ECECEC;
    color: #ECECEC;
    border-radius: 10px;
    padding: 5px 30px;
    text-decoration: none;
    font-size: 1em;     
    transition: all .3s ease 0s;
  } 
  .button:hover {
    color: #ECECEC;
    background-color: #8A6E4B;
    transform: scale(1.2);
  }
/**** ここまでCATEGORIES ****/

/**** ここからREVIEWS ****/

#reviews {
    background-color: #0b0b0bCC;
    font-size: 14px;
    color: #ffffff;
}

.review-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
    flex-wrap: nowrap;
    max-width: 1220px;
    margin: 0 auto;
    padding:  40px 2%;
}

.review-title {
    text-align: center;
    font-family: "Robot" sans-serif;
    line-height: 1;
    width: 245px;
    margin: 0 20px;
    
}

.excellent p{
    font-size: 24px;
    font-weight: 500;
    margin-bottom: 10px;
}

.review-stars {
    display: flex;
    justify-content: center;
    margin-bottom: 10px;
}

.review-stars img {
    width: 30px;
    height: 30px;
}

.amazon p{
    font-size: 30px;
    font-weight: 900;
    line-height: 1.5;
}

.review-slider  {
    overflow: hidden;
    max-width: 850px;
    width: 100%;
}

.slider-track {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease;
}

.review {
    width: 250px;
    height: 250px;
    padding: 20px;
    background-color: #222;
    border-radius: 8px;
    flex-shrink: 0;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: height 0.3s ease;
}

.review.expanded {
    height: auto; /* もっと見るで拡張時 */
    max-height: 1000px;
}

.review-header {
    display: flex;
}

.review-icon {
    width: 40px;
    height: 40px;
    display: block;
    border-radius: 30px;
    object-fit: cover;
    object-position: top;
    margin-right: 15px;
}

.review-name {
    font-size: 14px;
    font-family: "Robot", sans-serif;
    font-weight: bold;
    letter-spacing: 0.05em;
}

.review-info {
    margin-bottom: 15px;
}

.review-info time {
    font-size: 11px;
    opacity: 0.5;
}

.review-rating {
    margin-bottom: 10px;
}

.review-rating img {
    width: 17px;
    height: 17px;
    display: inline-block;
    margin-right: -2px;
}

.review-text {
    flex: 1;
    font-weight: 200;   
    line-height: 2;
    height: 130px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 3行で切る */
    -webkit-box-orient: vertical;
}

.toggle-btn {
    text-align: right;
    display: block;
    color: #8A6E4B;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    background: none;
    transition: color 0.3s ease;
}

.toggle-btn:hover {
    color: #d4a373;
}

.slider-btn:hover {
    background: rgba(0, 0, 0, 0.8);
}

/* 展開時 */
.review.expanded .review-text {
    max-height: none;
    -webkit-line-clamp: unset; /* 制限解除 */
    overflow: visible;
}

.review.expanded .toggle-btn::before {
    content: "隠す";
}


/* 左右のボタン位置 */
.review-prev,
.review-next {
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    font-size: 2rem;
    padding: 30px 15px;
    cursor: pointer;
    border-radius: 4px;
    transition: background 0.3s ease;
    line-height: 0;
}

.review-prev:hover,
.review-next:hover {
    background: rgba(0, 0, 0, 0.8);
}

.review-prev {
    margin-right: 5px; /* 左のボタンがスライダーから離れる距離 */
}

.review-next {
    margin-left: 5px; /* 右のボタンがスライダーから離れる距離 */
}

.review.expanded {
    height: auto; /* 高さを自動調整 */
    max-height: 1000px; /* 必要に応じて最大値を設定 */
}

/* もっと見る時の展開 */
.review.expanded {
    overflow: visible;
}

.text-center {
    text-align: center;
}

/**** ここまでREVIEWS ****/

/**** ここから下のバナー ****/

.footer-banner-wrapper {
    background-color: #0b0b0bCC;
    padding: 60px 0;
    width: 100%;
}

.footer-banner {
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 2%;
}

.footer-banner img {
    object-fit: cover;
}

/**** ここまで下のバナー ****/

/**** ここからフッター ****/
    footer {
        background-color: #0b0b0b;
    }

    .footer_wrapper {
        max-width: 1240px;
        padding: 40px 4%;
        margin: 0 auto;
        display: flex;
        align-items: flex-start;
        justify-content: space-between;
    }

    .footer-logo-ro {
        width: 250px;
        margin-bottom: 20px;
        margin-left: -7px;
    }

    .footer-logo-to {
        width: 200px;
        margin-bottom: 20px;
    }

    .footer-left,
    .footer-center,
    .foooter-right {
        flex: 1;
    }

    .footer-left {
        max-width: 35%;
    }
    
    .footer-center {
        max-width: 35%;
    }

    .footer-right {
        max-width: 30%;
    }

    .footer-nav {
        flex-direction: column;
    }

    .footer-nav li{
        color: #ffffff;
    }

    .company-name {
        font-size: 20px;
        font-weight: bold;
        color: white;
        font-weight: 400;
        margin-bottom: 5px;
    }

    address {
        color: #ECECEC;
        font-size: 14px;
        font-weight: 200;
        letter-spacing: 1.5;
    }

    .footer-text {
        color: white;
        width: 100%;
        font-size: 13px;
        font-weight: 900;
        padding-top: 15px;
        letter-spacing: 1.2;
    }

    .sns {
        display: flex;
        align-items: center;
        margin-top: 30px;
    }

    .sns li a:hover {
        opacity: 0.5;
    }

    .sns li {
        margin-right: 30px;
    }

    .sns li a img {
        width: 30px;
    }

    .copy-wright {
        display: block;
        text-align: center;
        font-size: 13px;
        padding-bottom: 20px;
    }
    /**** ここまでフッター ****/



@media (max-width: 768px) {

    .header_wrapper {
        flex-direction: column;
        align-items: center;
    }

    .header_logo {
        width: 100%;
        margin: 0 auto;
        padding: 4% 0 0 0;
    }

    .glo-nav {
        align-items: center;
    }

    .footer-nav li {
        padding: 0;
    }

    .footer-nav {
        width: 100%;
        overflow: hidden;
    }

    .main-visual {
        height: 33vh;
    }

    .background-video {
        height: 100%;
    }

    #japan {
        background-position: center;
        height: 450px;
    }

    .jpn-wrapper {
        height: 450px;
    }

    .jpn-button {
        max-width: 300px;
    }

    .catch-copy {
        display: none;
    }

    .ex-text {
        font-size: 14px; /* モバイル用に文字を少し小さくする */
        line-height: 1.7; /* 行間を少し広げる */
    }

    .img-wrapper {
        flex-direction: column;
        align-items: center;
        padding: 0 4%;
    }

    .img {
        margin-right: 0;
        width: 100%;
    }

    .video-container {
        flex-direction: column; /* スマホでは縦並び */
        gap: 30px;
        padding: 0 4%;
    }

    .video-container video {
        width: 100%; /* 幅いっぱいに */
    }

    .slider-container {
        height: auto;
        max-width: 100%;
        margin: 0 4% 30px 4%;
    }

    .slider {
        display: flex;
        flex-wrap: nowrap;
    }    

    .slide {
        width: 100%;
        height: auto;
    }

    .slide img {
        height: auto;
        object-fit: contain;
    }

        /* スライドボタン位置調整 */
    .slider-btn {
        font-size: 1.5rem;
        padding: 8px 16px;
        top: 50%;
    }

    .prev { left: 5px; }
    .next { right: 5px; }

    /* ページネーション調整 */
    .pagination {
        bottom: 10px;
    }

    .pagination span {
        width: 10px;
        height: 10px;
    }

    .app-wrapper {
        flex-direction: column;
        align-items: center;
        width: 100%;
    }

    .app-wrapper li {
        margin-bottom: 40px;
    }

    .app-wrapper li:last-child {
        margin-bottom: 0;
    }

    .review-container {
        flex-direction: column;
        align-items: center;
    }

    .review-slider {
        max-width: 550px;
    }

    .slider-track {
        gap: 10px;
    }

    .review {
        width: 100%;
        max-width: 350px;
    }

    .review-slider {
        max-width: 100%; /* スマホ時にスライダーを広げる */
    }

    .slider-track {
        gap: 20px; /* レビュー間の余白 */
        display: flex;
        width: max-content;
    }

    .review {
        width: calc(50% - 10px); /* 2つ表示＆gap考慮 */
        scroll-snap-align: start;
        flex-shrink: 0;
    }

    .ex-text {
        margin-bottom: -20px;
    }

    .review-prev,
    .review-next {
        display: none;
    }

    .review-slider {
        overflow-x: auto;
        scroll-snap-type: x mandatory; /* スナップスクロール */
        -webkit-overflow-scrolling: touch; /* iOS滑らかスクロール */
    }

    .footer_wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 40px;
    }

    .footer-left,
    .footer-center,
    .footer-right {
        width: 100%;
        max-width: 100%;
    }

    .footer-logo-ro,
    .footer-logo-to {
        margin: 0 auto;
    }

    .footer-logo-to {
        margin-bottom: 20px;
    }

    .footer-left {
        margin-bottom: 20px;
    }

    /* footer-navを横並びに */
    .footer-nav {
        flex-direction: row;
        justify-content: center;
        gap: 20px;
        padding-bottom: 20px;
    }

    /* SNSをfooter-navの下に配置 */
    .sns {
        justify-content: center;
        margin-top: 20px;
        gap: 20px;
    }


}

/**::::::    ここから         :::::::**/
/**:::::: 日本商品紹介ページ    :::::::**/

.japanese {
    font-family: "Noto Sans Jp" sans-serif;
    font-weight: bold;
}

#jpn-products {
    
}

.product-all {
    display: flex;
}

.button-container {
    display: flex;
    margin: 0 auto;
    gap: 30px;
    padding: 40px 4%;
}

/* カテゴリーリスト（左側） */
.category-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    width: 250px;
    position: sticky;
    top: 0;
    left: 0;
    align-self: flex-start;
}

.category-list h4 {
    color: #555;
    font-size: 18px;
    margin-top: 10px;
    margin-left: 5px;
}

.category-btn {
    background: #0b0b0b;
    color: #ECECEC;
    font-size: 16px;
    padding: 5px 0;
    cursor: pointer;
    text-align: center;
    transition: background 0.3s ease;
    border-radius: 33px;
}

.category-btn:hover,
.category-btn.active {
    background: #8A6E4B;
    color: white;
}

/* 商品リスト全体のスタイル */

.product-container {
    display: flex;
    text-align: center;
    flex-direction: column;
    margin: 0 auto;
    max-width: 1200px;
    padding: 40px 80px;
    border-left: 2px dotted #0b0b0b;
}

/* 小見出し */
.product-title {
    font-size: 25px;
    font-weight: bold;
    color: #0b0b0b;
    margin-bottom: 20px;
}

/* 説明文 */
.product-description {
    font-size: 16px;
    color: #0b0b0b;
    margin-bottom: 60px;
    text-align: left;
}

.product-item {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 2%;
}

.item {
    width: 31.3%;
    margin-bottom: 30px;
    border-radius: 10px;
    background: #ccc;
}

.item img {
    object-fit: cover;
    margin-bottom: 10px;
    padding: 4%;
    max-height: 350px;
    margin: 0 auto;
}

.item a h3, .item h3 {
    font-size: 16px;
    font-family: "Noto Sans JP" sans-serif;
    padding-top: 15px;
    margin: 0 4% 15px 4%;
    border-top: #222 dotted 1px;
}

.item p {
    font-size: 16px;
    color: #555;
    text-align: left;
    margin-bottom: 30px;
    padding: 0 4%;
}

.product-container {
    display: none; /* 最初は非表示 */
}

#brush {
    display: block; /* 最初に表示するカテゴリ */
}

@media screen and (max-width: 768px) {

    .product-all {
        flex-direction: column;
        align-items: center;
    }

    #jpn-products .sec-title {
        font-size: 20px;
    }

    .button-container {
        background-color: rgba(11, 11, 11, 0.3);
        position: sticky; /* ← 上部固定 */
        top: 0;
        padding: 15px 4%;
    }

    .category-list {
        flex-direction: row;
        flex-wrap: wrap; /* 横並びで折り返し可能に */
        gap: 10px;
        width: 100%;
        z-index: 999;
        padding: 0 4% 15px 4%;
        border-bottom: 1px solid #ccc;
        justify-content: flex-start;
    }

    .category-list h4 {
        display: none;
    }

    .category-btn {
        padding: 10px 16px;
        font-size: 13px;
        border-radius: 20px;
        flex-shrink: 0;
        white-space: nowrap;
    }

    .product-container {
        padding: 20px 15px;
        border-left: none;
        width: 100%;
    }

    .product-title {
        font-size: 20px;
        text-align: center;
    }

    .product-description {
        font-size: 14px;
        text-align: left;
        margin-bottom: 40px;
    }

    .product-item {
        flex-direction: column;
        align-items: center;
    }

    .item {
        max-width: 100%;
        width: 100%;
        margin-bottom: 40px;
    }

    .item img {
        width: 100%;
        height: auto;
        max-height: 250px;
        object-fit: contain;
    }

    .item a h3 {
        font-size: 16px;
        text-align: center;
    }

    .item p {
        font-size: 14px;
        text-align: center;
    }
}


/**::::::    ここまで         :::::::**/
/**:::::: 日本商品紹介ページ    :::::::**/


/**::::::    ここから         :::::::**/
/**:::::: 商品個別紹介ページ    :::::::**/

#products {
    background-color: #0b0b0bCC;
    color: #fff;
}

.products-container {
    max-width: 1120px;
    margin: 0 auto;
    padding: 0 4%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 40px;
}

.left-slider {
    aspect-ratio: 1 / 0.559;
    width: 100%; /* 必要に応じて調整 */
    max-width: 800px; /* スライダーの最大サイズ（任意） */
}

.left-slider .slider img{
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.right-text {
    padding-left: 35px;
}

.right-text h3 {
    font-size: 40px;
    color: #8A6E4B;
    line-height: 1.3;
    font-weight: 700;
    margin-bottom: 40px;
}

.right-text p {
    font-size: 16px;
    margin-bottom: 10px;
    font-family: "Robot" sans-serif;
}

.right-text p:last-child {
    padding-bottom: 40px;
}

.products-video-container {
    width: 100%;
    max-width: 1240px;
    padding: 0 4%;
    margin: 0 auto;
    padding-bottom: 40px;
}

.products-video-container video{
    width: 100%;
}

.yrs-ex-text {
    margin-bottom: 40px;
}

.sub-heading {
    font-weight: 700;
    margin-bottom: 15px;
}

@media screen and (max-width: 768px) {

    .product-container {
        flex-direction: column;
        align-items: center;
    }

    #products .sec-title {
        font-size: 2rem;
        margin-top: -30px;
    }

    .item {
        width: 80%;
    }

    .item p {
        text-align: left;
    }

    .left-slider {
        width: 100%;
        aspect-ratio: 16 / 9;
        overflow: hidden;
    }

    .slide img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

    .right-text {
        display: none;
    }    

    #news .slider-container {
        display: none; /* 後でどうにかする */
    }
}
