/* style.css - 3Qカット採用LP */

/* リセットとベーススタイル */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Noto Sans JP', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: #333;
    background-color: #fff;
	/* ---- ページ全体のレイアウト調整 ---- */
	padding-top: 70px; /* PC表示時のヘッダーの高さ */
}

/* スマホ表示時の調整 */
@media screen and (max-width: 768px) {
    body {
        padding-top: 60px; /* スマホ表示時のヘッダーの高さ */
    }
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

ul, ol {
    list-style: none;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

section {
    padding: 80px 0;
}

.section-title {
    font-size: 32px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 20px;
    position: relative;
    color: #333;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background-color: #FF5722;
}

.section-lead {
    text-align: center;
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
}

/* ヘッダー */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    padding: 0 20px;
}

.logo {
    width: 160px;
}

.global-nav ul {
    display: flex;
    align-items: center;
}

.global-nav li {
    margin-left: 25px;
}

.global-nav a {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    position: relative;
}

.global-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #FF5722;
    transition: width 0.3s ease;
}

.global-nav a:hover::after {
    width: 100%;
}

.entry-btn a {
    display: inline-block;
    background-color: #FF5722;
    color: #fff;
    padding: 8px 15px;
    border-radius: 30px;
    font-weight: 500;
}

.entry-btn a:hover {
    background-color: #E64A19;
    transform: translateY(-2px);
}

.menu-trigger {
    display: none;
    width: 30px;
    height: 20px;
    position: relative;
    cursor: pointer;
}

.menu-trigger span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #333;
    position: absolute;
    transition: all 0.3s ease;
}

.menu-trigger span:nth-child(1) {
    top: 0;
}

.menu-trigger span:nth-child(2) {
    top: 9px;
}

.menu-trigger span:nth-child(3) {
    bottom: 0;
}

.menu-trigger.active span:nth-child(1) {
    transform: translateY(9px) rotate(45deg);
}

.menu-trigger.active span:nth-child(2) {
    opacity: 0;
}

.menu-trigger.active span:nth-child(3) {
    transform: translateY(-9px) rotate(-45deg);
}

/* ヒーローセクション */
/* ヒーローセクション（新デザイン） */
.hero {
        /* 画面の高さからヘッダーの高さを引いた値に設定 */
    height: calc(100vh - 70px); 
    min-height: 500px; /* こちらは念のため残してもOK */
    position: relative;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding-bottom: 8vh;
    overflow: hidden;
    background-color: #fffffff;
}

/* フェードイン用キーフレームアニメーション（CSSファイル内に必ず記述） */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}


/* ヒーローセクションの背景画像 */
.hero-background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    
    /* アニメーションの初期状態 */
    opacity: 0; 
    
    /* アニメーションの適用（個別プロパティで記述） */
    animation-name: fadeIn;
    animation-duration: 2s;
    animation-timing-function: ease-out;
    animation-delay: 0.3s;
    animation-fill-mode: forwards; /* アニメーション後、終了時の状態を維持 */
}

.hero-background-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* 画像の上のオーバーレイ */
.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0) 50%, rgba(0,0,0,0.4) 100%);
    z-index: 2;
}

/* ボタンのコンテナ */
.hero-buttons-container {
    position: relative;
    z-index: 3;

    /* アニメーションの初期状態 */
    opacity: 0;
    transform: translateY(30px);

    /* アニメーションの適用（個別プロパティで記述） */
    animation-name: fadeInUp;
    animation-duration: 1.2s;
    animation-timing-function: ease-out;
    animation-delay: 0.8s;
    animation-fill-mode: forwards; /* アニメーション後、終了時の状態を維持 */
}

/* ボタン群のスタイル */
.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}




/*旧*/
/*.hero {
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 100px 0 0;
    background-color: #f9f9f9;
    position: relative;
    overflow: hidden;
}

.hero-content {
    width: 50%;
    padding-left: 5%;
    z-index: 2;
}

/*.main-copy {
    font-size: 38px;
    font-weight: 700;
    line-height: 1.4;
    margin-bottom: 20px;
    color: #333;
}

/*.sub-text {
    font-size: 18px;
    margin-bottom: 40px;
    color: #666;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}*/

/*.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}

.btn i {
    margin-right: 8px;
}

.btn-primary {
    background-color: #FF5722;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}

.btn-primary:hover {
    background-color: #E64A19;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 87, 34, 0.4);
}

.btn-secondary {
    background-color: #fff;
    color: #FF5722;
    border: 2px solid #FF5722;
}

.btn-secondary:hover {
    background-color: #FFF8E1;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/*.hero-image {
    width: 50%;
    position: relative;
    z-index: 1;
}

.hero-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 0 0 0 100px;
    box-shadow: -10px 10px 30px rgba(0, 0, 0, 0.1);
}



/* 3Qカットとは */
/* 3Qカットとは (新デザイン) */
.about {
    background-color: #f8f9fa; /* 背景色を少し付ける (任意) */
    padding-top: 80px; /* 上の余白を調整 */
    padding-bottom: 80px; /* 下の画像スクロールとの余白 */
}

/* テキスト説明エリア（グリッドレイアウト） */
.about-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* PCでは3カラム */
    gap: 30px; /* カード間の隙間 */
    margin-top: 60px;
}

/* 特徴カードのスタイル */
.feature-card {
    background-color: #ffffff;
    padding: 35px 30px;
    border-radius: 12px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    text-align: center; /* カード内の要素を中央揃え */
    border-top: 5px solid #FF5722; /* 上部にアクセントカラーの線 */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
}

.feature-icon {
    font-size: 3em; /* アイコンを大きく */
    color: #FF5722; /* テーマカラー */
    margin-bottom: 25px;
    line-height: 1; /* アイコンの行間を詰める */
}

.feature-title {
    font-size: 1.3em; /* 20px-21px相当 */
    margin-bottom: 15px;
    color: #333; /* 見出しの色を濃く */
    font-weight: 700;
}

.feature-description {
    color: #666;
    line-height: 1.8;
    text-align: left; /* 説明文は読みやすいように左揃え */
}

/* 既存の .about-content, .about-image, .about-text, .feature-item のスタイルは不要なので削除 */

/* =============================================== */
/* レスポンシブ対応 (スマートフォンなど) */
/* =============================================== */
@media screen and (max-width: 992px) { /* タブレットなどの中間サイズ */
    .about-features-grid {
        grid-template-columns: repeat(2, 1fr); /* 2カラムに */
    }
}

@media screen and (max-width: 768px) { /* スマートフォン */
    .about {
        padding-top: 60px;
        padding-bottom: 60px;
    }
    .about-features-grid {
        grid-template-columns: 1fr; /* 1カラム（縦積み）に */
        gap: 25px;
    }
    .feature-card {
        padding: 30px 25px;
    }
    .feature-icon {
        font-size: 2.5em;
        margin-bottom: 20px;
    }
    .feature-title {
        font-size: 1.2em;
    }
}

/* 画像横スクロールエリア */
/* 画像横スクロールエリア (2段組) */
.image-scroller-multi {
    width: 100%;
    overflow: hidden;
    padding: 60px 0; /* 上下のトラックの間に少し余白を持たせる */
    display: flex;
    flex-direction: column;
    gap: 20px; /* 上段と下段のトラックの間の隙間 */
    
    /* 左右をフェードアウトさせるマスク効果 */
    -webkit-mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
    mask-image: linear-gradient(to right, transparent, black 10%, black 90%, transparent);
}

.scroller-track {
    display: flex;
    /* CSS変数で画像サイズとギャップを定義 */
    --item-width: 250px;
    --item-gap: 20px;
    
    /* 画像4枚 + 複製4枚 = 8枚。 (幅 + 隙間) * 8 */
    width: calc((var(--item-width) + var(--item-gap)) * 8);
    flex-shrink: 0;
}

.scroller-track:hover {
    animation-play-state: paused; /* マウスを乗せたら一時停止 */
}

/* 上段用: 左へスクロールするアニメーション */
@keyframes scroll-left {
    from {
        transform: translateX(0);
    }
    to {
        /* トラック幅の半分だけ移動してループさせる */
        transform: translateX(calc((var(--item-width) + var(--item-gap)) * -4));
    }
}

/* 下段用: 右へスクロールするアニメーション */
@keyframes scroll-right {
    from {
        transform: translateX(calc((var(--item-width) + var(--item-gap)) * -4));
    }
    to {
        transform: translateX(0);
    }
}

/* 各トラックにアニメーションを適用 */
#track-top {
    animation: scroll-left 50s linear infinite;
}

#track-bottom {
    animation: scroll-right 50s linear infinite;
}


.scroller-item {
    width: var(--item-width);
    height: 180px; /* 画像の高さを指定 */
    margin-right: var(--item-gap);
    flex-shrink: 0;
}

.scroller-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

/* =============================================== */
/* レスポンシブ対応 (スマートフォンなど) */
/* =============================================== */
@media screen and (max-width: 768px) {
    .scroller-track {
        /* スマホでは画像サイズとギャップを小さくする */
        --item-width: 180px;
        --item-gap: 15px;
        /* アニメーション速度も調整 */
        animation-duration: 35s;
    }

    .scroller-item {
        height: 130px; /* スマホでの画像の高さ */
    }
}


/*旧*/
/*.about {
    background-color: #fff;
}

.about-content {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 60px;
}

.about-image {
    width: 45%;
    padding-right: 30px;
}

.about-image img {
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.about-text {
    width: 55%;
    padding-left: 30px;
}

.feature-item {
    margin-bottom: 30px;
}

.feature-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: #FF5722;
}

.feature-item i {
    margin-right: 10px;
}

.feature-item p {
    color: #666;
    line-height: 1.8;
}

/* 働くメリット */
.benefits {
    background-color: #FFF8E1;
    position: relative;
}

.benefits-items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
    margin-top: 60px;
}

.benefit-item {
    width: calc(33.33% - 30px);
    min-width: 280px;
    background-color: #fff;
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.benefit-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    background-color: #FFF3E0;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: #FF5722;
}

.benefit-item h3 {
    font-size: 20px;
    margin-bottom: 15px;
    line-height: 1.4;
}

.benefit-item p {
    color: #666;
    font-size: 15px;
}

/* スタッフインタビュー */
.interviews {
    background-color: #fff;
}

.interview-items {
    max-width: 900px;
    margin: 60px auto 0;
}

.interview-item {
    display: flex;
    flex-wrap: wrap;
    background-color: #f9f9f9;
    border-radius: 10px;
    margin-bottom: 40px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.05);
}

.interview-image {
    width: 30%;
    position: relative;
    overflow: hidden;
}

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

.interview-content {
    width: 70%;
    padding: 30px;
}

.interview-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #eee;
}

.interview-header h3 {
    font-size: 22px;
    margin-bottom: 5px;
}

.interview-meta {
    color: #FF5722;
    font-size: 14px;
}

.interview-qanda {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.interview-q h4 {
    color: #FF5722;
    font-size: 16px;
    margin-bottom: 10px;
}

.interview-q p {
    color: #666;
    line-height: 1.8;
}

/* 店舗一覧 */
.stores {
    background-color: #f9f9f9;
}

.store-list {
    margin-top: 60px;
}

.store-area {
    margin-bottom: 40px;
}

.area-title {
    font-size: 20px;
    margin-bottom: 20px;
    border-left: 4px solid #FF5722;
    padding-left: 15px;
}

.area-title i {
    color: #FF5722;
    margin-right: 8px;
}

.store-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.store-item {
    width: calc(25% - 20px);
    min-width: 200px;
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.store-item:hover {
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    transform: translateY(-5px);
}

.store-item h4 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #333;
}

.store-item p {
    font-size: 13px;
    color: #666;
}

/* 募集要項 */
.requirements {
    background-color: #fff;
}

.req-table-wrapper {
    max-width: 900px;
    margin: 60px auto 0;
    background-color: #fff;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.req-table {
    width: 100%;
    border-collapse: collapse;
}

.req-table th {
    background-color: #FF5722;
    color: #fff;
    text-align: center;
    padding: 15px;
    width: 25%;
    font-weight: 500;
    border-bottom: 1px solid #eee;
}

.req-table td {
    padding: 20px;
    border-bottom: 1px solid #eee;
}

.req-table tr:last-child th,
.req-table tr:last-child td {
    border-bottom: none;
}

.badge {
    display: inline-block;
    background-color: #FFF3E0;
    color: #FF5722;
    padding: 3px 10px;
    border-radius: 30px;
    font-size: 14px;
    margin-right: 5px;
    font-weight: 500;
}

.salary-type {
    margin-bottom: 15px;
}

.salary-type:last-child {
    margin-bottom: 0;
}

.salary-type h4 {
    font-size: 16px;
    margin-bottom: 5px;
}

.salary-type p {
    color: #666;
    font-size: 14px;
    padding-left: 15px;
}

/* よくある質問 */
.faq {
    background-color: #FFF8E1;
}

.faq-list {
    max-width: 800px;
    margin: 60px auto 0;
}

.faq-item {
    background-color: #fff;
    border-radius: 10px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    align-items: center;
    position: relative;
}

.faq-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #FF5722;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin-right: 15px;
    flex-shrink: 0;
}

.faq-question h3 {
    font-size: 18px;
    font-weight: 500;
    flex-grow: 1;
}

.faq-toggle {
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: 10px;
    transition: all 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
    display: flex;
}

.faq-answer .faq-icon {
    background-color: #4CAF50;
    margin-top: 5px;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 20px 20px;
}

.faq-answer p {
    flex-grow: 1;
    padding-left: 15px;
    color: #666;
    line-height: 1.8;
}

/* 応募セクション */
.entry {
    background-color: #FF5722;
    color: #fff;
    text-align: center;
}

.entry .section-title:after {
    background-color: #fff;
}

.entry-lead {
    font-size: 18px;
    margin-bottom: 40px;
}

.entry-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 70px;
}

.btn-line {
    background-color: #06C755;
    color: #fff;
    padding: 20px 40px;
    min-width: 300px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(6, 199, 85, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-line:hover {
    background-color: #05A847;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(6, 199, 85, 0.4);
}

.btn-mail {
    background-color: #fff;
    color: #FF5722;
    padding: 20px 40px;
    min-width: 300px;
    border-radius: 50px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.btn-mail:hover {
    background-color: #FFF8E1;
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
}

.btn-sub {
    display: block;
    font-size: 12px;
    font-weight: 400;
    margin-top: 5px;
}

.entry-flow {
    max-width: 700px;
    margin: 0 auto;
    text-align: left;
}

.flow-title {
    text-align: center;
    font-size: 24px;
    margin-bottom: 40px;
}

.flow-list {
    position: relative;
}

.flow-list:before {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 20px;
    width: 2px;
    background-color: #fff;
}

.flow-list li {
    display: flex;
    margin-bottom: 30px;
    position: relative;
    z-index: 1;
}

.flow-list li:last-child {
    margin-bottom: 0;
}

.flow-num {
    width: 40px;
    height: 40px;
    background-color: #fff;
    color: #FF5722;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 20px;
    flex-shrink: 0;
}

.flow-content {
    flex-grow: 1;
}

.flow-content h4 {
    font-size: 18px;
    margin-bottom: 5px;
}

.flow-content p {
    font-size: 14px;
    opacity: 0.9;
}

/* フッター */
footer {
    background-color: #333;
    color: #fff;
    padding-top: 60px;
    font-size: 14px;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 30px;
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 30px; /* カラム間の隙間 */
    padding-bottom: 50px;
}

/* 各カラムの基本設定 */
.footer-logo,
.footer-links,
.footer-social, /* 追加 */
.footer-info {
    flex: 1; /* スペースを分け合う */
    min-width: 180px; /* カラムの最小幅 */
}

/* カラムごとの見出しスタイル */
.footer-links h4,
.footer-social h4,
.footer-info h4 {
    font-size: 1.1em;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 1px solid #555;
    font-weight: 600;
}

/* ロゴエリア */
.footer-logo {
    max-width: 160px;
    flex-grow: 0;
    flex-shrink: 0;
    min-width: 160px; /* ロゴの幅を固定 */
}
.footer-logo img {
    max-width: 100%;
    height: auto;
}

/* リンクエリア */
.footer-links {
    flex-grow: 1.5; /* 少し広めに */
}

.footer-links ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr)); /* 列数を自動調整 */
    gap: 15px;
}
.footer-links a {
    font-size: 14px;
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}
.footer-links a:hover {
    color: #FF5722;
    text-decoration: underline;
}

/* SNSエリア */
.footer-social ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column; /* 縦に並べる */
    gap: 15px; /* 縦の間隔 */
}

.footer-social a {
    display: inline-flex; /* アイコンとテキストを横並び */
    align-items: center;
    font-size: 14px;
    color: #ddd;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-social a .fab { /* Font Awesome アイコン */
    font-size: 1.4em; /* アイコンサイズ */
    margin-right: 12px;
    width: 25px; /* アイコンの幅を確保 */
    text-align: center;
    color: #fff; /* アイコン自体の色 */
}

.footer-social a:hover {
    color: #FF5722;
}
/* ホバー時にアイコンの色を変える場合 (任意) */
.footer-social a:hover .fa-instagram { color: #e1306c; }
.footer-social a:hover .fa-youtube { color: #FF0000; }

/*----フローティング----*/

/* 画面下部固定バナー */
.fixed-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: none; /* 最初は非表示（スマホのみ表示） */
    justify-content: space-around; /* ボタン間のスペースを均等に */
    align-items: center; /* 垂直方向中央揃え */
    background-color: rgba(255, 255, 255, 0.3); /* CSS変数が無い場合を想定し直接指定 */
    backdrop-filter: blur(5px); /* 背景をぼかす（モダンな表現） */
    -webkit-backdrop-filter: blur(5px);
    border-top: 1px solid #ddd;
    padding: 9px 10px;
    z-index: 999;
    gap: 9px;
    box-sizing: border-box;
}

/* スマホサイズでのみ表示 */
@media screen and (max-width: 768px) {
    .fixed-banner {
        display: flex;
    }
}

/* ボタンとラッパーの共通スタイル */
.fixed-banner .btn-entry,
.fixed-banner .inquiry-wrapper {
    flex: 1; /* 各要素が利用可能なスペースを分け合う */
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Instagramボタンのラッパー（キャラクターの位置基準） */
.inquiry-wrapper {
    position: relative; /* キャラクターを絶対配置するための基準点 */
}

/* 各ボタンのスタイル */
.btn-entry,
.btn-inquiry {
    width: 100%; /* 親要素の幅いっぱいに */
    height: 3.8rem;
    padding: 12px 0;
    text-align: center;
    text-decoration: none;
    color: #fff;
    border-radius: 5px;
    font-weight: bold;
    line-height: 1.2rem;
    font-size: 16px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 2px;
    transition: transform 0.2s ease;
}
.btn-entry:active,
.btn-inquiry:active {
    transform: scale(0.98); /* クリック時に少し縮むエフェクト */
}


.btn-entry {
    background-color: #405C9B;
}

.btn-inquiry {
    background-color: #E4405F;
}

/* キャラクターと吹き出しのコンテナ */
.character-peek {
    position: absolute;
    bottom: 88%; /* ← 位置を調整: ボタンの中央あたりから覗くように */
    left: 36%;   /* ← 位置を調整: ボタンの少し左側に配置 */
    transform: none; /* ← 以前の中央揃え用transformは不要なのでリセット */
    width: auto;     /* ← 幅は内容に応じて自動調整 */
    display: flex;
    flex-direction: row; /* ← 変更: 縦積みから横並びに */
    align-items: center; /* ← 垂直方向の中央揃え */
    gap: 8px;            /* ← 追加: 吹き出しとキャラクターの間の隙間 */
    
    /* アニメーション */
    animation: peek-animation 0.8s ease-out 1.5s forwards;
    opacity: 0;
    pointer-events: none;
}

/* ひょこっと現れるアニメーション */
@keyframes peek-animation {
    0% {
        transform: translate(-50%, 40px);
        opacity: 0;
    }
    80% {
        transform: translate(-50%, -5px);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* 吹き出しのスタイル */
.peek-speech-bubble {
    background-color: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
    /* margin-bottom: 5px; */ /* ← この行を削除、またはコメントアウト */
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    order: 1; /* ← 追加: 吹き出しを左側に配置 */
}

/* 吹き出しのしっぽ */
.peek-speech-bubble::after {
    content: '';
    position: absolute;
    top: 50%; /* ← 変更: 吹き出しの垂直方向中央に */
    right: -7px; /* ← 変更: 吹き出しの右側に突き出す */
    transform: translateY(-50%); /* ← 変更: 垂直方向の中央揃えを保証 */
    width: 0;
    height: 0;
    border-top: 7px solid transparent; /* ← 変更 */
    border-bottom: 7px solid transparent; /* ← 変更 */
    border-left: 7px solid #333; /* ← 変更: 右向きの三角形を作る */
    border-right: none; /* 不要なためリセット */
}

/* キャラクター画像のスタイル */
.peek-character-img {
    width: 75px; /* ← 少し小さく調整 (任意) */
    height: auto;
    display: block;
    filter: drop-shadow(0 4px 6px rgba(0,0,0,0.2));
    order: 2; /* ← 追加: キャラクターを右側に配置 */
}

/* =============================================== */
/* PCのみ表示の追従Instagramボタン スタイル */
/* =============================================== */

.floating-insta-btn {
    position: fixed; /* 画面に固定 */
    top: 160px;   /* ← 「上から30px」の位置に変更 */
    right: 55px;  /* 画面右からの距離 */
    width: 70px;  /* 正方形のサイズ */
    height: 70px;
    z-index: 1000; /* 他の要素より手前に表示 */
    
    /* Instagramのグラデーション背景 */
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    
    border-radius: 18px; /* 少し丸みのある正方形 */
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.25);
    
    /* 中のアイコンを中央揃えにするための設定 */
    display: none; /* デフォルトでは非表示 */
    justify-content: center;
    align-items: center;
    
    /* ホバー時のアニメーション */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.floating-insta-btn:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

/* Instagramの 'i' アイコンのスタイル */
.floating-insta-btn .fa-instagram {
    color: white;
    font-size: 55px;
    /* アイコンの影（任意） */
    text-shadow: 0 2px 3px rgba(0,0,0,0.2);
}

/* PCサイズ (769px以上) でのみ表示 */
@media screen and (min-width: 769px) {
    .floating-insta-btn {
        display: flex; /* flexでアイコンを中央揃え */
    }
}

/* キャラクターと吹き出しのコンテナ */
.character-peek-insta {
    position: absolute;
    bottom: 135%; /* ボタンの上端からどのくらい出すか調整 (100%に近づくほど上へ) */
    left: 50%;
    transform: translateX(-50%);
    width: 60px; /* キャラクター画像の幅に合わせる */
    display: flex;
    flex-direction: column-reverse; /* 画像が下、吹き出しが上になるように */
    align-items: center;
    pointer-events: none; /* ボタンのクリックを邪魔しないように */
    
    /* ひょこっと現れるアニメーション */
    opacity: 0; /* アニメーション開始前は非表示 */
    animation: bounce-in 1s cubic-bezier(0.68, -0.55, 0.27, 1.55) 2s forwards;
	
    margin-bottom: -10px; /* ← この値で重なり具合を調整します */
}

@keyframes bounce-in {
    0% {
        transform: translate(-50%, 30px);
        opacity: 0;
    }
    100% {
        transform: translate(-50%, 0);
        opacity: 1;
    }
}

/* キャラクター画像のスタイル */
.peek-character-img-insta {
    width: 60px; /* サイズ調整 */
    height: auto;
    display: block;
    /* キャラクターに少し影を付けて立体感を出す */
    filter: drop-shadow(0 3px 5px rgba(0, 0, 0, 0.3));
}

/* 吹き出しのスタイル */
.peek-speech-bubble-insta {
    background: #333;
    color: white;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: bold;
    white-space: nowrap; /* テキストが改行しないように */
    position: relative;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

/* 吹き出しのしっぽ */
.peek-speech-bubble-insta::after {
    content: '';
    position: absolute;
    bottom: -6px; /* しっぽの位置 */
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
    border-top: 6px solid #333; /* 吹き出しの背景色と同じ */
}

/* 会社情報エリア */
.footer-info {
    text-align: left; /* 左寄せに変更 (4カラムなら右寄せよりバランスが良いかも) */
}
.footer-info p {
    font-size: 14px;
    margin: 0 0 8px 0;
    color: #ddd;
    line-height: 1.6;
}
.footer-info p:last-child { margin-bottom: 0; }

/* コピーライト */
.copyright { /* ...変更なし... */ }

/* =============================================== */
/* レスポンシブ対応 (スマートフォンなど) */
/* =============================================== */
@media screen and (max-width: 992px) { /* タブレットなどの中間サイズ */
    .footer-content {
        gap: 40px 30px; /* 縦の隙間を少し広げる */
    }
    .footer-logo,
    .footer-links,
    .footer-social,
    .footer-info {
        flex: 1;
        min-width: calc(50% - 15px); /* 2カラムレイアウトを目指す */
        text-align: left; /* 左寄せに統一 */
    }
    .footer-links {
        order: 2;
    }
    .footer-social {
        order: 3;
    }
    .footer-info {
        order: 4;
    }
    .footer-logo {
        order: 1;
        min-width: 160px; /* ロゴは幅維持 */
        flex-basis: 100%; /* ロゴを1行目にする場合 */
        text-align: center; /* ロゴを中央に */
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 768px) { /* スマートフォン */
    .footer-content {
        flex-direction: column; /* 縦積みに変更 */
        align-items: center; /* 中央揃え */
        text-align: center;
        gap: 40px;
    }

    .footer-logo,
    .footer-links,
    .footer-social,
    .footer-info {
        flex: none;
        width: 100%;
        min-width: unset;
        text-align: center;
        order: 0; /* orderをリセット */
    }

    .footer-links ul {
        grid-template-columns: 1fr; /* 1カラムにする */
        gap: 15px;
    }

    .footer-social ul {
        flex-direction: row; /* スマホでは横並びにする (任意) */
        justify-content: center; /* 中央揃え */
        gap: 25px;
    }
    .footer-social a span {
         /* display: none; */ /* スマホでアイコンだけにしたい場合 */
    }
}

/* =============================================== */
/* レスポンシブ対応 (スマートフォンなど) */
/* =============================================== */
@media screen and (max-width: 768px) {
    .footer-content {
        flex-direction: column; /* 縦積みに変更 */
        align-items: center; /* 中央揃え */
        text-align: center; /* テキストも中央揃え */
        gap: 40px; /* 縦積みの間隔 */
    }

    .footer-logo,
    .footer-links,
    .footer-info {
        flex: none; /* flexの比率をリセット */
        width: 100%; /* 幅を100%に */
        min-width: unset; /* 最小幅をリセット */
        text-align: center; /* 全て中央揃え */
    }

    .footer-links ul {
        grid-template-columns: 1fr; /* 1カラムにする */
        gap: 15px; /* 行の間隔のみ */
    }
}

/* PCのみ表示 Instagram追従ボタン */
.sticky-instagram-link {
    position: fixed; /* 画面に固定 */
    right: 30px;     /* 画面の右からの距離 */
    bottom: 30px;    /* 画面の下からの距離 */
    z-index: 1000;   /* 他の要素より手前に表示 */
    
    display: none; /* まずは非表示に（スマホでは表示しないため） */
    position: relative; /* キャラクターを絶対配置するための基準点 */
    width: 64px; /* アイコンボックスのサイズ */
    height: 64px;
    
    transition: transform 0.3s ease; /* ホバー時のアニメーション */
}

/* PCサイズ (例: 769px以上) でのみ表示 */
@media screen and (min-width: 769px) {
    .sticky-instagram-link {
        display: block; /* PCでは表示 */
    }
}

/* ホバー時に少し浮き上がるエフェクト */
.sticky-instagram-link:hover {
    transform: translateY(-5px);
}



/* レスポンシブ対応 */
@media screen and (max-width: 1024px) {
    .main-copy {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .benefit-item {
        width: calc(50% - 30px);
    }
    
    .store-item {
        width: calc(33.33% - 20px);
    }
}

@media screen and (max-width: 768px) {
    .header-inner {
        height: 60px;
    }
    
    .global-nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background-color: rgba(255, 255, 255, 0.95);
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        z-index: 1000;
    }
    
    .global-nav.active {
        display: block;
    }
    
    .global-nav ul {
        flex-direction: column;
        padding: 20px 0;
    }
    
    .global-nav li {
        margin: 10px 0;
        text-align: center;
    }
    
    .menu-trigger {
        display: block;
    }
    
    .hero {
        flex-direction: column;
        height: auto;
    }
    
    .hero-content {
        width: 100%;
        padding: 40px 20px;
        text-align: center;
    }
    
    .hero-image {
        width: 100%;
    }
    
    .hero-image img {
        border-radius: 0;
    }
    
    .main-copy {
        font-size: 28px;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .about-image, .about-text {
        width: 100%;
        padding: 0;
    }
    
    .about-image {
        margin-bottom: 30px;
    }
    
    .benefit-item {
        width: 100%;
    }
    
    .interview-image, .interview-content {
        width: 100%;
    }
    
    .interview-image {
        height: 300px;
    }
    
    .store-item {
        width: calc(50% - 20px);
    }
    
    .req-table th {
        width: 30%;
    }
    
    .entry-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-line, .btn-mail {
        width: 100%;
    }
}

@media screen and (max-width: 480px) {
    .section-title {
        font-size: 24px;
    }
    
    .main-copy {
        font-size: 24px;
    }
    
    .sub-text {
        font-size: 16px;
    }
    
    .store-item {
        width: 100%;
    }
    
    .req-table {
        display: block;
    }
    
    .req-table tbody, .req-table tr {
        display: block;
        width: 100%;
    }
    
    .req-table tr {
        margin-bottom: 20px;
        border-bottom: 1px solid #eee;
    }
    
    .req-table th, .req-table td {
        display: block;
        width: 100%;
        border-bottom: none;
    }
    
    .req-table th {
        text-align: left;
        padding: 10px 15px;
    }
    
    .flow-list:before {
        left: 19px;
    }
}

/* FAQ さらに見るボタン */
.faq-more-button-container {
    text-align: center;
    margin-top: 50px;
}

/* 汎用ボタンスタイル */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.btn-secondary {
    background-color: #fff;
    color: #FF5722;
    border-color: #FF5722;
}

.btn-secondary:hover {
    background-color: #FFF8E1;
    transform: translateY(-3px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}


/*-------------------------------------------*/
/* FAQページ専用スタイル
/*-------------------------------------------*/

/* パンくずリスト */
.breadcrumb {
    background-color: #f8f9fa;
    padding: 15px 0;
    font-size: 14px;
    border-bottom: 1px solid #eee;
}
.breadcrumb a {
    color: #FF5722;
    text-decoration: none;
}
.breadcrumb a:hover {
    text-decoration: underline;
}

/* FAQページ本体 */
.faq-page {
    background-color: #fff;
    padding: 60px 0 80px;
}
.faq-page .section-title {
    font-size: 36px;
    margin-bottom: 60px;
}
@media screen and (max-width: 768px) {
    .faq-page {
        padding: 40px 0;
    }
    .faq-page .section-title {
        font-size: 28px;
        margin-bottom: 40px;
    }
}


/* FAQカテゴリ見出し */
.faq-category-title {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    padding-bottom: 10px;
    border-bottom: 2px solid #FF5722;
    margin-top: 60px;
    margin-bottom: 30px;
}
.faq-page .container > .faq-list:first-of-type {
    margin-top: 0; /* 最初のカテゴリの上の余白をなくす */
}
.faq-page .container > h2:first-of-type {
    margin-top: 0;
}


/* お問い合わせ誘導セクション */
.contact-prompt {
    background-color: #FFF8E1;
    text-align: center;
    padding: 80px 20px;
}
.contact-prompt h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
}
.contact-prompt p {
    font-size: 16px;
    color: #666;
    line-height: 1.8;
    margin-bottom: 40px;
}
/* 汎用ボタンスタイル（TOPページと共通化のため） */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 700;
    text-align: center;
    transition: all 0.3s ease;
}
.btn-primary {
    background-color: #FF5722;
    color: #fff;
    box-shadow: 0 4px 10px rgba(255, 87, 34, 0.3);
}
.btn-primary:hover {
    background-color: #E64A19;
    transform: translateY(-3px);
    box-shadow: 0 6px 15px rgba(255, 87, 34, 0.4);
}
@media screen and (max-width: 768px) {
    .contact-prompt {
        padding: 60px 20px;
    }
    .contact-prompt h2 {
        font-size: 22px;
    }
}


/*-------------------------------------------*/
/* FAQページ カテゴリジャンプボタン
/*-------------------------------------------*/
.faq-category-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
    margin-bottom: 60px;
}

.btn-category {
    background-color: #FFF3E0;
    color: #FF5722;
    padding: 10px 25px;
    border-radius: 30px;
    font-weight: 500;
    font-size: 15px;
    border: 1px solid #FF5722;
    transition: all 0.3s ease;
}

.btn-category:hover {
    background-color: #FF5722;
    color: #fff;
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
}

/*-------------------------------------------*/
/* ページトップへ戻るボタン
/*-------------------------------------------*/
.back-to-top-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 50px;
    height: 50px;
    background-color: #FF5722;
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    opacity: 0; /* 最初は非表示 */
    visibility: hidden;
    transition: opacity 0.4s, visibility 0.4s, transform 0.4s;
    z-index: 1000;
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background-color: #E64A19;
    transform: scale(1.1);
}