@charset "UTF-8";

/* --- 全体リセット --- */
* { 
    margin: 0; 
    padding: 0; 
    box-sizing: border-box; 
}

body { 
    width: 100%; 
    overflow-x: hidden; 
    font-family: 'Helvetica', 'Helvetica Neue', 'Noto Sans JP', sans-serif;
    color: #666666;
    font-size: clamp(14px, 1.6vw, 24px);
    font-kerning: none;
    font-feature-settings: "palt" 1;
    letter-spacing: 1px;
}

/* --- 見出しの基本スタイル --- */
h1 { color: #333333; margin: 1em 0 0.5em; font-weight: bold; font-size: clamp(28px, 4.4vw, 80px); }
h2 { color: #333333; margin: 0.4em 0 0.2em; font-weight: bold; font-size: clamp(20px, 3vw, 60px); }
h3 { color: #333333; margin: 1em 0 0.5em; font-weight: bold; font-size: clamp(18px, 2.4vw, 48px); }
h4 { color: #333333; margin: 1em 0 0.5em; font-weight: bold; font-size: clamp(16px, 2vw, 40px); }

.en-text { font-family: 'Helvetica', 'Helvetica Neue', sans-serif; font-weight: bold; font-style: oblique; }

/* --- 1. ヘッダー全体 --- */
.header {
    display: flex;
    align-items: center;
    height: 60px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}


/* --- 2. 左側ロゴエリア --- */
.header-left {
    background-color: rgb(53, 23, 3);
    width: clamp(200px, 20vw, 300px);
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.header-left img {
    height: clamp(16px, 4vw, 26px);
    width: auto;
    display: block;
}

/* --- 3. 右側エリア（メニュー＋検索窓） --- */
.header-right {
    display: flex;
    align-items: center;
    height: 60px;
    flex-grow: 1;
    background-color: rgba(25, 25, 25, 0.5);
    justify-content: flex-start;
}

/* メニュー全体の配置 */
.nav-menu {
    flex-grow: 1; /* 余ったスペースを活用 */
    white-space: nowrap; /* メニューを改行させない */
    overflow: hidden;    /* はみ出た場合は隠す */
}


.nav-menu ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    height: 60px;
}

/* メニュー項目 */
.nav-menu li {
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #fff;
    padding-left: clamp(10px, 1.5vw, 20px);
    padding-right: clamp(10px, 1.5vw, 20px);
    height: 100%;
    transition: background-color 0.3s ease;
}

.nav-menu li:last-child {
    border-right: none;
}

.nav-menu a {
    text-decoration: none;
    color: #fff;
    font-weight: bold;
    font-family: "Helvetica", sans-serif;
    font-size: clamp(14px, 1.2vw, 20px);
    font-style: italic;
    white-space: nowrap;
}

/* ホバー時の挙動 */
.nav-menu li:hover {
    background-color: #f6f427;
}

.nav-menu li:hover a {
    color: #182c75;
}

/* --- 4. 検索窓 --- */
.search-box {
    display: flex;
    align-items: center;
    border: 1px solid #fff;
    border-radius: 20px;
    padding: 2px 15px;
    height: 30px;
    width: clamp(120px, 15vw, 200px);
    flex-shrink: 0;
    margin-right: 20px;
}

.search-icon {
    width: 18px;
    height: 18px;
    margin-right: 10px;
    display: block;
}

.search-box input {
    background: transparent;
    border: none;
    color: #fff;
    width: 100%;
    outline: none;
}


/* --- 5. FV (左右分割・ズーム/フェード切り替え・インジケーター同期) --- */
.fv-wrapper { 
    display: flex; 
    width: 100%; 
    height: 100vh; 
    position: relative; 
    overflow: hidden; 
    margin-top: -60px;
}

.fv-side { 
    flex: 1; 
    position: relative; 
    overflow: hidden; 
    height: 100vh; 
    background-color: #000; /* 白飛び防止の黒背景 */
}

.scroll-wrapper { 
    position: relative; 
    width: 100%; 
    height: 100%; 
}

/* 画像：フェード ＋ ズームアニメーション */
.scroll-wrapper img { 
    position: absolute; 
    top: 0; left: 0;
    width: 100%; height: 100%; 
    object-fit: cover; 
    opacity: 0; 
    animation-timing-function: ease-in-out;
}

/* 左：4秒切り替え（12秒ループ・拡大） */
.left-side .scroll-wrapper img { animation: zoomFadeLeft 12s infinite; }
.left-side .scroll-wrapper img:nth-child(1) { animation-delay: 0s; }
.left-side .scroll-wrapper img:nth-child(2) { animation-delay: 4s; }
.left-side .scroll-wrapper img:nth-child(3) { animation-delay: 8s; }

/* 右：5秒切り替え（15秒ループ・縮小） */
.right-side .scroll-wrapper img { animation: zoomFadeRight 15s infinite; }
.right-side .scroll-wrapper img:nth-child(1) { animation-delay: 0s; }
.right-side .scroll-wrapper img:nth-child(2) { animation-delay: 5s; }
.right-side .scroll-wrapper img:nth-child(3) { animation-delay: 10s; }

@keyframes zoomFadeLeft {
    0% { opacity: 0; transform: scale(1.0); }
    12% { opacity: 1; transform: scale(1.05); }
    33% { opacity: 1; transform: scale(1.1); }
    40% { opacity: 0; transform: scale(1.15); }
    100% { opacity: 0; }
}

@keyframes zoomFadeRight {
    0% { opacity: 0; transform: scale(1.1); }
    10% { opacity: 1; transform: scale(1.05); }
    33% { opacity: 1; transform: scale(1.0); }
    40% { opacity: 0; transform: scale(0.95); }
    100% { opacity: 0; }
}

/* 下部グラデーション */
.scroll-wrapper::after {
    content: "";
    position: absolute;
    bottom: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.5) 10%, rgba(0, 0, 0, 0) 50%);
    mix-blend-mode: multiply;
    z-index: 5;
    pointer-events: none;
}

/* --- インジケーター配置 --- */
.indicator {
    position: absolute;
    bottom: 40px;
    left: 40px;
    z-index: 20;
    display: flex;
    align-items: center;
    color: #fff;
    font-family: "Helvetica", sans-serif;
}

.bar {
    width: 100px;
    height: 2px;
    background: rgba(255, 255, 255, 0.3);
    margin-right: 20px;
    position: relative;
    overflow: hidden;
}

.bar::after {
    content: "";
    position: absolute;
    top: 0; left: 0; height: 100%;
    background: #fff;
}

/* バーの同期（左4秒・右5秒） */
.left-side .bar::after { animation: barAnimation 4s linear infinite; }
.right-side .bar::after { animation: barAnimation 5s linear infinite; }

@keyframes barAnimation {
    0% { width: 0%; }
    100% { width: 100%; }
}

.count {
    font-size: 12px;
    color: #fff;
    margin-left: 10px;
    margin-right: 10px;
}

.right-side .indicator {
    left: auto;
    right: 40px;
    flex-direction: row-reverse;
}
.right-side .bar {
    margin-right: 0;
    margin-left: 20px;
}



/* --- ロゴと中央メッセージの表示設定 --- */

/* 左側のロゴ（左上固定） */
.left-side .left-logo {
    position: absolute;
    bottom : 20%;
    left: 30%;
    z-index: 30; /* 画像(0)やグラデ(5)より手前に配置 */
    width: 36%; 
    pointer-events: none;
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.2));
}

/* 右側のロゴ（右上固定） */
.right-side .right-logo {
    position: absolute;
    bottom : 20%;
    left: 35%;
    z-index: 30; /* 画像(0)やグラデ(5)より手前に配置 */
    width: 30%; 
    pointer-events: none;
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.2));
}

/* 中央テキスト（中央固定） */
.center-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 30;
    width: 20%; /* サイズは適宜調整 */
    pointer-events: none;
    
    /* 影の追加 */
    /* 1. テキスト（SVG内部の文字）に影を付けたい場合 */
    filter: drop-shadow(4px 4px 6px rgba(0, 0, 0, 0.2));
    
    /}
/* ロゴが見えない場合の対策：親要素を相対位置に */
.fv-side {
    position: relative; /* これが重要：ロゴの基準点になります */
}


/* 中央のSCROLLと縦線の設定（下のみ） */
.scroll-indicator {
    position: absolute;
    bottom:-2%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 66;
    color: #fff;
    font-size: 10px;
    letter-spacing: 0.1em;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px; /* 文字と線の間隔 */
}

/* 下の線のみ表示 */
.scroll-indicator::after {
    content: "";
    width: 1px;
    height: 40px; /* 線の長さ */
    background-color: #fff;
    display: block;
    transform-origin: top; /* 上を起点に伸びる */
    animation: growLine 2s infinite;
}

@keyframes growLine {
    0% { transform: scaleY(0); opacity: 0; }
    20% { transform: scaleY(1); opacity: 1; }
    80% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(0); opacity: 0; }
}
/* --- NEWSバー全体のデザイン --- */
.news-bar {
    background-color: rgb(53, 23, 0);
    width: 100%;
    padding: 20px 0;
    display: flex;
    justify-content: center;
    box-sizing: border-box;
}

.news-container {
    display: flex;
    align-items: center;
    gap: 20px;
    width: 90%;
    max-width: 1200px;
    color: #fff;
    font-family: "Noto Sans JP", sans-serif;
}

.news-label, .news-date { font-size: 14px; white-space: nowrap; }

.separator { width: 1px; height: 16px; background-color: #fff; }

.news-tag {
    font-size: 14px;
    background-color: rgb(133, 114, 99);
    padding: 1px 8px;
    border-radius: 4px;
    white-space: nowrap;
    animation: blink 1.5s infinite;
}

/* タイトル専用のエリア */
.news-title-wrapper {
    flex: 1; /* 残りのスペースを全て埋める */
    overflow: hidden; 
    position: relative; /* 子要素の基準 */
    height: 20px;
}

.news-title {
    position: absolute;
    top: 0;
    white-space: nowrap;
    font-size: 16px;
    /* 0の位置(親の左端)からスタートさせる */
    animation: scrollText 15s linear infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

@keyframes scrollText {
    /* 親要素の右端(100%)から出現し、左端(-100%)へ消える */
    0% { left: 100%; }
    100% { left: -100%; }
}

/* --- セクション全体：全幅 --- */
.topics-section { 
    width: 100%; 
    padding: 40px 0; 
    overflow: hidden;
    background: #ffffff 
}

/* --- セクション全体 --- */
.topics-section { 
    width: 100%; 
    padding: 100px 0 0 0;
    box-sizing: border-box;
}
/* --- コンテンツ共通の余白調整 --- */
.topics-header, 
.carousel-container, 
.all-view-wrapper {
    max-width: 100%; 
    margin: 0 auto; 
    padding: 0 0px; /* ここで左右40pxを確保 */
    box-sizing: border-box;
}

.topics-header { 
    display: flex; 
    align-items: baseline; /* baselineをこれに変更 */
    padding-bottom: 5px;   /* 必要に応じて微調整 */
    margin-bottom: 40px; 
    padding: 0 40px; 
    box-sizing: border-box;
}

.topics-title { 
    font-size: 36px; 
    font-weight: bold; 
    color: #301606; 
    margin: 0; 
    line-height: 1; /* 行高を固定 */
}

.sub-title { 
    font-size: 16px; 
    color: #333; 
    margin-left: 10px; 
    
    /* ここからが重要 */
    position: relative;
    top: -6px; /* この数値を増減させて、見た目で中央になるよう調整してください */
}
/* タブデザイン */
.filter-tabs {
    margin-left: auto; /* 自動で右側に寄る */
    display: flex;
    border: 1px solid #000;
}


.filter-tabs button {
    padding: 15px 40px;
    border: none;
    border-right: 1px solid #000;
    background: #fff;
    cursor: pointer;
    font-size: 20px;
    font-weight: bold;
    font-style: italic;
    color: #333;
    transition: all 0.3s;
}
.filter-tabs button:last-child { border-right: none; }
.filter-tabs button.active { background: #000; color: #fff; }

/* カルーセル */
.carousel-container { 
    position: relative; 
    display: flex; 
    align-items: center; 
}
.carousel-wrapper { 
    display: flex; 
    gap: 20px; 
    width: 100%; 
    overflow-x: hidden; 
    padding: 20px 0;
    scroll-behavior: smooth; 
}
.carousel-wrapper img { width: 300px; height: auto; flex-shrink: 0; }

/* 左右ボタン */
.prev-btn, .next-btn { 
    position: absolute; top: 50%; z-index: 10; 
    width: 50px; height: 50px; border-radius: 50%; border: none; 
    background: rgba(0,0,0,0.5); color: #fff; cursor: pointer;
    transform: translateY(-50%);
}
.prev-btn { left: 40px; } /* 余白の内側から開始 */
.next-btn { right: 40px; }

/* ALL VIEW ボタン */
.all-view-wrapper { display: flex; justify-content: center; margin: 40px 0 100px; }

.all-view-btn {
    background: #000; 
    color: #fff; 
    border: none; 
    border-radius: 50px;
    padding: 15px 30px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    width: 300px; 
    cursor: pointer; 
    font-size: 20px; 
    font-weight: bold; 
    font-style: italic; 
    height: 70px;
    transition: background 0.3s ease; /* 背景色の変化を滑らかに */
}

/* ホバー時の背景色 */
.all-view-btn:hover {
    background: #182c75;
}

.btn-icon {
    background: #fff; 
    color: #000; 
    width: 45px; 
    height: 45px;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: transform 0.3s ease; /* 矢印の動きを滑らかに */
}

/* ボタンホバー時にアイコンを右へ移動させる */
.all-view-btn:hover .btn-icon {
    transform: translateX(10px);
}






/* ===========================
   ギャラリーセクション
=========================== */


/* 背景オーバーレイ */
.overlay{
    position:absolute;
    inset:0;
    background:rgba(53,23,0,.8);
    z-index:2;
}

/* ===========================
   背景スクロール画像
=========================== */

.col{
    flex:1;
    overflow:hidden;
    position:relative;
}

.scroll-inner{
    display:flex;
    flex-direction:column;
    gap:10px;
}

.scroll-inner img{
    display:block;
    width:100%;
    height:100vh;
    object-fit:cover;
}

.col-down .scroll-inner{
    animation:slideDown 20s linear infinite;
}

.col-up .scroll-inner{
    animation:slideUp 20s linear infinite;
}

@keyframes slideDown{
    from{transform:translateY(-50%);}
    to{transform:translateY(0);}
}

@keyframes slideUp{
    from{transform:translateY(0);}
    to{transform:translateY(-50%);}
}

/* ===========================
   コンテンツ
=========================== */
.content-overlay{
    position:absolute;
    inset:0;
    z-index:10;
    display:flex;
    flex-direction:column;
    justify-content:center;
    padding:100px 80px 80px;
    pointer-events:none;
    box-sizing:border-box;
}

.top-area{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
}

/* メインタイトル */
.area-logo{
    margin:0;
    font-size:clamp(48px, 8vw, 100px);
    line-height:1;
    color:#fff;
    text-align: center;
}

/* サブタイトル */
.area-sub{
    margin-top:10px;
    font-size:clamp(16px, 2vw, 24px);
    color:#fff;
    text-align: center;
}


.horizontal-line{
    width:100%;
    height:1px;
    margin:40px 0;
    background:rgba(255,255,255,.5);
}

.content-body{
    display:flex;
    justify-content:space-between;
    align-items:flex-end;
    pointer-events:auto;
}

.description p,
.left-text,
.left-text h2{
    color:#fff;
}

/* 本文 */
.description p{
    font-size:clamp(14px, 1.2vw, 18px);
    line-height:1.8;
}

/* ===========================
   ボタン
=========================== */
/* ボタン */
.small-btn{
    display:flex;
    justify-content:space-between;
    align-items:center;
    width:clamp(180px, 16vw, 220px);
    padding:clamp(10px, 1vw, 20px) clamp(20px, 2vw, 30px);
    border:none;
    border-radius:999px;
    background:#182c75;
    color:#fff;
    cursor:pointer;
    font-weight:bold;
    font-size:clamp(14px, 1vw, 18px);
}

/* ボタンの丸 */
.small-btn span{
    width:clamp(28px, 2.2vw, 35px);
    height:clamp(28px, 2.2vw, 35px);
    border-radius:50%;
    display:flex;
    justify-content:center;
    align-items:center;
    background:#fff;
    color:#000;
    font-size:clamp(12px, 1vw, 16px);
}
/* ===========================
   左装飾
=========================== */
.side-decoration{
    position:absolute;
    top:0;
    left:40px;
    height:100%;
    display:flex;
    flex-direction:column;
    align-items:center;
    color:#fff;
    z-index:5;
}

/* 左の縦文字 */
.side-label{
    margin-top:40px;
    writing-mode:vertical-rl;
    font-size:clamp(12px, 1vw, 16px);
    letter-spacing:.2em;
}

.vertical-line{
    flex:1;
    width:1px;
    margin:20px 0;
    background:rgba(255,255,255,.5);
}

.side-number{
    margin-bottom:40px;
    font-size:clamp(18px, 2vw, 24px);
    font-weight:bold;
}

/* ボタンを配置するエリア（位置調整の司令塔） */
.btn-area {
    display: flex;
    flex-direction: row;
    gap: 20px;
    margin-top: 30px;
    align-items: center;
    flex-wrap: wrap;
    pointer-events: auto;

    /* ★ここで位置を自由に調整できます */
    justify-content: flex-start; /* flex-start:左, center:中央, flex-end:右 */
}

/* ボタン本体（円形・黒背景・罫線なし） */
.view-recruit-btn {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    
    /* 背景黒、罫線なし */
    background-color: #000;
    border: none;
    
    /* テキスト設定 */
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    text-decoration: none;
    font-weight: bold;
    font-family: "Helvetica", "Helvetica Neue", Arial, sans-serif;
    
    /* ホバー時の動き */
    transition: transform 0.3s ease;
}

.view-recruit-btn:hover {
    transform: scale(1.1);
}
/* --- メインコンテナ --- */
#main-content {
    position: relative;
    width: 100%;
}

/* --- セクション設定 --- */
.gallery-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden; /* はみ出し部分を隠すために必須 */
    background: #351700;
}

/* 階層制御：後続のセクションが上から重なるように */
#area    { z-index: 1; }
#service { z-index: 2; }
#concept { z-index: 3; }

/* --- 背景画像コンテナ（横スライド用） --- */
/* --- 背景画像コンテナ（修正：transformをJSに一任する） --- */
.gallery-container {
    position: absolute;
    inset: 0;
    display: flex;       /* 画像を横並びにする */
    width: 200%;         /* コンテナ幅を2倍にする */
    height: 100%;
    z-index: 0;          /* コンテンツの下に配置 */
    /* ここに固定のtransformを書かず、JSの変数を使う */
    transform: translateX(calc(var(--progress, 0) * -50%));
    transition: transform 0.1s linear; 
}
/* --- 背景画像 --- */
.bg-image {
    width: 50%;          /* コンテナの半分＝画面幅 */
    height: 100%;
    object-fit: cover;
    flex-shrink: 0;      /* 画像が縮まないようにする */
}

/* --- オーバーレイとコンテンツ --- */
.overlay {
    position: absolute;
    inset: 0;
    background: rgba(53, 23, 0, 0.8);
    z-index: 5;
}

.content-overlay {
    position: relative;
    z-index: 10;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.gallery-container {
    /* ...既存のスタイル... */
    transform: translateX(0%); /* 【追加】ページ読み込み時は1枚目を見せる */
}

.gallery-container {
    display: flex;
    width: 200%;
    height: 100%;
    /* JSで渡した --progress を使ってスライドさせる */
    transform: translateX(calc(var(--progress, 0) * -50%));
    transition: transform 0.1s linear; /* 動きの滑らかさ調整用 */
}

.gallery-section {
    position: sticky;
    top: 0;
    width: 100%;
    height: 100vh;
    overflow: hidden;
    background: #351700;
}

.bg-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: opacity 1s ease-in-out;
}

.bg1 { z-index: 1; opacity: 1; }
.bg2 { z-index: 2; opacity: 0; }

.bg2.active {
    opacity: 1;
}

.overlay {
    position: absolute;
    inset: 0;
    background: rgba(53,23,0,.8);
    z-index: 3;
}

.content-overlay {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 100px 0px 80px;
    pointer-events: none;
    box-sizing: border-box;
    height: 100%;
}

.top-area { display: flex; justify-content: space-between; align-items: flex-end; margin: 0 80px; }
.area-logo { margin: 0; font-size: clamp(48px, 8vw, 120px); line-height: 1; color: #fff; }
.area-sub { margin-top: 10px; font-size: clamp(16px, 2vw, 24px); color: #fff; }
.horizontal-line { width: 100%; height: 1px; margin: 40px 0; background: rgba(255,255,255,.5); }
.content-body { display: flex; justify-content: space-between; align-items: flex-end; pointer-events: auto; margin: 0 80px; }
.description p, .left-text, .left-text h2 { color: #fff; }
.description p { font-size: clamp(14px, 1.2vw, 18px); line-height: 1.8; }

.small-btn {
    display: flex; justify-content: space-between; align-items: center;
    width: clamp(180px, 16vw, 220px); padding: clamp(10px, 1vw, 20px) clamp(20px, 2vw, 30px);
    border: none; border-radius: 999px; background: #182c75; color: #fff; cursor: pointer;
    font-weight: bold; font-size: clamp(14px, 1vw, 18px);
}
.small-btn span {
    width: clamp(28px, 2.2vw, 35px); height: clamp(28px, 2.2vw, 35px);
    border-radius: 50%; display: flex; justify-content: center; align-items: center;
    background: #fff; color: #000; font-size: clamp(12px, 1vw, 16px);
}
.side-decoration { position: absolute; top: 0; left: 40px; height: 100%; display: flex; flex-direction: column; align-items: center; color: #fff; z-index: 5; }
.side-label { margin-top: 40px; writing-mode: vertical-rl; font-size: clamp(12px, 1vw, 16px); letter-spacing: .2em; }
.vertical-line { flex: 1; width: 1px; margin: 20px 0; background: rgba(255,255,255,.5); }
.side-number { margin-bottom: 40px; font-size: clamp(18px, 2vw, 24px); font-weight: bold; }
.btn-area { display: flex; gap: 20px; margin-top: 30px; pointer-events: auto; flex-wrap: wrap; }


/* セクション全体 */
.my-pickup-wrap { 
    width: 100%; 
    padding: 100px 0px;
    background-color: #333333; 
    color: #ffffff;
    box-sizing: border-box;
}

/* ヘッダーエリア */
.my-pickup-header { 
    display: flex; 
    align-items: baseline; 
    padding: 0 40px;
    margin-bottom: 40px;
}
.my-pickup-title { font-size: 32px; font-weight: bold; color: #ffffff; margin: 0 15px 0 0; }
.my-pickup-sub {
    font-size: 14px;
    color: #ffffff;
    position: relative; /* これがないとtopが効きません */
    top: -5px;          /* マイナスにすると上に上がります */
}

/* タブのコンテナ */
.my-pickup-tabs { 
    margin-left: auto; 
    display: flex; 
    border: 1px solid #fff; /* 外枠を白に */
}

/* 各タブボタンの基本設定 */
.my-pickup-tabs button {
    padding: 10px 40px;
    border: none;
    border-right: 1px solid #fff; /* 区切り線を白に */
    background: #333333; /* 非選択時は背景をダークグレー（セクションと統一） */
    color: #ffffff;      /* 文字は白 */
    cursor: pointer;
    font-size: 16px;     /* 文字サイズを少し小さく調整 */
    font-weight: bold;
    font-style: italic;  /* 斜体を解除 */
    transition: all 0.3s;
}




/* 最後のボタンの右枠線を消す */
.my-pickup-tabs button:last-child { 
    border-right: none; 
}

/* 選択中（アクティブ）の状態 */
.my-pickup-tabs button.is-active { 
    background: #ffffff; /* 背景を白に */
    color: #333333;      /* 文字を濃い色に */
}


.my-pickup-tabs button.is-active,
.my-pickup-tabs button:hover { background: #ffffff; color: #333333; }

/* カルーセル */
.my-pickup-carousel-area { position: relative; }
.my-pickup-wrapper { 
    display: flex; gap: 20px; overflow-x: auto; padding-bottom: 20px;
    scrollbar-width: none;
}
.my-pickup-wrapper::-webkit-scrollbar { display: none; }

/* 商品カード */
.my-product-card {
    min-width: 300px; background: #ffffff; color: #333333; padding: 15px; box-sizing: border-box;
}
.my-product-card img { width: 100%; height: auto; display: block; margin-bottom: 10px; }
.my-product-name { font-size: 14px; margin: 0 0 10px 0; }
.my-product-price { font-size: 16px; font-weight: bold; margin: 0; }

/* ボタン */
.my-pickup-prev, .my-pickup-next { 
    position: absolute; top: 40%; width: 40px; height: 40px; border-radius: 50%; border: none;
    background: rgba(5,5,5,0.5); color: #ffffff; cursor: pointer; z-index: 10;
}
.my-pickup-prev { left: 40px; }
.my-pickup-next { right: 40px; }



/* ALL VIEW ボタンのラッパー */
.my-all-view-wrapper { 
    display: flex; 
    justify-content: center; 
    margin-top: 40px; 
}

/* ボタン本体：白ベース */
.my-all-view-btn {
    background: #ffffff; 
    color: #333333; 
    border: none; 
    border-radius: 50px;
    padding: 15px 30px; 
    display: flex; 
    align-items: center; 
    justify-content: space-between;
    width: 300px; 
    cursor: pointer; 
    font-size: 20px; 
    font-weight: bold; 
    font-style: italic; 
    height: 70px;
    transition: background 0.3s ease;
}

/* ホバー時の背景色（少しだけグレーにする） */
.my-all-view-btn:hover {
    background: #f3f3f3;
}

/* アイコン部分：濃いグレー背景で文字を白に */
.my-btn-icon {
    background: #333333; 
    color: #ffffff; 
    width: 45px; 
    height: 45px;
    border-radius: 50%; 
    display: flex; 
    align-items: center; 
    justify-content: center;
    transition: transform 0.3s ease;
}

/* ボタンホバー時にアイコンを右へ移動 */
.my-all-view-btn:hover .my-btn-icon {
    transform: translateX(10px);
}




/* --- 1. ライダーセクション --- */
.my-rider-section { 
    width: 100%; 
    padding: 100px 0 0 0; 
   background-image: url('../img/rider3.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed; 
    box-sizing: border-box;
}

.topics-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 40px; 
    padding: 0 40px; 
}

.topics-title { font-size: 32px; font-weight: bold; color: #301606; margin: 0; }
.sub-title { font-size: 16px; color: #333333; margin-left: 15px; font-weight: normal; }

/* ボタン設定 */
.morispo-rider-all-view-wrapper { display: flex; justify-content: flex-end; }
.morispo-rider-all-view-btn {
    background: #000; color: #ffffff; border: none; border-radius: 50px;
    padding: 36px 30px; display: flex; align-items: center; justify-content: space-between;
    width: 260px; cursor: pointer; font-size: 20px; height: 50px;
    transition: all 0.3s ease; font-weight: bold; font-style: italic; 
}
.morispo-rider-all-view-btn:hover { background: #182c75; }
.morispo-rider-btn-icon {
    background: #ffffff; color: #000; width: 45px; height: 45px;
    border-radius: 50%; display: flex; align-items: center; justify-content: center;
    transition: transform 0.3s ease;
}
.morispo-rider-all-view-btn:hover .morispo-rider-btn-icon { transform: translateX(5px); }

/* カルーセル */
.my-rider-carousel-container { position: relative; }
.my-rider-wrapper { 
    display: flex; gap: 30px; overflow-x: auto; padding: 0 0 40px; scrollbar-width: none;
}
.my-rider-wrapper::-webkit-scrollbar { display: none; }

/* ライダーカード（ホバーアニメーション込み） */
.my-rider-card {
    min-width: 300px; background: #ffffff; border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1); padding-bottom: 30px; text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer;
}
.my-rider-card:hover { transform: translateY(-10px); box-shadow: 0 15px 30px rgba(0,0,0,0.2); }
.rider-bg-img {
    height: 220px; background-image: url('../img/rider1.jpg');
    background-size: cover; background-position: center; border-radius: 12px 12px 0 0;
}
.rider-profile-img {
    width: 100px; height: 100px; background-image: url('../img/rider2.jpg');
    background-size: cover; background-position: center; border-radius: 50%;
    border: 4px solid #ffffff; margin: -50px auto 15px;
}
.rider-name { font-size: 20px; font-weight: bold; color: #333333; margin: 0 0 5px 0; }
.rider-category { font-size: 14px; color: #999999; margin: 0; }

.my-rider-prev, .my-rider-next { 
    position: absolute; top: 50%; width: 50px; height: 50px; border-radius: 50%; border: none;
    background: rgba(0,0,0,0.3); color: #ffffff; cursor: pointer; z-index: 10; transform: translateY(-50%);
}
.my-rider-prev { left: 40px; }
.my-rider-next { right: 40px; }

/* 無限テキスト */
.my-rider-marquee-container { width: 100%; overflow: hidden; padding: 0 0 00px; }
.my-rider-marquee { display: flex; white-space: nowrap; animation: marquee-scroll 20s linear infinite; gap: 80px; }
.my-rider-marquee span {
    font-size: 100px; font-weight: 900; font-style: italic; color: rgba(57, 57, 57, 0.4); text-transform: uppercase;
}
@keyframes marquee-scroll { 0% { transform: translateX(0); } 100% { transform: translateX(-50%); } }


/* --- 2. 大会情報セクション --- */
.my-comp-section { 
    padding: 40px 20px; 
    position: relative;
    z-index: 1;
    background-image: url('../img/rider3.jpg'); 
    background-size: cover; 
    background-position: center; 
    background-attachment: fixed;
    min-height: 80vh;
}


.my-comp-title-img { 
    display: block; margin: 0 auto 50px; max-width: 300px; height: auto;
    background-color: transparent;
    animation: float-animation 3s ease-in-out infinite;
}
@keyframes float-animation { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.my-comp-grid { 
    display: flex; flex-wrap: wrap; gap: 30px; justify-content: center; 
    max-width: 1000px; margin: 0 auto;
}

/* 大会カード */
.my-comp-card { 
    display: flex; align-items: center; width: 45%; gap: 20px;
    background: #ffffff; padding: 10px; border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease; cursor: pointer;
}
.my-comp-card:hover { transform: translateY(-5px); box-shadow: 0 10px 20px rgba(0,0,0,0.15); }
.my-comp-card-img { width: 150px; height: 150px; object-fit: cover; border-radius: 8px; }

.my-comp-date { font-size: 14px; color: #999; margin: 0 0 5px 0; }
.my-comp-title { font-size: 18px; font-weight: bold; line-height: 1.5; color: #333; margin: 0; }

@media (max-width: 768px) {
    .my-comp-card { width: 100%; }
}


/* セクション全体 */
.info-section { padding: 100px 0px; background-color: #f3f3f3; }

/* 左右を並べるメインコンテナ */
.info-body {
  display: flex;
  gap: 80px;            /* 左右の隙間 */
  max-width: 100%;
  margin: 0 40px;
  align-items: flex-start;
}

/* 左エリアの設定 (幅を固定) */
.info-left { flex: 0 0 360px; }

/* 右エリアの設定 (残りのスペースを使用) */
.info-right { flex: 1; }

/* --- 個別パーツのスタイル --- */
.all-btn {
  background: #000; color: #fff; padding: 16px; text-align: center;
  font-weight: bold; margin-bottom: 30px; cursor: pointer;font-size: 16px;
  border-radius:8px;
}

.store-grid {
  display: grid; grid-template-columns: 1fr 1fr; /* 2列 */
  gap: 20px; list-style: none; padding: 0; margin: 0;
  font-size: 16px;
}
.store-grid li { text-align: center; color: #333; cursor: pointer; }

.info-news-list { list-style: none; padding: 0; margin: 0; border-top: 1px solid #ccc; }
.news-item {
  display: flex; align-items: center; padding: 20px 0;
  border-bottom: 1px solid #ccc; gap: 15px;
}
.news-badge {
  background: #857263; color: #fff; font-size: 10px;
  padding: 2px 8px; border-radius: 4px;
}

/* スマホ対応 (幅が狭いときは縦積み) */
@media (max-width: 768px) {
  .info-body { flex-direction: column; }
  .info-left { flex: none; width: 100%; }
}

/* --- 4. タブセクション --- */
.be-category-tabs { 
    display: flex; gap: 10px; justify-content: center; margin-bottom: 30px; flex-wrap: wrap; 
}
.be-tab-btn { 
    padding: 10px 25px; 
    border-radius: 50px; 
    border: 1px solid #2e7d32; 
    background: #fff; 
    color: #2e7d32; 
    cursor: pointer; 
    transition: all 0.3s ease;
}
.be-tab-btn:hover { background: #e8f5e9; }
.be-tab-btn.active { 
    background: #2e7d32; 
    color: #fff; 
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.carousel-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px; /* 画像と画像の隙間 */
}

.carousel-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 20px;
    padding: 20px 0; /* カードの影が切れないよう余白を確保 */
}

.topic-card {
    display: flex;
    flex-direction: column;
    width: 300px;
    flex-shrink: 0;
    
    /* カードのデザイン */
    background: #fff;
    border-radius: 12px; /* 角を丸く */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* 浮き上がるような影 */
    overflow: hidden; /* 画像の角をカードに合わせる */
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* ホバーしたときの動き（PCで見ている時） */
.topic-card:hover {
    transform: translateY(-5px); /* 少し上に浮き上がる */
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2); /* 影を濃く */
}

.topic-card img {
    width: 100%;
    height: 300px; /* 高さを揃えると整然と見えます */
    object-fit: cover; /* 画像が歪まないように調整 */
}

.topic-title {
    padding: 15px; /* カード内の余白 */
    font-size: 15px;
    font-weight: bold;
    color: #333;
    text-align: left; /* 左揃えの方がトピックスっぽいです */
}
/* --- 背景動画の固定設定 --- */
.bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1; /* コンテンツより後ろに配置 */
}

/* --- セクション背景透過 --- */
/* 既存の background-image や background-attachment は不要になります */
.my-rider-section, 
.my-comp-section {
    background: transparent !important; 
    position: relative;
    z-index: 1;
}

/* 以下、既存のスタイルはそのまま使用してください */
/* ただし、ライダーセクションの背景画像関連は削除しておいてください */
.my-rider-section { 
    width: 100%; 
    padding: 100px 0 0 0; 
    box-sizing: border-box;
}

/* 大会情報セクションの背景設定も削除 */
.my-comp-section { 
    padding: 40px 20px; 
    position: relative;
    min-height: 80vh;
}
/* --- INFORMATIONセクションのヘッダー調整 --- */
.info-header {
    display: flex;
    justify-content: space-between; /* 左右に離す（左にテキスト、右にボタン） */
    align-items: center;            /* 垂直方向は中央揃え */
    margin: 0 40px;            /* 下のリストとの余白 */
}

/* タイトルと「お知らせ」グループの調整 */
.info-title-group {
    text-align: left; /* テキスト自体を左寄せにする */
}
.news-text{font-size: 16px;.news-label, .news-date}


/* ==========================================
   RECRUIT SECTION
   ========================================== */

/* --- レイアウト全体 --- */
.morispo-recruit-section {
  display: flex;
  width: 100%;
  height: 100vh;
  background-color: #333;
  overflow: hidden;
}

/* --- 左側：テキストエリア --- */
.morispo-recruit-left {
  position: relative;
  flex: 1;
  display: flex;
  align-items: center; /* 垂直中央 */
  padding: 0 3.5vw;    /* 画面幅に合わせて伸縮 */
  box-sizing: border-box;
}

/* --- テキストフォント・位置設定 --- */
.morispo-recruit-title { 
  font-family: 'Bebas Neue', "Helvetica", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(50px, 15.0vw, 190px);
  color: #fff; 
  font-weight: 400; /* Bebas Neue等の見出しフォントに適したウェイト */
  letter-spacing: 1px;
  margin: 7vw 0 0 0;
  text-align: center; 
  line-height: 0.8;
}
.morispo-recruit-subtitle { 
  font-family: "Helvetica", "Helvetica Neue", Arial, sans-serif;
  font-size: clamp(10px, 0.97vw, 14px);
  color: #fff; 
  text-align: right;
  transform: translate(-33vw, -19em);
}

/* テキスト＋ボタンのコンテナ */
.morispo-recruit-info {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  gap: 2.8vw;
  margin-bottom: 7vw;
}

.morispo-recruit-desc { 
  flex: 1;
  font-size: clamp(12px, 1.1vw, 16px); 
  color: #fff; 
  line-height: 1.8; 
  margin: 0;
}

.morispo-recruit-btn-area {
  flex-shrink: 0;
}

.morispo-view-recruit-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(100px, 12.5vw, 180px);
  height: clamp(100px, 12.5vw, 180px);
  border-radius: 50%;
  background-color: #000;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-style: italic;
  font-size: clamp(12px, 1.2vw, 18px);
}

/* --- 右側：スライドエリア --- */
.morispo-recruit-right {
  flex: 1;
  display: flex;
  gap: 1.4vw;
  overflow: hidden;
  padding: 0;
}

.morispo-marquee-column {
  width: 50%;
  height: 100%;
  overflow: hidden;
}

.morispo-marquee-inner {
  display: flex;
  flex-direction: column;
  gap: 1.4vw;
}

.morispo-marquee-inner img {
  width: 100%;
  height: clamp(180px, 20.8vw, 300px); /* 画像の高さも拡大縮小 */
  object-fit: cover;
}

/* アニメーション */
.morispo-marquee-column.morispo-up .morispo-marquee-inner { animation: morispoSlideUp 20s linear infinite; }
.morispo-marquee-column.morispo-down .morispo-marquee-inner { animation: morispoSlideDown 20s linear infinite; }

@keyframes morispoSlideUp {
  0% { transform: translateY(0); }
  100% { transform: translateY(-50%); }
}

@keyframes morispoSlideDown {
  0% { transform: translateY(-50%); }
  100% { transform: translateY(0); }
}

/* リクルートのスマホ対応 */
@media (max-width: 767px) {
  .morispo-recruit-section {
    flex-direction: column;
    height: auto;
  }
  .morispo-recruit-info {
    flex-direction: column;
    align-items: flex-start;
    gap: 24px;
  }
  .morispo-recruit-btn-area {
    width: 100%;
  }
  .morispo-view-recruit-btn {
    width: 100%;
    max-width: 280px;
    height: 60px;
    border-radius: 30px;
  }
}


/* ==========================================
   FOOTER SECTION (Refined Design)
   ========================================== */

.morispo-footer {
  background-color: rgb(26, 26, 26);
  width: 100%;
  color: rgb(255, 255, 255);
  font-family: "Kozuka Gothic Pr6N", "Helvetica Neue", Arial, sans-serif;
  padding: 60px 40px;
  box-sizing: border-box;
}

.morispo-footer-container {
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  gap: 60px;
  box-sizing: border-box;
}

/* カラムの基本比率設定 */
.morispo-footer-col-left {
  flex: 1.2;
  display: flex;
  flex-direction: column;
}

.morispo-footer-col-center {
  flex: 2;
  display: flex;
  flex-direction: column;
}

.morispo-footer-col-right {
  flex: 1.2;
  display: flex;
  flex-direction: column;
}

/* --- 左カラムのデザイン --- */
.morispo-brand-logo {
  margin-bottom: 30px;
}

.morispo-brand-logo img {
  height: 20px;
  width: auto;
  display: block;
}

.morispo-footer-section-block {
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.morispo-footer-sub-title {
  font-size: 11px;
  letter-spacing: 0.1em;
  color: rgba(255, 255, 255, 0.6);
  margin-bottom: 12px;
  font-weight: bold;
}

.morispo-sns-links {
  display: flex;
  gap: 16px;
}

.morispo-sns-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 50%;
  transition: background 0.3s;
}

.morispo-sns-links a:hover {
  background: rgba(255, 255, 255, 0.2);
}

.morispo-sns-links img {
  width: 16px;
  height: 16px;
  object-fit: contain;
}

.morispo-footer-app-links {
  display: flex;
  gap: 12px;
}

.morispo-footer-app-links img {
  height: 36px;
  width: auto;
}

.morispo-footer-sub-links {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
}

.morispo-footer-sub-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
}

.morispo-footer-sub-links a:hover {
  text-decoration: underline;
  color: #fff;
}

.morispo-copyright {
  font-size: 11px;
  color: rgba(255, 255, 255, 0.4);
}

/* --- 中央カラム：ナビゲーション（2カラムグリッド） --- */
.morispo-footer-nav-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
}

.morispo-nav-category {
  font-size: 14px;
  font-weight: bold;
  letter-spacing: 0.05em;
  color: #fff;
  margin-bottom: 16px;
  padding-bottom: 6px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.morispo-footer-nav {
  list-style: none;
  padding: 0;
  margin: 0;
}

.morispo-footer-nav li {
  margin-bottom: 10px;
}

.morispo-footer-nav li a {
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.3s;
}

.morispo-footer-nav li a:hover {
  color: #fff;
}

.morispo-sub-nav {
  list-style: none;
  padding-left: 10px;
  margin-top: 6px;
  margin-bottom: 6px;
}

.morispo-sub-nav li {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 4px;
}

/* --- 右カラム：アクションボックス・会社情報 --- */
.morispo-footer-action-boxes {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 24px;
}

.morispo-action-box {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 16px 20px;
  color: #fff;
  text-decoration: none;
  font-weight: bold;
  font-size: 14px;
  letter-spacing: 0.05em;
  border-radius: 4px;
  transition: background-color 0.3s, border-color 0.3s;
}

.morispo-action-box:hover {
  background-color: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.3);
}

.morispo-action-box .material-symbols-outlined {
  font-size: 18px;
  color: rgba(255, 255, 255, 0.7);
}

.morispo-company-card {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 6px;
  padding: 16px;
  margin-bottom: 16px;
}

.morispo-company-name {
  font-size: 13px;
  font-weight: bold;
  margin-bottom: 6px;
  color: #fff;
}

.morispo-company-address {
  font-size: 12px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.6);
}

.morispo-feedback-text-link {
  display: flex;
  align-items: center;
  gap: 8px;
  color: rgba(255, 255, 255, 0.8);
  font-size: 13px;
  text-decoration: none;
  transition: color 0.3s;
}

.morispo-feedback-text-link:hover {
  color: #fff;
  text-decoration: underline;
}

.morispo-feedback-text-link .material-symbols-outlined {
  font-size: 16px;
}
