@charset "UTF-8";

@import "https://use.fontawesome.com/releases/v5.13.0/css/all.css";



/***********************************************
 *                  全体                   *
 ***********************************************/



a {
    color: inherit;
    text-decoration: none;
}

.l-footer {
    background-color: #333;
    color: #ffffff;
}

/* 最後のマージン削除 */
.l-contents__inner:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
}


.c-entry__title {
     display: none;
    
}

/* 投稿ページの下部古い投稿新しい投稿にpadding */
.c-entry__footer{
    padding-bottom: 20px;
}

/* トップ動画のサイズ変更 */
.smb-section-with-bgimage__bgimage video {
    height: 100vh !important;
    width: auto !important;
    position: relative !important;
}

@media (max-width: 768px) {
    .smb-section-with-bgimage__bgimage video {
        height: 100vh !important;
        width: auto !important;
        position: relative !important;
    }
    .top_sec {
        --smb-section--min-height: 100vh !important;
    }
}

/* スマホ表示時に改行 */
.sma {
    display: none;
}

@media screen and (max-width: 768px) {
    .sma {
        display: block;
    }
}

/* PC非表示 */

@media screen and (max-width: 768px) {
  .br-hide {
    display: none;
  }
}




/* マージンゼロのセクション */
.zero_section {
    margin-top: 0 !important;
    margin-left: 0 !important;
    padding-top: 0 !important;
    padding-bottom: 0 !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* マージン小のセクション */
.title_section {
    margin-top: 0px !important;
    margin-left: 0 !important;
    padding-top: 15px !important;
    padding-bottom: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

.first_section {
    margin-left: 0 !important;
    padding-bottom: 15px !important;
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* イメージ下部 */
.top_img {
    margin-top: 20% !important;
}


/* ハンバーガーボタン */
.c-hamburger-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 50px;
    height: 50px;
    background-color: #606060;
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
}

.c-hamburger-btn__bars {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.c-hamburger-btn__bar {
    width: 30px;
    height: 2px;
    background-color: white !important;
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
    margin: 4px auto;
}

.c-hamburger-btn__label {
    font-size: 14px;
    font-weight: bold;
    margin-top: 8px;
    text-align: center;
    color: white;
}



/* メニュー開閉時のアニメーション */
.c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__bar:nth-child(1) {
    transform: translateY(8px) rotate(45deg);
}

.c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__bar:nth-child(2) {
    opacity: 0;
}

.c-hamburger-btn[aria-expanded="true"] .c-hamburger-btn__bar:nth-child(3) {
    transform: translateY(-8px) rotate(-45deg);
}

/* ぬるりアニメーション */
.bg .bg-wrap {
    position: relative;
    display: inline-block;
    margin-top: 5px;
}

.bg.is-animated .bg-wrap::before {
    animation: bg 2.6s cubic-bezier(0.22, 1, 0.36, 1) forwards;
    background: linear-gradient(to right, #362ae0 0%, #3b79cc 50%, #42d3ed 100%);
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transform-origin: left center;
}

.bg .bg-wrap .inn {
    color: #fff;
    display: inline-block;
    font-size: 36px;
    font-weight: bold;
    padding: 5px 15px;
    position: relative;
    z-index: 1;
}

@keyframes bg {
    0% { opacity: 0; transform: scaleX(0) translateX(-5%); }
    30% { transform: scaleX(1) translateX(0); }
    100% { transform: scaleX(1) translateX(0); opacity: 1; }
}



/* h2英語クラス */
.en .smb-section__title {
    font-family: futura-100, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    font-style: normal;
}


.skill_subtitle {
    color:#007cba !important;
    font-size: 1rem !important;
    font-family: futura-100, sans-serif !important;
    font-weight: 600;
    font-style: normal;
}


/* skill_btn限定：確実なホバーエフェクト実装 */

/* skill_btn限定：属性セレクタを活用した確実な背景色変更 */

/* ボタン全体の基本設定 */
.skill_btn .smb-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}

/* テキストラベルの中央配置 */
.skill_btn .smb-btn__label {
    flex: 0 1 auto !important;
    text-align: center !important;
    padding: 0 2.5em !important;
    white-space: nowrap !important;
}

/* 矢印の設定 */
.skill_btn .smb-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background-image: url('https://skill-hiroshima.jp/wp-content/uploads/2025/11/btn_arrow.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
    pointer-events: none !important;
}

/* 通常時：透明背景を確実に適用 */
.skill_btn.smb-buttons .smb-btn-wrapper.is-style-ghost .smb-btn[style*="background-color:"] {
    background-color: transparent !important;
    color: var(--_color-text) !important;
    border-color: var(--_color-text) !important;
}

/* ホバー時：グレー背景を確実に適用（核心部分） */
.skill_btn.smb-buttons .smb-btn-wrapper.is-style-ghost .smb-btn[style*="background-color:"]:hover {
    background-color: #666666 !important;
    color: #ffffff !important;
    border-color: #666666 !important;
}

/* ホバー時の矢印エフェクト */
.skill_btn.smb-buttons .smb-btn-wrapper.is-style-ghost .smb-btn[style*="background-color:"]:hover::after {
    transform: translateY(-50%) translateX(4px) !important;
    filter: brightness(0) invert(1) !important;
}

/* req_btn限定：確実なホバーエフェクト実装 */
/* req_btn限定：属性セレクタを活用した確実な背景色変更 */
/* ボタン全体の基本設定 */
.req_btn .smb-btn {
    position: relative !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.3s ease !important;
}
/* テキストラベルの中央配置 */
.req_btn .smb-btn__label {
    flex: 0 1 auto !important;
    text-align: center !important;
    padding: 0 2.5em !important;
    white-space: nowrap !important;
}
/* 矢印の設定 */
.req_btn .smb-btn::after {
    content: '' !important;
    position: absolute !important;
    top: 50% !important;
    right: 12px !important;
    transform: translateY(-50%) !important;
    width: 32px !important;
    height: 32px !important;
    background-image: url('https://skill-hiroshima.jp/wp-content/uploads/2025/11/btn_arrow.svg') !important;
    background-size: contain !important;
    background-repeat: no-repeat !important;
    background-position: center !important;
    transition: transform 0.3s ease, filter 0.3s ease !important;
    pointer-events: none !important;
    filter: brightness(0) invert(1) !important;
}
/* 通常時：透明背景を確実に適用 */
.req_btn.smb-buttons .smb-btn-wrapper.is-style-ghost .smb-btn[style*="background-color:"] {
    background-color: transparent !important;
    color: #ffffff !important;
    border-color: #ffffff !important;
}
/* ホバー時：グレー背景を確実に適用（核心部分） */
.req_btn.smb-buttons .smb-btn-wrapper.is-style-ghost .smb-btn[style*="background-color:"]:hover {
    background-color: #666666 !important;
    color: #ffffff !important;
    border-color: #666666 !important;
}
/* ホバー時の矢印エフェクト */
.req_btn.smb-buttons .smb-btn-wrapper.is-style-ghost .smb-btn[style*="background-color:"]:hover::after {
    transform: translateY(-50%) translateX(4px) !important;
    filter: brightness(0) invert(1) !important;
}


/***********************************************
 *           ヒーローセクション                   *
 ***********************************************/


h2.hero_title {
    font-weight: 800 !important;
    font-style: normal;
    color: #ffffff;
    text-align: center;
    margin-bottom: 0;
    padding-bottom: 0;
    letter-spacing: .06em;
    font-size: 3rem !important;
    font-feature-settings: "palt";
}

/* スマートフォン表示時のスタイル */
@media (max-width: 768px) {
    h2.hero_title  {
        font-size: 1.9rem !important;
    }
}



/***********************************************
 *           aboutセクション                   *
 ***********************************************/


.about_sec .smb-section-break-the-grid__content {
    margin-left: 20px;
}

@media (max-width: 768px) {
    .about_sec .smb-section-break-the-grid__content {
        margin-top: -20px !important;
    }
}

/* ============================================
   SERVICE セクション用スタイル
   ============================================ */

/* service_secクラスが付いたヒーローヘッダーのボディ部分 */
.service_sec .smb-hero-header__body {
    border: 2px solid #ffffff;
    padding: 2rem; /* 64px */
    background-color: #ffffff;
    background-color: rgba(238, 238, 238, 0.4);
    backdrop-filter: blur(1px); /* 背景をぼかす効果 */
    
    /* アニメーション初期状態 */
    opacity: 0;
    transform: translateY(40px);
    transition-property: opacity, transform;
    transition-duration: 800ms; /* 1500ms → 800msに短縮 */
    transition-timing-function: cubic-bezier(0.25, 0.46, 0.45, 0.94); /* ease-out-cubic */
}

/* アニメーション実行後の状態 */
.service_sec .smb-hero-header__body[data-aos="fade-up"].aos-animate {
    opacity: 1;
    transform: translateY(0);
}

/* コンテンツ内の要素を段階的にフェードイン */
.service_sec .smb-hero-header__body .wp-block-heading {
    opacity: 0;
    transition: opacity 500ms ease-out 100ms; /* 300ms → 100msに短縮 */
}

.service_sec .smb-hero-header__body[data-aos="fade-up"].aos-animate .wp-block-heading {
    opacity: 1;
}

.service_sec .smb-hero-header__body p {
    opacity: 0;
    transition: opacity 500ms ease-out 200ms; /* 500ms → 200msに短縮 */
}

.service_sec .smb-hero-header__body[data-aos="fade-up"].aos-animate p {
    opacity: 1;
}

/* パフォーマンス最適化: GPU加速 */
.service_sec .smb-hero-header__body {
    will-change: transform, opacity;
}

/* アニメーション完了後はwill-changeを解除 */
.service_sec .smb-hero-header__body.aos-animate {
    will-change: auto;
}

/* ============================================
   SERVICE セクション - レスポンシブ対応
   ============================================ */

@media (max-width: 768px) {
    /* タブレット: パディングとアニメーション距離を控えめに */
    .service_sec .smb-hero-header__body {
        padding: 1.5rem; /* 24px */
        transform: translateY(25px);
    }
    
    /* 段階的フェードインの遅延を短縮 */
    .service_sec .smb-hero-header__body .wp-block-heading {
        transition-delay: 80ms; /* 200ms → 80msに短縮 */
    }
    
    .service_sec .smb-hero-header__body p {
        transition-delay: 150ms; /* 350ms → 150msに短縮 */
    }
}

@media (max-width: 480px) {
    /* スマホ: さらにパディングを小さく、アニメーションも控えめに */
    .service_sec .smb-hero-header__body {
        padding: 1.25rem; /* 20px */
        border-width: 1.5px; /* 罫線も少し細く */
        transform: translateY(20px);
        transition-duration: 600ms; /* 1200ms → 600msに短縮 */
    }
    
}


.service_sec .smb-hero-header__body h3.wp-block-heading{
    font-size: 2.0rem;
    font-weight: 800;
    margin-top: 0px;
}


/* ============================================
   ヒーローヘッダー - スマホ対応（画像表示修正版）
   ============================================ */

@media (max-width: 768px) {
    
    /* **1. レイアウト基本設定** */
    .service_sec.smb-hero-header {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: unset !important;
        grid-template-rows: unset !important;
        min-height: auto !important;
        gap: 0 !important;
        padding: 0 !important;
    }
    
    /* **2. 画像エリア - 画面いっぱい表示** */
    .service_sec.smb-hero-header .smb-hero-header__figure {
        order: 1 !important;
        width: 100vw !important;
        margin-left: calc(-50vw + 50%) !important;
        margin-right: calc(-50vw + 50%) !important;
        height: 60vh !important;
        min-height: 300px !important;
        position: relative !important;
        overflow: hidden !important;
        
        /* グリッド設定の完全無効化 */
        grid-column: unset !important;
        grid-row: unset !important;
        grid-area: unset !important;
    }
    
    /* **3. 画像本体 - 確実な表示設定（最重要）** */
    .service_sec.smb-hero-header .smb-hero-header__figure img {
        /* 確実に表示されるための3段構え */
        display: block !important;
        opacity: 1 !important;
        visibility: visible !important;
        
        /* 配置とサイズ */
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        object-fit: cover !important;
        object-position: center !important;
        
        /* z-index階層：画像を最前面に */
        z-index: 2 !important;
    }
    
    /* **4. マスクレイヤー - 画像の上に半透明で重ねる** */
    .service_sec.smb-hero-header .smb-hero-header__mask {
        position: absolute !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        z-index: 1 !important; /* 画像より下に配置 */
        background-color: rgba(0, 0, 0, 0.5) !important; /* 念のため明示的に設定 */
    }
    
    /* **5. テキストエリア - 画像下部に配置** */
    .service_sec.smb-hero-header .smb-hero-header__body {
        order: 2 !important;
        width: 90% !important;
        max-width: 500px !important;
        margin: -30px auto 0 auto !important; /* 画像に少しオーバーラップ */
        
        /* 既存デザイン維持 */
        padding: 1.5rem !important;
        border: 2px solid #ffffff !important;
        backdrop-filter: blur(1px) !important;
        
        /* 最前面表示 */
        position: relative !important;
        z-index: 10 !important;
        color: #062E4C !important;
        
        /* グリッド設定の無効化 */
        grid-column: unset !important;
        grid-row: unset !important;
        grid-area: unset !important;
    }
    
    /* **6. テキスト内容の調整** */
    .service_sec.smb-hero-header .smb-hero-header__body h3.wp-block-heading {
        color: #062E4C !important;
        font-size: 1.8rem !important;
        margin-top: 0.5rem !important;
    }
    
    .service_sec.smb-hero-header .smb-hero-header__body .skill_subtitle {
        color: #007cba !important;
    }
    
    .service_sec.smb-hero-header .smb-hero-header__body p {
        color: #333333 !important;
        line-height: 1.6 !important;
    }
}

/* **小さいスマホ用調整** */
@media (max-width: 480px) {
    .service_sec.smb-hero-header .smb-hero-header__figure {
        height: 50vh !important;
        min-height: 250px !important;
    }
    
    .service_sec.smb-hero-header .smb-hero-header__body {
        width: 95% !important;
        padding: 1.25rem !important;
        margin-top: -20px !important;
    }
}


/***********************************************
 *           リクルートセクション                   *
 ***********************************************/


/* h2英語クラス */
.req .smb-section__title {
    font-family: futura-100, sans-serif;
    font-size: 3rem;
    font-weight: 600;
    font-style: normal;
}

h3.req_txt{
     color: #ffffff !important;
     font-size: 1.8rem !important;
    font-weight: 800 !important;
    font-style: normal;
}
@media (max-width: 480px) {
    h3.req_txt {
    }
    
}

/* ============================================
   採用セクション 2列スクロールアニメーション v3
   ============================================ */

/* 採用セクション全体 */
.req {
    position: relative;
    overflow: visible;
}

/* メインコンテンツラッパー(PC: 左右2列) */
.req .smb-section__contents-wrapper {
    display: flex;
    gap: 60px;
    align-items: flex-start;
}

/* 左側のテキストコンテンツ */
.req-text-content {
    flex: 1;
    max-width: 550px;
}

/* 右側の画像スクロールエリア(2列) */
.req-scroll-container {
    flex: 0 0 auto;
    display: flex;
    gap: 20px;
    position: relative;
    min-height: auto;
    height: calc(220px * 3 + 40px);
    width: auto;
    overflow: hidden;
    margin-left: auto;
    margin-right: 0;
}

/* 各列 */
.req-scroll-column {
    width: 220px;
    display: flex;
    flex-direction: column;
    gap: 20px;
    will-change: transform;
}

/* 1列目: 下から上へ */
.req-scroll-column:nth-child(1) {
    animation: scrollUpContinuous 30s linear infinite;
}

/* 2列目: 上から下へ(逆回転) */
.req-scroll-column:nth-child(2) {
    animation: scrollDownContinuous 35s linear infinite;
}

/* 画像アイテム(正方形) */
.req-scroll-item {
    position: relative;
    width: 220px;
    height: 220px;
    aspect-ratio: 1/1;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    flex-shrink: 0;
    background-color: #f0f0f0;
}

.req-scroll-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
    display: block;
}

.req-scroll-item:hover img {
    transform: scale(1.05);
}

/* 下から上へスクロール(1列目) - PC用 */
@keyframes scrollUpContinuous {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-2160px);  /* 9枚分 = 240px × 9 */
    }
}

/* 上から下へスクロール(2列目・逆回転) - PC用 */
@keyframes scrollDownContinuous {
    0% {
        transform: translateY(-2160px);
    }
    100% {
        transform: translateY(0);
    }
}

/* タブレット対応 */
@media (max-width: 1024px) {
    .req .smb-section__contents-wrapper {
        gap: 40px;
    }
    .req-scroll-container {
        width: auto;
        gap: 15px;
        height: calc(200px * 3 + 40px);
    }
    .req-scroll-column {
        width: 200px;
    }
    .req-scroll-item {
        width: 200px;
        height: 200px;
    }
}

/* スマホ対応 - 1列表示 */
@media (max-width: 768px) {
    .req .smb-section__contents-wrapper {
        flex-direction: column;
        gap: 40px;
    }
    .req-text-content {
        max-width: 100%;
    }
    .req-scroll-container {
        width: 90%;
        max-width: 360px;
        height: calc(min(90vw, 360px) * 3 + 40px);
        margin: 20px auto 0 auto;
        gap: 0;
    }
    /* スマホでは2列目を非表示 */
    .req-scroll-column:nth-child(2) {
        display: none;
    }
    .req-scroll-column {
        width: 100%;
        gap: 15px;
        animation: scrollUpContinuousMobile 30s linear infinite;
    }
    
    /* スマホ用アニメーション - 別名で定義 */
    @keyframes scrollUpContinuousMobile {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(calc(-100% / 6));  /* 54枚の1/6 = 9枚分 */
        }
    }
    
    .req-scroll-item {
        width: 100%;
        height: auto;
        aspect-ratio: 1/1;
        border-radius: 6px;
    }
}

@media (max-width: 480px) {
    .req .smb-section__contents-wrapper {
        gap: 30px;
    }
    .req-scroll-container {
        width: 95%;
        max-width: 320px;
        height: calc(min(95vw, 320px) * 3 + 30px);
        margin-top: 15px;
    }
    .req-scroll-column {
        gap: 10px;
        animation: scrollUpContinuousMobile 25s linear infinite;
    }
    
    /* 480px以下も同じアニメーション使用 */
    @keyframes scrollUpContinuousMobile {
        0% {
            transform: translateY(0);
        }
        100% {
            transform: translateY(calc(-100% / 6));
        }
    }
    
    .req-scroll-item {
        border-radius: 4px;
    }
}

/* フェードインエフェクト(AOS連携) */
.req-scroll-container[data-aos] {
    opacity: 0;
    transition: opacity 0.8s ease;
}

.req-scroll-container[data-aos].aos-animate {
    opacity: 1;
}

/* パフォーマンス最適化 */
.req-scroll-column {
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    -webkit-perspective: 1000px;
    perspective: 1000px;
}


/***********************************************
 *           アクセスセクション                   *
 ***********************************************/

/* ============================================
   Googleマップ埋め込み - レスポンシブル対応
   ============================================ */

/* マップのコンテナ */
.map-responsive {
    position: relative;
    width: 100%;
    max-width: 1200px; /* デスクトップ最大幅 */
    margin: 0 auto; /* 中央寄せ */
    overflow: hidden;
    /* デフォルト: 16:9のアスペクト比 */
    padding-bottom: 56.25%; /* (9 / 16) * 100 */
    border-radius: 12px; /* 角を丸く */
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1); /* 影を追加 */
}

/* iframe本体 */
.map-responsive iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: 0;
}

/* ============================================
   デスクトップ表示（1024px以上）
   ============================================ */
@media (min-width: 1024px) {
    .map-responsive {
        max-width: 1200px;
        padding-bottom: 45%; /* 少し横長に（約16:7） */
    }
}

/* ============================================
   タブレット表示（768px〜1023px）
   ============================================ */
@media (min-width: 768px) and (max-width: 1023px) {
    .map-responsive {
        max-width: 100%;
        padding-bottom: 60%; /* 5:3の比率 */
        border-radius: 8px;
        box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    }
}

/* ============================================
   スマホ表示（767px以下）
   ============================================ */
@media (max-width: 767px) {
    .map-responsive {
        padding-bottom: 75%; /* 4:3の比率 */
        border-radius: 6px; /* スマホは控えめな角丸 */
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.06);
        margin: 0 1rem; /* 左右に少し余白 */
    }
}

/* 超小型スマホ（480px以下） */
@media (max-width: 480px) {
    .map-responsive {
        padding-bottom: 100%; /* 正方形に近く */
        border-radius: 4px;
        margin: 0 0.5rem; /* さらに狭い余白 */
    }
}

/* ============================================
   オプション：画面端まで広げるバージョン
   ============================================ */

/* もし画面端まで広げたい場合は、このクラスを追加 */
.map-responsive.full-width {
    max-width: 100%;
    border-radius: 0;
    margin: 0;
}

@media (max-width: 767px) {
    .map-responsive.full-width {
        margin: 0 -1rem; /* 親要素のpaddingを打ち消す */
        width: calc(100% + 2rem);
    }
}



