@charset "UTF-8";

/*!
Theme Name: Cocoon Child
Description: Cocoon専用の子テーマ
Theme URI: https://wp-cocoon.com/
Author: わいひら
Author URI: https://nelog.jp/
Template:   cocoon-master
Version:    1.1.3
*/

/* ==========================================================================
   MISSIONA Recruit LP - Integrated Stylesheet

   このファイルはクライアント提供の9個の外部CSSを統合したもの。
   個別ファイルへ戻したい場合は git history と、各セクション内に置かれた
   「source: <filename>」マーカー（▼/▲）から対応箇所を特定すること。

   統合順序（カスケーディング最適化）:
     1. variables.css       - CSS変数
     2. base.css            - リセット・ベース
     3. components.css      - 共通コンポーネント
     4. header.css          - レイアウト: ヘッダー
        footer.css          - レイアウト: フッター
        sp-modal.css        - レイアウト: SPモーダル
     5. search-results.css  - 固有ページ: 検索結果
     6. dark-mode.css       - カラーテーマ
     7. responsive.css      - レスポンシブ

   パス書き換え: `../img/` → `assets/img/`（sp-modal.css の url() 2か所のみ）
   ※ 子テーマ内画像は wp-content/themes/cocoon-child-master/assets/img/ 配下に配備済み

   注意:
   - クライアント提供の `style.css`（テーマヘッダー専用、独立テーマ用）は
     子テーマでは不要なため統合対象外
   - 元の責務を維持するため、ファイル単位でラップしている。新規スタイル追加
     時は適切なセクション内に追記し、source マーカー外側に置く
   ========================================================================== */


/************************************
** 1. カスタムプロパティ（変数）
************************************/

/* ▼ source: variables.css ▼ */
/**
 * MISSIONA Recruit LP Styles - Variables
 * CSS変数定義
 */
 
/* ========================================
   CSS Variables (カラーとレイアウト変数)
   ======================================== */
:root {
    /* カラーパレット */
    --primary-color: #D42E1E;
    --primary-hover: #c02a26;
    --gradient-start: #f3736f;
    --gradient-end: #ff936a;
    
    /* 背景色 */
    --bg-white: #ffffff;
    --bg-gray-light: #f8f8f8;
    --bg-gray: #f0f0f0;
    --bg-pink-light: #f5fffb;
    --bg-pink-lighter: #f5f5f5;
    --bg-pink-pale: #FFF9F8;

    /* テキストカラー */
    --text-primary: #333333;
    --text-secondary: #666666;
    --text-tertiary: #999999;
    --text-gray: #555555;
    
    /* ボーダーとシャドウ */
    --border-light: #eee;
    --border-gray: #ddd;
    --border-pink: #f0dede;
    --border-tag: #cccccc;
    --shadow-subtle: rgba(0, 0, 0, 0.05);
    --shadow-medium: rgba(0, 0, 0, 0.1);
    
    /* ボタンカラー */
    --line-green: #06c755;
    --line-green-hover: #05b04d;
    
    /* スペーシング */
    --spacing-xxs: 0.25rem;
    --spacing-xs: 0.5rem;
    --spacing-sm: 0.75rem;
    --spacing-md: 1rem;
    --spacing-lg: 1.5rem;
    --spacing-xl: 2rem;
    
    /* ボーダーラディウス */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-pill: 25px;
    
    /* トランジション */
    --transition-fast: 0.1s ease;
    --transition-normal: 0.2s ease;
    --transition-slow: 0.3s ease;
    
    /* レイアウト幅 */
    --content-width: 55%;
}
/* ▲ source: variables.css ▲ */

/************************************
** 2. ベーススタイル＆リセット
************************************/

/* ▼ source: base.css ▼ */
/**
 * MISSIONA Recruit LP Styles - Base
 * Reset & Base Styles、Layout、Utility Classes
 */

/* ========================================
   Reset & Base Styles
   ======================================== */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, 'Noto Sans JP', sans-serif !important;
    line-height: 1.6;
    color: var(--text-primary) !important;
    background-color: var(--bg-white);
    position: relative;
    overflow-x: clip; /* 画面幅overflow制御 */
}

/* 採用TOP（/recruit/index.php）のみヘッダー高さ分の余白を確保 */
body.page-recruit-index {
    padding-top: 60px;
}

body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bg-pink-pale);
    z-index: -2;
    pointer-events: none;
}

/* ========================================
   Layout
   ======================================== */
main {
    width: var(--content-width);
    max-width: 1200px;
    margin: 0 auto;
}

section {
    margin-bottom: var(--spacing-xl);
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    position: relative;
    z-index: 1;
}

/* ========================================
   Utility Classes
   ======================================== */
.background-color-pink-pale {
    background-color: var(--bg-pink-pale);
    width: 100vw;
    padding: var(--spacing-md) 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    margin-bottom: 48px;
    margin-top: var(--spacing-md);
}

.background-color-gray {
    background-color: var(--bg-gray-light);
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
}

.background-color-gray h3 {
    font-weight: bold;
    margin-bottom: var(--spacing-xs);
}
/* ▲ source: base.css ▲ */

/************************************
** 3. 共通コンポーネント
************************************/

/* ▼ source: components.css ▼ */
/**
 * MISSIONA Recruit LP Styles - Components
 * Section Headings、Category Cards、Tags、Message Card、Cards、Action Buttons
 */

/* ========================================
   Section Headings
   ======================================== */
.section-heading {
    display: flex;
    align-items: center;
    width: 100%;
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: var(--spacing-md);
    margin-top: var(--spacing-md);
    position: relative;
}

.section-heading.founder-message {
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

.section-heading-with-icon {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    margin-top: var(--spacing-md);
}

.section-heading-icon {
    width: 48px;
    height: 48px;
}

.section-heading-button-icon {
    width: 20px;
    height: 20px;
}

.section-heading-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform var(--transition-normal), opacity var(--transition-normal);
}

.section-heading-link:hover {
    transform: translateX(3px);
    opacity: 0.8;
}

.section-center-align {
    margin: 0 auto;
    width: 100vw;
    padding: var(--spacing-md) 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    text-align: center;
    justify-content: center;
    align-items: center;
    padding-top: var(--spacing-xl);
}

.section-categories {
    margin: 0 auto;
    width: 100vw;
    padding: var(--spacing-md) 0;
    margin-left: calc(-50vw + 50%);
    margin-right: calc(-50vw + 50%);
    text-align: center;
    justify-content: center;
    align-items: center;
    background-color: var(--bg-white);
}

/* ========================================
   Category Cards
   ======================================== */
.category-grid {
    display: grid;
    width: var(--content-width);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
    grid-template-columns: repeat(auto-fit, minmax(80px, 1fr));
    gap: var(--spacing-sm);
    margin-top: var(--spacing-md);
    margin-bottom: var(--spacing-md);
    padding: 0;
}

.category-card {
    background-color: var(--bg-white);
    border: 2px solid var(--primary-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-sm) 0.25rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    cursor: pointer;
    transition: background-color var(--transition-normal);
    text-decoration: none;
    color: inherit;
    min-height: 130px;
}

.category-card:hover {
    background-color: var(--bg-pink-lighter);
}

.category-card img {
    width: 72px;
    height: 72px;
    object-fit: contain;
}

/* Folded corner effect */
.category-card::after {
    content: "";
    position: absolute;
    bottom: 0;
    right: 0;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent var(--primary-color) transparent;
    border-bottom-right-radius: var(--radius-sm);
}

.category-card::before {
    content: "";
    position: absolute;
    bottom: 0.4rem;
    right: 0.4rem;
    width: 5px;
    height: 5px;
    border-top: 2px solid var(--bg-white);
    border-right: 2px solid var(--bg-white);
    transform: rotate(45deg);
    z-index: 1;
}

.category-card-text {
    font-size: 0.9rem;
    font-weight: bold;
    text-align: center;
    color: var(--primary-color);
    line-height: 1.3;
    min-height: 2.6em;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PC版では改行を非表示 */
.category-card-text br {
    display: none;
}

/* keep-line-breakクラスが付いているボタンはPC版でも改行を表示 */
.category-card.keep-line-break .category-card-text br {
    display: inline;
}

/* ========================================
   Tags
   ======================================== */
.tags {
    width: var(--content-width);
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.tags .tag-list {
    width: 100%;
    max-width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    list-style: none;
    padding: 0;
    margin: 0 auto;
}

.tag-button {
    background-color: #FFFDFD;
    border: 1px solid var(--border-tag);
    border-radius: 20px;
    padding: 0.4rem var(--spacing-md);
    padding-right: var(--spacing-xl);
    font-size: 0.9rem;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--transition-normal);
    position: relative;
}

.tag-button:hover {
    background-color: var(--bg-gray);
}

.tag-button::after {
    content: "";
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 2px solid var(--text-secondary);
    border-right: 2px solid var(--text-secondary);
    transform: translateY(-50%) rotate(45deg);
}

.tag-group {
    width: 100%;
    margin-bottom: var(--spacing-lg);
}

.tag-group-title {
    width: 100%;
    max-width: 100%;
    font-size: 16px;
    margin-top: var(--spacing-md);
    color: var(--text-gray);
    text-align: left;
}

.tag-overview-container {
    width: 100%;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding-bottom: var(--spacing-xs);
    border-bottom: none;
}

.tag-overview-container.active {
    border-bottom: 1px dotted #ccc;
}

.tag-overview {
    font-size: 14px;
    padding: 0;
    color: var(--text-gray);
    text-align: center;
}

.tag-overview-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform var(--transition-normal);
}

.tag-overview-toggle:hover {
    opacity: 0.7;
}

.tag-overview-icon {
    width: 20px;
    height: 20px;
    transition: transform var(--transition-normal);
}

.tag-groups-container {
    max-height: 0;
    width: 100%;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.tag-groups-container.active {
    max-height: none;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   Message Card (Founder Message)
   ======================================== */
#message {
    position: relative;
    padding-top: var(--spacing-xl);
    padding-bottom: var(--spacing-xl);
}

#message::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100vw;
    bottom: 0;
    background: linear-gradient(to bottom, var(--bg-white) 0%, var(--bg-white) 50%, var(--bg-pink-pale) 50%, var(--bg-pink-pale) 100%);
    z-index: -1;
    pointer-events: none;
}

.message-container {
    padding: var(--spacing-xs);
    overflow: visible;
    max-width: 100% !important;
    width: 100%;
    position: relative;
    z-index: 1;
}

.message-card-content {
    cursor: pointer;
    width: 100%;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: var(--spacing-lg);
    align-items: center;
}

.message-image {
    flex: 0 0 auto;
    max-width: 350px;
}

.message-image img {
    width: 100%;
    max-width: 100%;
    height: auto;
    min-height: 200px;
    border-radius: var(--radius-md);
    display: block;
}

.message-text {
    flex: 1 1 280px;
    text-align: left;
}

.message-text h3 {
    margin: 0 0 var(--spacing-xs) 0;
    font-size: 0.9rem;
    color: #000000;
}

.message-text p {
    margin: 0;
    font-size: 0.95rem;
}

.message-description {
    font-weight: normal !important;
}

.tag-container {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    padding: var(--spacing-md);
}

.tag-text {
    border: 0;
    color: gray;
    font-size: 0.5rem;
    padding: 0.1rem var(--spacing-xs);
    background-color: var(--bg-gray);
    border-radius: var(--radius-sm);
    display: inline-block;
    margin: 0;
}

/* ========================================
   Cards
   ======================================== */
.card-list {
    display: grid;
    grid-template-columns: 1.3fr 1fr 1fr;
    gap: var(--spacing-lg);
    max-width: 100%;
}

.card-list .card:first-child {
    max-width: 100%;
}

.card {
    background-color: var(--bg-white);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 4px 12px var(--shadow-subtle);
    border: none;
    cursor: pointer;
    text-decoration: none;
    color: inherit;
    transition: transform var(--transition-fast), box-shadow var(--transition-normal);
    max-width: 100%;
    width: 100%;
}

.card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-subtle);
}

.card img {
    width: 100%;
    height: auto;
    display: block;
}

.card h3 {
    margin: 0.8rem var(--spacing-md) 0.3rem var(--spacing-md);
    font-size: 0.9rem;
    color: #000000;
}

.card time {
    font-size: 0.6rem;
    color: var(--text-secondary);
    margin: var(--spacing-xs) var(--spacing-md);
    text-align: left;
}

.card p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin: var(--spacing-xs) var(--spacing-md) var(--spacing-md) var(--spacing-md);
    color: var(--text-primary);
    flex-grow: 1;
    text-align: left;
    font-weight: bold;
}

/* ========================================
   Entry Card
   ======================================== */
.entry-card-content .entry-card-title,
.related-entry-card .related-entry-card-title {
    color: var(--text-primary);
}
      
.entry-card-content span.entry-date {
    color: var(--text-primary);
}

/* ========================================
   Action Buttons
   ======================================== */
.action-button-line .arrow-icon {
    content: "";
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--bg-white);
    border-right: 2px solid var(--bg-white);
    transform: translateY(-50%) rotate(45deg);
    margin-right: var(--spacing-md);
}

.action-button-requirement .arrow-icon {
    content: "";
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--primary-color);
    border-right: 2px solid var(--primary-color);
    transform: translateY(-50%) rotate(45deg);
    margin-right: var(--spacing-md);
}
/* ▲ source: components.css ▲ */

/************************************
** 4. レイアウトパーツ（ヘッダー・フッター・モーダル）
************************************/

/* ▼ source: header.css ▼ */
/**
 * MISSIONA Recruit LP Styles - Header
 * Header関連スタイル
 */

/* ========================================
   Header
   ======================================== */
.site-header {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border-top: 3px solid #e0f2f7;
    border-bottom: 1px solid var(--border-light);
    background-color: var(--bg-white);
    gap: var(--spacing-md);
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 8px var(--shadow-subtle);
}

/* Logo */
.logo-link {
    display: flex;
    align-items: center;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
}

.logo {
    height: 30px;
    width: auto;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
}

.nav-list {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
    gap: var(--spacing-sm);
}

.nav-item {
    margin: 0;
}

.nav-divider {
    color: var(--border-gray);
    margin: 0;
    padding: 0;
    list-style: none;
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.nav-button {
    display: inline-block;
    padding: var(--spacing-xs) var(--spacing-md);
    border-radius: var(--radius-sm);
    text-decoration: none;
    color: var(--text-primary);
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    white-space: nowrap;
}

/* Search */
.search-container {
    display: flex;
    align-items: center;
    position: relative;
}

/* wp-content/themes/cocoon-child-master/style.cssに定義したwidthを変更する場合はこちらも修正すること */
input[type="text"].search-input,
.search-input {
    width: 250px;
    padding: 0.6rem 3rem 0.6rem var(--spacing-md);
    background-color: var(--bg-gray);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    outline: none;
    transition: border-color var(--transition-normal);
}

.search-input:focus {
    border-color: var(--text-tertiary);
}

.search-input::placeholder {
    color: var(--text-tertiary);
}

.search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: var(--bg-gray);
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: background-color var(--transition-normal);
    padding: 0;
}

.search-button:hover {
    background-color: #e0e0e0;
}

/* LINE Button */
.header-line-button {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    padding: 0.6rem 2.5rem 0.6rem 1.2rem;
    background-color: var(--line-green);
    border-radius: var(--radius-pill);
    color: var(--bg-white);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: bold;
    transition: all var(--transition-normal);
    white-space: nowrap;
    position: relative;
}

.header-line-button:hover {
    background-color: var(--line-green);
    transform: translateY(-1px);
}

.header-line-button .arrow-icon {
    content: "";
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 2px solid var(--bg-white);
    border-right: 2px solid var(--bg-white);
    transform: translateY(-50%) rotate(45deg);
}
/* ▲ source: header.css ▲ */

/* ▼ source: footer.css ▼ */
/**
 * MISSIONA Recruit LP Styles - Footer
 * Footer関連スタイル
 */

/* ========================================
   Footer
   ======================================== */
.site-footer {
    background-color: var(--primary-color);
    padding: var(--spacing-md) 0;
    border-top: 1px solid;
    text-align: center;
    color: rgba(255, 255, 255, 0.9);
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.footer-nav ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-xs);
}

.footer-divider {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    font-weight: 500;
    display: flex;
    align-items: center;
}

.footer-nav a {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    font-size: 0.9rem;
    transition: color var(--transition-normal);
}

.footer-nav a:hover {
    color: var(--bg-white);
}

.site-footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Footer Action Buttons
   画面下端へ固定配置する。占有領域分の body padding-bottom は
   javascript.js の updateBodyPadding で動的に計算する */
.footer-actions {
    background-color: var(--bg-white);
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    padding: var(--spacing-xs);
    flex-wrap: wrap;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 9999;
}

.action-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    padding: var(--spacing-sm) var(--spacing-xl);
    border-radius: var(--radius-md);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    text-align: center;
    transition: all var(--transition-slow);
    min-width: 280px;
    flex: 1;
    max-width: 400px;
    position: relative;
    z-index: 1;
}

.action-button-pink {
    background-color: var(--bg-pink-pale);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
}

.action-button-pink:hover {
    background-color: var(--bg-pink-light);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.action-button-line {
    background-color: var(--line-green);
    color: var(--bg-white);
    gap: 10px;
    padding-left: var(--spacing-xl);
    padding-right: calc(var(--spacing-xl) + 30px);
}

.action-button-line:hover {
    background-color: var(--line-green);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(6, 199, 85, 0.3);
}

.action-button .arrow {
    font-size: 1.2rem;
}

.action-button .line-icon {
    flex-shrink: 0;
    width: 35px;
    height: 35px;
}
/* ▲ source: footer.css ▲ */

/* ▼ source: sp-modal.css ▼ */
/**
 * SP版モーダルメニュー スタイル
 * スマートフォン版（768px以下）のモーダルメニューとヘッダー関連のスタイル
 */

/* ========================================
   PC版/SP版表示切り替え
   ======================================== */
.pc-only {
    display: flex;
}

.sp-only {
    display: none;
}

.hamburger-menu-button.sp-only {
    margin-right: var(--spacing-xs);
}

@media (max-width: 768px) {
    .pc-only {
        display: none !important;
    }
    
    .sp-only {
        display: flex !important;
    }
    
    .site-header {
        justify-content: space-between;
        align-items: center;
        padding: var(--spacing-xs) var(--spacing-sm);
        gap: var(--spacing-xs);
        min-height: 50px;
        box-sizing: border-box;
        background-color: #ffffff !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
        border-bottom: 1px solid var(--border-light);
    }
    
    
    .site-header .logo-link.sp-only {
        flex-shrink: 1;
        min-width: 0;
        padding: var(--spacing-xs);
    }
    
    .site-header .logo-link.sp-only .logo {
        height: 24px;
        max-width: 100%;
        object-fit: contain;
    }
    
    .header-line-button-sp {
        display: flex;
        align-items: center;
        gap: 4px;
        padding: 0.4rem 0.6rem;
        background-color: var(--line-green);
        border-radius: var(--radius-pill);
        color: var(--bg-white);
        text-decoration: none;
        font-size: 0.75rem;
        font-weight: bold;
        white-space: nowrap;
        position: relative;
        padding-right: 1.5rem;
        flex-shrink: 1;
        min-width: 0;
    }
    
    .header-line-button-sp .line-icon {
        width: 18px !important;
        height: 18px !important;
        flex-shrink: 0;
    }
    
    .header-line-button-sp span:not(.arrow-icon) {
        font-size: 0.7rem;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }
    
    .header-line-button-sp .arrow-icon {
        content: "";
        position: absolute;
        right: 0.5rem;
        top: 50%;
        width: 4px;
        height: 4px;
        border-top: 1.5px solid var(--bg-white);
        border-right: 1.5px solid var(--bg-white);
        transform: translateY(-50%) rotate(45deg);
    }
    
    .hamburger-menu-button {
        display: flex !important;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        width: 36px;
        height: 36px;
        min-width: 36px;
        background-color: var(--primary-color);
        border: none;
        border-radius: 50%;
        cursor: pointer;
        padding: 0;
        gap: 3px;
        flex-shrink: 0;
        position: relative;
        z-index: 1001 !important;
        pointer-events: auto !important;
        touch-action: manipulation;
        -webkit-tap-highlight-color: transparent;
    }
    
    
    .hamburger-line {
        width: 18px;
        height: 2px;
        background-color: var(--bg-white);
        border-radius: 1px;
        transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
        pointer-events: none;
    }
    
    /* ハンバーガーメニューが開いている時のアニメーション（オプション） */
    .hamburger-menu-button.active .hamburger-line:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .hamburger-menu-button.active .hamburger-line:nth-child(2) {
        opacity: 0;
    }
    
    .hamburger-menu-button.active .hamburger-line:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    /* SP版ではbodyのpadding-topを調整 */
    body {
        padding-top: 50px;
    }

    /* WordPress管理バー：bodyのpadding-topをキャンセルして最上部に配置 */
    body.admin-bar #wpadminbar {
        top: 0;
        margin-top: -50px;
    }
    
    /* モーダルヘッダーのLINEボタンもSP版ヘッダーと同じ設定を適用 */
    .sp-modal-line-button {
        flex-shrink: 1;
        min-width: 0;
    }
}

/* ========================================
   SP版モーダルメニュー
   ======================================== */
.sp-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: var(--bg-pink-pale);
    z-index: 2000;
    overflow-y: auto;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
}

.sp-modal-overlay.active {
    display: block;
    visibility: visible;
    opacity: 1;
}

.sp-modal-menu {
    width: 100%;
    min-height: 100%;
    padding: 0;
    transform: translateY(-20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    flex-direction: column;
}

.sp-modal-overlay.active .sp-modal-menu {
    transform: translateY(0);
    opacity: 1;
}

/* モーダルヘッダー */
.sp-modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #ffffff;
    z-index: 10;
    padding: var(--spacing-xs) var(--spacing-sm);
    gap: var(--spacing-xs);
    min-height: 50px;
    width: 100%;
    box-sizing: border-box;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid var(--border-light);
}

.sp-modal-logo {
    display: flex;
    align-items: center;
    flex-shrink: 1;
    min-width: 0;
    padding: var(--spacing-xs);
}

.sp-modal-logo .logo {
    height: 24px;
    width: auto;
    display: block;
    max-width: 100%;
    object-fit: contain;
}

.sp-modal-header-buttons {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
    flex-shrink: 0;
}

.sp-modal-line-button {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 0.4rem 0.6rem;
    background-color: var(--line-green);
    border-radius: var(--radius-pill);
    color: var(--bg-white);
    text-decoration: none;
    font-size: 0.75rem;
    font-weight: bold;
    white-space: nowrap;
    position: relative;
    padding-right: 1.5rem;
    flex-shrink: 1;
    min-width: 0;
}

.sp-modal-line-button .line-icon {
    width: 18px !important;
    height: 18px !important;
    flex-shrink: 0;
}

.sp-modal-line-button span:not(.arrow-icon) {
    font-size: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sp-modal-line-button .arrow-icon {
    content: "";
    position: absolute;
    right: 0.5rem;
    top: 50%;
    width: 4px;
    height: 4px;
    border-top: 1.5px solid var(--bg-white);
    border-right: 1.5px solid var(--bg-white);
    transform: translateY(-50%) rotate(45deg);
}

.sp-modal-close-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    min-width: 36px;
    background-color: var(--primary-color);
    border: none;
    border-radius: 50%;
    cursor: pointer;
    padding: 0;
    flex-shrink: 0;
    margin-right: var(--spacing-xs);
}

/* 検索バー */
.sp-modal-search {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.sp-modal-search form {
    position: relative;
    width: 85%;
    display: flex;
    align-items: center;
}

div.sp-modal-search form#spModalSearchForm input#spModalSearchInput,
.sp-modal-search-input {
    width: 100%;
    padding: 0.75rem 3rem 0.75rem var(--spacing-md);
    background-color: var(--bg-white);
    border: 1px solid var(--border-gray);
    border-radius: var(--radius-pill);
    font-size: 0.9rem;
    outline: none;
    margin: 1.5rem 0;
}

.sp-modal-search-button {
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    background-color: transparent;
    border: none;
    border-radius: 50%;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
}

/* セクションタイトル */
.sp-modal-section-title {
    font-size: 1.1rem;
    font-weight: bold;
    text-align: center;
    color: var(--text-primary);
}

/* カテゴリ一覧 */
.sp-modal-categories {
    margin-bottom: var(--spacing-lg);
    padding: 0;
}

.sp-modal-category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: var(--spacing-xs);
    width: 100%;
    max-width: 100%;
    padding: var(--spacing-xs) var(--spacing-xs);
    padding-bottom: var(--spacing-md);
    margin: 0;
}

.sp-modal-category-card {
    background-color: var(--bg-white);
    border: 1px solid var(--primary-color);
    border-radius: 4px;
    padding: var(--spacing-xs) 0.1rem;
    padding-top: 0.3rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 0.9rem;
    position: relative;
    cursor: pointer;
    min-height: 85px;
}

.sp-modal-category-card img {
    width: 36px;
    height: 36px;
    object-fit: contain;
    margin-bottom: 0.2rem;
}

.sp-modal-category-card::after {
    content: "";
    position: absolute;
    bottom: -1px;
    right: -1px;
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0 0 20px 20px;
    border-color: transparent transparent var(--primary-color) transparent;
    border-bottom-right-radius: 4px;
}

.sp-modal-category-card::before {
    content: "";
    position: absolute;
    bottom: 0.25rem;
    right: 0.25rem;
    width: 3px;
    height: 3px;
    border-top: 1px solid var(--bg-white);
    border-right: 1px solid var(--bg-white);
    transform: rotate(45deg);
    z-index: 1;
}

.sp-modal-category-card .category-card-text {
    font-size: 10px;
    font-weight: bold;
    text-align: center;
    color: var(--primary-color);
    line-height: 1.1;
    min-height: 1.8em;
    padding: 0 0.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* PC版では改行を非表示 */
.sp-modal-category-card .category-card-text br {
    display: none;
}

/* SP版（768px以下）では改行を表示 */
@media (max-width: 768px) {
    .sp-modal-category-card .category-card-text br {
        display: inline;
    }
}

/* フィルターセクション */
.sp-modal-filter {
    margin-bottom: var(--spacing-lg);
    padding: var(--spacing-md) 1.5rem 0 1.5rem;
    background-color: var(--bg-white);
}

.sp-modal-tag-overview-container {
    display: flex;
    justify-content: center;
}

.sp-modal-tag-toggle {
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--spacing-xs);
    display: flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    min-width: auto;
    min-height: auto;
}

.sp-modal-tag-toggle-icon {
    width: 24px;
    height: 24px;
    transition: transform var(--transition-normal);
    filter: none; /* アイコンの色をそのまま使用（赤色） */
}

.sp-modal-tag-groups-container {
    display: none !important;
    transition: none !important;
    max-height: none !important;
}

.sp-modal-tag-groups-container.active {
    display: block !important;
    transition: none !important;
    max-height: none !important;
}

.sp-modal-tag-group {
    margin-bottom: var(--spacing-md);
}

.sp-modal-tag-group-title {
    font-size: 0.95rem;
    font-weight: bold;
    margin-bottom: var(--spacing-sm);
    color: var(--text-gray);
    text-align: left;
}

.sp-modal-tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: var(--spacing-xs);
    list-style: none;
    padding: 0;
    margin: 0;
}

.sp-modal-tag {
    background-color: #FFFDFD;
    border: 1px solid var(--border-tag);
    border-radius: 20px;
    padding: 0.2rem var(--spacing-sm);
    padding-right: calc(var(--spacing-sm) + 16px); /* 文字と矢印の間に余白を追加 */
    font-size: 10px;
    color: var(--text-secondary);
    white-space: nowrap;
    cursor: pointer;
    transition: background-color var(--transition-normal);
    position: relative;
}

.sp-modal-tag:hover {
    background-color: var(--bg-gray);
}

.sp-modal-tag::after {
    content: "";
    position: absolute;
    right: calc(var(--spacing-sm) + 4px); /* 文字との間に余白を追加（さらに右に移動） */
    top: 50%;
    width: 5px;
    height: 5px;
    border-top: 2px solid var(--text-secondary);
    border-right: 2px solid var(--text-secondary);
    transform: translateY(-50%) rotate(45deg);
}

/* ナビゲーションリンク */
.sp-modal-nav-links {
    padding: 0 var(--spacing-md);
    background-color: var(--bg-pink-pale);
}

.sp-modal-nav-link {
    display: block;
    padding: var(--spacing-md) 0;
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: bold;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.sp-modal-nav-link::before {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 18px;
    height: 18px;
    background-color: var(--text-primary);
    mask-image: url("assets/img/SVG/icon_arrow_right_simple.svg");
    mask-size: contain;
    mask-repeat: no-repeat;
    mask-position: center;
    -webkit-mask-image: url("assets/img/SVG/icon_arrow_right_simple.svg");
    -webkit-mask-size: contain;
    -webkit-mask-repeat: no-repeat;
    -webkit-mask-position: center;
}

.sp-modal-nav-link:last-child {
    border-bottom: none;
}

/* 下部CTA */
.sp-modal-bottom-cta {
    padding: var(--spacing-md);
    background-color: var(--bg-pink-pale);
    display: flex;
    justify-content: center;
}

.sp-modal-bottom-line-button {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
    padding: var(--spacing-md) var(--spacing-xl);
    background-color: var(--line-green);
    border-radius: 30px;
    color: var(--bg-white);
    text-decoration: none;
    font-size: 1rem;
    font-weight: bold;
    width: 75%;
    position: relative;
    padding-right: calc(var(--spacing-xl) + 30px);
}

.sp-modal-bottom-line-button .arrow-icon {
    content: "";
    position: absolute;
    right: var(--spacing-md);
    top: 50%;
    width: 10px;
    height: 10px;
    border-top: 2px solid var(--bg-white);
    border-right: 2px solid var(--bg-white);
    transform: translateY(-50%) rotate(45deg);
}
/* ▲ source: sp-modal.css ▲ */

/************************************
** 5. ページ固有・メインスタイル
************************************/

/* ▼ source: search-results.css ▼ */
/**
 * MISSIONA Recruit LP Styles - Search Results
 * 検索結果セクション関連スタイル
 */

/* ========================================
   Search Results Section (検索結果セクション)
   ======================================== */
.search-results-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
}

.search-results-container {
    width: 100%;
}

.search-results-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 30px;
    padding-bottom: 10px;
    border-bottom: 2px solid #e3342f;
}

.search-results-heading {
    font-size: 28px;
    font-weight: 600;
    color: #333;
    margin: 0;
    padding: 0;
    line-height: 1.2;
    text-align: left;
    flex: 1;
    display: flex;
    align-items: center;
}

.back-to-top-button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    padding: 0;
    background-color: transparent;
    text-decoration: none;
    border-radius: 50%;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

.back-to-top-button:hover {
    transform: translateX(-2px);
    opacity: 0.8;
}

.back-to-top-icon {
    width: 20px;
    height: 20px;
    display: block;
}

.search-no-results {
    text-align: center;
    padding: 60px 20px;
    color: #666;
    font-size: 16px;
    grid-column: 1 / -1;
}

.search-loading {
    text-align: center;
    padding: 40px 20px;
    color: #999;
    font-size: 14px;
    grid-column: 1 / -1;
}

/* ========================================
   検索結果のカードスタイル
   ======================================== */

/* 検索結果のグリッドレイアウト */
#results {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 100%;
}

/* 検索結果のカードを他の.cardと同じサイズに統一 */
#results .card {
    max-width: 400px;
    width: 100%;
    height: auto;
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

/* 検索結果のカード：1つ目も同じサイズにする（.card-listの設定を上書き） */
#results.card-list .card:first-child,
#results .card:first-child {
    max-width: 400px;
    grid-column: auto;
    display: flex !important;
    flex-direction: column !important;
}

#results .card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    object-position: center;
    display: block;
    flex-shrink: 0;
}

#results .card time {
    font-size: 12px;
    color: var(--text-muted);
    margin: var(--spacing-sm) var(--spacing-lg) 0;
    padding: var(--spacing-xs) 0;
}

#results .card p {
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    margin: var(--spacing-sm) var(--spacing-lg) var(--spacing-lg);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
/* ▲ source: search-results.css ▲ */

/************************************
** 6. カラーテーマ（ダークモード等）
************************************/

/* ▼ source: dark-mode.css ▼ */
/**
 * MISSIONA Recruit LP Styles - Dark Mode
 * ダークモード関連スタイル
 */

/* ========================================
   Dark Mode
   ======================================== */
@media (prefers-color-scheme: dark) {
    body {
        color: #eee;
        background-color: #121212;
    }
    
    .site-header {
        border-bottom-color: #333;
        background-color: #1e1e1e;
    }
    
    .nav-button {
        color: #eee;
    }
    
    .card {
        background-color: #1e1e1e;
        border: none;
    }
    
    .site-footer {
        background-color: #1e1e1e;
        border-top-color: #333;
    }
}
/* ▲ source: dark-mode.css ▲ */

/************************************
** 7. レスポンシブデザイン用のメディアクエリ
************************************/

/* ▼ source: responsive.css ▼ */
/**
 * MISSIONA Recruit LP Styles - Responsive
 * レスポンシブデザインの調整
 */

/* ========================================
   Responsive Design
   ======================================== */
/* レイアウト幅の調整 */
@media (max-width: 1280px) {
    :root {
        --content-width: 65%;
    }
}

@media (max-width: 1024px) {
    :root {
        --content-width: 75%;
    }
}

@media (max-width: 900px) {
    :root {
        --content-width: 85%;
    }
}

@media (max-width: 768px) {
    :root {
        --content-width: 92%;
    }
}

@media (max-width: 480px) {
    :root {
        --content-width: 96%;
    }
}

/* PC版（769px以上）：カテゴリーカードの右下の赤背景と＜の位置 */
@media (min-width: 769px) {
    /* PC版：.tagsのmargin-bottomを0pxに */
    .tags {
        margin-bottom: 0px;
    }
    .category-card::after {
        bottom: 0;
        right: 0;
        border-width: 0 0 28px 28px;
        border-bottom-right-radius: var(--radius-sm);
    }
    
    .category-card::before {
        bottom: 0.4rem;
        right: 0.4rem;
        width: 5px;
        height: 5px;
        border-top: 2px solid var(--bg-white);
        border-right: 2px solid var(--bg-white);
    }
}

/* タブレット（1024px以下） */
@media (max-width: 1024px) {
    /* ピンク背景の調整 */
    #message::before {
        min-height: 180vh;
    }
    
    /* カードリストを2列レイアウトに変更 */
    .card-list {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
    
    .card-list .card:first-child {
        grid-column: 1 / -1;
    }
    
    .card {
        max-width: 100%;
    }
}

/* スマートフォン（768px以下） */
@media (max-width: 768px) {
    /* ピンク背景の調整 */
    #message::before {
        min-height: 220vh;
    }
    
    /* SP版：創業者メッセージの見出しの上余白を狭く */
    .section-heading.section-center-align.founder-message {
        padding-top: var(--spacing-sm);
    }
    
    /* SP版：創業者メッセージの画像 */
    .message-image {
        width: 100%;
        max-width: 100%;
        max-height: 200px;
        overflow: hidden;
    }
    
    .message-image img {
        width: 100%;
        height: auto;
        max-height: 200px;
        object-fit: cover;
        display: block;
        border-radius: 0;
    }
    
    /* SP版：#messageのpadding-bottomを削除 */
    #message {
        padding-bottom: 0;
    }
    
    /* SP版：card message-containerのpaddingを削除 */
    .message-container {
        padding: 0;
    }
    
    /* SP版：message-card-contentのgapを削除 */
    .message-card-content {
        gap: 0;
    }
    
    .footer-actions {
        display: flex !important;
        flex-direction: row;
        gap: 0;
        background-color: var(--bg-white) !important;
        padding: 0;
        flex-wrap: nowrap;
        width: 100% !important;
        box-sizing: border-box;
        visibility: visible !important;
        opacity: 1 !important;
    }
    
    .action-button {
        flex: 1 1 0;
        min-width: 120px !important;
        max-width: none !important;
        padding: 0.3rem var(--spacing-md) !important;
        font-size: 0.85rem;
        display: flex !important;
        align-items: center !important;
        justify-content: center !important;
        width: auto;
        box-sizing: border-box;
        visibility: visible !important;
        opacity: 1 !important;
        border-radius: 0 !important;
    }
    
    .action-button-line {
        padding-left: var(--spacing-md) !important;
        padding-right: calc(var(--spacing-md) + 20px) !important;
    }
    
    /* SP版：action-button-pinkのborderを削除 */
    .action-button-pink {
        border: none !important;
    }
    
    /* SP版：ボタンの矢印を右に移動し、サイズを小さく */
    .action-button-line .arrow-icon,
    .action-button-requirement .arrow-icon {
        right: var(--spacing-xs) !important;
        width: 7px !important;
        height: 7px !important;
        border-top-width: 1.5px !important;
        border-right-width: 1.5px !important;
    }
    
    .section-categories {
        width: 100vw;
        margin-left: calc(-50vw + 50%);
        margin-right: calc(-50vw + 50%);
        padding: 0;
        margin-bottom: 0;
    }
    
    /* SP版：カテゴリー覧の見出しのmargin-bottomを0に */
    .section-categories .section-heading.section-center-align {
        margin-bottom: 0;
        padding-bottom: 0;
    }
    
    .category-grid {
        display: grid;
        grid-template-columns: repeat(5, 1fr);
        gap: var(--spacing-xs);
        padding: var(--spacing-xs) var(--spacing-xs);
        padding-bottom: var(--spacing-md);
        margin: var(--spacing-md) 0;
        margin-top: 0;
        margin-bottom: 0;
        width: 100%;
        max-width: 100%;
        overflow-x: visible;
    }
    
    .category-card {
        min-width: 0;
        width: 100%;
        min-height: 85px;
        padding: var(--spacing-xs) 0.1rem;
        padding-top: 0.3rem;
        border: 1px solid var(--primary-color);
        border-radius: 4px;
    }
    
    .category-card img {
        width: 36px;
        height: 36px;
        margin-bottom: 0.2rem;
    }
    
    .category-card-text {
        font-size: 9px;
        line-height: 1.1;
        min-height: 1.8em;
        padding: 0 0.1rem;
    }
    
    /* SP版（768px以下）では改行を表示 */
    .category-card-text br {
        display: inline;
    }
    
    .category-card::after {
        bottom: -1px;
        right: -1px;
        border-bottom-right-radius: 4px;
    }
    
    .category-card::before {
        bottom: 0.25rem;
        right: 0.25rem;
        width: 3px;
        height: 3px;
        border-top: 1px solid var(--bg-white);
        border-right: 1px solid var(--bg-white);
    }
    
    .card-list {
        grid-template-columns: 1fr;
    }

    /* SP版：カードの角丸を小さく */
    .card {
        border-radius: 4px;
    }

    /* 1つ目のカードはそのまま（縦長） */
    .card-list .card:first-child {
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* 1つ目のカード内の.card-contentは通常のスタイル */
    .card-list .card:first-child .card-content {
        display: block;
    }
    
    /* 2つ目以降のカードは画像と文字を横並び（グリッドで実装） */
    .card-list .card:not(:first-child) {
        display: grid !important;
        grid-template-columns: minmax(140px, 40%) 1fr;
        grid-template-rows: auto auto auto;
        gap: 0;
        padding: 0 !important;
        max-width: 100%;
        overflow: hidden !important;
        align-items: start;
    }
    
    /* 1列目：画像 */
    .card-list .card:not(:first-child) img {
        grid-column: 1;
        grid-row: 1 / -1;
        width: 100%;
        height: 100%;
        min-width: 0;
        max-width: 100%;
        display: block;
        object-position: left center;
        border-radius: 4px 0 0 4px;
        margin: 0;
        align-self: stretch;
    }
    
    /* .card-contentはグリッドアイテムとして機能しないように（子要素を直接グリッドアイテムにする） */
    .card-list .card:not(:first-child) .card-content {
        grid-column: 2;
        grid-row: 1 / -1;
        display: contents;
    }
    
    /* 2列目1行目：日付（グレー） */
    .card-list .card:not(:first-child) .card-content time {
        grid-column: 2 !important;
        grid-row: 1 !important;
        display: block !important;
        margin: 0 !important;
        font-size: 0.7rem;
        color: var(--text-secondary) !important;
        padding: var(--spacing-sm) var(--spacing-sm) 0 var(--spacing-sm) !important;
        line-height: 1.2;
        word-break: break-word;
    }
    
    /* 2列目2行目：文章 */
    .card-list .card:not(:first-child) .card-content p {
        grid-column: 2 !important;
        grid-row: 2 !important;
        display: -webkit-box !important;
        margin: 0 0 0.25rem 0 !important;
        font-size: 0.8rem;
        line-height: 1.4;
        -webkit-line-clamp: 3;
        line-clamp: 3;
        -webkit-box-orient: vertical;
        overflow: hidden;
        padding: 0 var(--spacing-sm) !important;
        word-break: break-word;
    }
    
    /* SP版：index.htmlのカテゴリごとのcardのタグをすべて非表示（1つ目も含む） */
    .card-list .card .card-content .tag-container,
    .card-list .card .tag-container,
    /* index.htmlの各カテゴリセクションのカードのタグをすべて非表示 */
    #interview-card-list .card .tag-container,
    #work-style-card-list .card .tag-container,
    #career-card-list .card .tag-container,
    #team-card-list .card .tag-container,
    #selection-card-list .card .tag-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    /* タグを小さくする（font-size 0.5rem、padding 0） */
    .card-list .card:not(:first-child) .card-content .tag-text {
        font-size: 0.5rem !important;
        padding: 0 !important;
        line-height: 1.2;
        margin: 0 0.5rem 0.05rem 0 !important;
        font-size: 0.4rem !important;
    }
    
    /* 1つ目のカード内の.card-contentは通常のスタイル */
    .card-list .card:first-child .card-content {
        display: block;
    }

    /* SP版：2つ目以降のカードのみ、.card pの上下のmarginを0に設定 */
    .card-list .card:not(:first-child) p {
        margin-top: 0 !important;
        margin-bottom: 0 !important;
    }
    
    /* SP版：.card pのフォントサイズを0.7remに変更 */
    .card p {
        font-size: 0.7rem;
    }
    
    /* SP版：.card timeの下マージンを削除 */
    .card time {
        margin-bottom: 0;
    }
    
    /* SP版：.tag-containerの上マージンを削除 */
    .card .tag-container {
        margin-top: 0;
        padding: var(--spacing-xs) !important;
        gap: 0.15rem !important;
    }
    
    /* SP版：タグのテキストサイズを10pxに */
    .tag-button {
        font-size: 10px;
        padding: 0.2rem var(--spacing-sm);
        padding-right: calc(var(--spacing-sm) + 0.5rem + 12px); /* 文字と矢印の間に余白を追加 */
    }
    
    /* SP版：タグの矢印を右に移動し、線を細く */
    .tag-button::after {
        right: calc(var(--spacing-sm) + 4px); /* 文字との間に余白を追加（さらに右に移動） */
    }
    
    /* SP版：.tag-textのフォントサイズを0.4remに */
    .tag-text {
        font-size: 0.4rem;
    }
    
    /* SP版：.tagsの左右paddingを1.5倍に */
    .tags {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
        margin-bottom: 0;
    }
    
    /* SP版：.tag-overview-containerのmargin-topを調整 */
    .tag-overview-container {
        margin-top: calc(-1 * var(--spacing-md));
    }
    
    /* SP版：フッターのスタイル調整 */
    .site-footer {
        padding: var(--spacing-xs) 0;
        min-height: 50px;
    }
    
    .footer-nav a {
        font-size: 0.7rem;
    }
    
    .footer-nav ul {
        gap: var(--spacing-md);
    }
    
    .site-footer p {
        font-size: 0.4rem;
        color: rgba(255, 255, 255, 0.6);
    }

    /* モバイル対応 - 検索結果 */
    .search-results-section {
        margin: 20px auto;
        padding: 15px;
    }

    .search-results-header {
        gap: 10px;
    }

    .search-results-heading {
        font-size: 22px;
    }

    .back-to-top-button {
        width: 18px;
        height: 18px;
    }

    .back-to-top-icon {
        width: 18px;
        height: 18px;
    }

    /* 検索結果のレスポンシブ対応 */
    #results {
        grid-template-columns: 1fr;
        gap: var(--spacing-md);
    }
    
    /* SP版：検索結果のカードも全カード同じサイズ（.card-listの設定を上書き） */
    #results.card-list .card,
    #results .card {
        max-width: 100%;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* SP版：1つ目のカードも同じサイズ */
    #results.card-list .card:first-child,
    #results .card:first-child {
        max-width: 100%;
        grid-column: auto;
        display: flex !important;
        flex-direction: column !important;
    }
    
    /* SP版：2つ目以降のカードも通常の縦並びレイアウト */
    #results.card-list .card:not(:first-child),
    #results .card:not(:first-child) {
        display: flex !important;
        flex-direction: column !important;
        grid-template-columns: none;
        grid-template-rows: none;
        padding: 0 !important;
        padding-bottom: var(--spacing-lg) !important;
    }
    
    /* SP版：画像の縦横比を保持 */
    #results.card-list .card img,
    #results .card img {
        width: 100%;
        height: 180px;
        object-fit: cover;
        object-position: center;
        grid-column: auto;
        grid-row: auto;
        border-bottom-left-radius: 0;
    }
    
    /* SP版：検索結果のカード内のコンテンツは通常のスタイル */
    #results.card-list .card .card-content,
    #results .card .card-content {
        display: block;
    }
    
    /* SP版：検索結果の2つ目以降のカードのタグを非表示 */
    #results.card-list .card:not(:first-child) .tag-container,
    #results .card:not(:first-child) .tag-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    /* SP版：検索結果の2つ目以降のカードのタグテキストを非表示 */
    #results.card-list .card:not(:first-child) .tag-text,
    #results .card:not(:first-child) .tag-text {
        display: none !important;
    }
}

/* 小型スマートフォン（480px以下） */
@media (max-width: 480px) {
    /* ピンク背景の調整 */
    #message::before {
        min-height: 250vh;
    }
    
    /* 2つ目以降のカードの画像列を調整 */
    .card-list .card:not(:first-child) {
        grid-template-columns: minmax(120px, 40%) 1fr;
    }
    
    /* フォントサイズをさらに小さく */
    .card-list .card:not(:first-child) .card-content time {
        font-size: 0.65rem;
        padding: var(--spacing-xs) var(--spacing-xs) 0 var(--spacing-xs) !important;
    }
    
    .card-list .card:not(:first-child) .card-content p {
        font-size: 0.75rem;
        padding: 0 var(--spacing-xs) !important;
    }
    
    /* 小型スマホ：index.htmlのカテゴリごとのcardのタグをすべて非表示（1つ目も含む） */
    .card-list .card .card-content .tag-container,
    .card-list .card .tag-container,
    /* index.htmlの各カテゴリセクションのカードのタグをすべて非表示 */
    #interview-card-list .card .tag-container,
    #work-style-card-list .card .tag-container,
    #career-card-list .card .tag-container,
    #team-card-list .card .tag-container,
    #selection-card-list .card .tag-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    .card-list .card:not(:first-child) .card-content .tag-text {
        font-size: 0.45rem !important;
    }

    /* 小型スマホ：検索結果 */
    #results {
        grid-template-columns: 1fr;
    }
    
    #results.card-list .card,
    #results .card {
        max-width: 100%;
    }
    
    #results.card-list .card:first-child,
    #results .card:first-child {
        max-width: 100%;
    }
    
    /* 小型スマホ：画像の高さを少し小さく */
    #results.card-list .card img,
    #results .card img {
        height: 160px;
        border-bottom-left-radius: 0;
    }
    
    /* 小型スマホ：検索結果の2つ目以降のカードのタグを非表示 */
    #results.card-list .card:not(:first-child) .tag-container,
    #results .card:not(:first-child) .tag-container {
        display: none !important;
        visibility: hidden !important;
        height: 0 !important;
        padding: 0 !important;
        margin: 0 !important;
        overflow: hidden !important;
    }
    
    /* 小型スマホ：検索結果の2つ目以降のカードのタグテキストを非表示 */
    #results.card-list .card:not(:first-child) .tag-text,
    #results .card:not(:first-child) .tag-text {
        display: none !important;
    }
}
/* ▲ source: responsive.css ▲ */


/* ============================================================
 * 2026-05-08 マージ: 以下は本番既存の Cocoon 全体カスタマイズ
 *
 * 上記までは MISSIONA Recruit TOP 用 LP CSS（10 ファイル統合版）。
 * 以下は本番 style.css の中身で、Cocoon 親テーマの記事ページ /
 * サイドバー / グローバルメニュー等のカスタマイズが含まれる。
 * 本リファクタ案件では中身を変更せずそのまま温存する。
 * ============================================================ */

/************************************
** メインエリア（TOP）
************************************/


/* グローバルメニュー */

 /* ロゴの大きさ・幅に関するもの */
.header-container-in.hlt-top-menu .logo-header img {
  max-height: 100%;
  height: auto;
  max-width: 210px;
  vertical-align: middle;
  margin: 10px 0;
}
#header-container {
  box-shadow: 0 0 10px rgba(30, 30, 30, .1);
  position: fixed;
  left: 0;
  top: 0;
  right: 0;
  z-index: 10;
}
.site-name-text-link {
  color: #fff;
}
.navi {
  background: none;
}
.navi-in > ul .sub-menu {
  background: #fff;
  box-shadow: 0 0 10px rgba(30, 30, 30, .1);
}
.navi-in > ul li {
  width: auto;
}
.navi-in a {
  font-size: 17px; /* ナビ文字大きさ */
  font-weight: bold;
  position: relative;
  color: #fff; /* ナビ文字色 */
  padding: 0 20px;
  display: block;
  text-decoration: none;
}
.navi-in a:hover {
  background: none;
}
.navi-in a:before {
  position: absolute;
  left: 0;
  bottom: 6px;
  content: "";
  display: block;
  width: 100%;
  height: 3px;
  background: #fff; /* マウスON時の下線色 */
  transform: scale(0, 1);
  transition: 0.4s;
}
.navi-in a:hover:before {
  transform: scale(1);
}
.navi-in > ul .sub-menu a {
  color: #666; /* サブメニュー文字色 */
  font-size: 12px; /* サブメニュー文字の大きさ */
}
.navi-in > ul .sub-menu a:before {
  background: #42d5e7; /* サブメニューマウスON時の下線色 */
}
.header-container-in.hlt-top-menu .logo-header {
  max-height: 100%;
}
.header-small {
  opacity: 0.9;
}
.header-small .header-container-in.hlt-top-menu .logo-header img {
  max-width: 130px;
  margin: 10px 0;
}
#container {
  padding-top: 10px;
}
[id^="toc"]:target {
  padding-top: 85px;
  margin-top: -85px;
}

/************************************
** recruit用ヘッダーのスタイル調整
** （採用TOPページの挙動に合わせる）
************************************/

/* ロゴを縮小させない */
.site-header.recruit-test-header .logo {
    max-width: none;
    height: 30px;
    width: auto;
}

/* 検索ボックスの最小幅を確保 */
/* /recruit/css/header.cssに定義したwidthを変更する場合はこちらも修正すること */
.site-header.recruit-test-header .search-input {
    min-width: 250px;
}

/* LINEボタンを縮小させない */
.site-header.recruit-test-header .header-line-button {
    flex-shrink: 0;
}

/* ナビゲーションボタンを縮小させない */
.site-header.recruit-test-header .nav-button {
    flex-shrink: 0;
}

/* ナビゲーション全体を縮小させない */
.site-header.recruit-test-header .nav {
    flex-shrink: 0;
}

/* 検索コンテナを縮小させない */
.site-header.recruit-test-header .search-container {
    flex-shrink: 0;
}

/* エントリーカード　枠線・影 */
.ect-vertical-card .entry-card-wrap {
margin-bottom: 24px;
}
.entry-card-wrap {
border:1px #d2d6d6;
box-shadow: 3px 3px 3px 3px #d2d6d6
}
.entry-card-wrap a {
transition: color .3s, background.3s, box-shadow .3s, transform .3s;
}
.entry-card-wrap:hover {
background: #ffffff;/*カードの色*/
box-shadow: 0 3px 0 #d2d6d6, 0 6px 0 rgba(0,0,0,.2);
transform: translateY(3px);
}
.entry-card-wrap a:active {
transition-duration: .1s;
}
.entry-card .cat-label{
display: none;
}
.eye-catch .cat-label {
border-radius: 5px;
}

.home main, .archive main, .page-template-page-blog main{
    background-color: transparent;
    margin-top: 0;
    padding-top: 0;
}

.entry-card-wrap{
    background-color: white;
    border-radius: 4px;
    margin-bottom: 1em!important;
}

/* ページ送り */

.pagination-next-link {
  background-color: #d42c1c;
  color: #fff;
  border: none;
  border-radius: 30px;
  box-shadow: 0 2px 6px 0 rgba(0,0,0,0.2); /*「次のページ」部分の影*/
}
.pagination-next-link:hover {
  background-color: #d42c1c;
  transition: all 0.5s ease;
  color: #fff;
}
.page-numbers {
  color: #d42c1c;
  border: 1px solid #d42c1c;
  border-radius: 50%;
  box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2); /*数字部分の影*/
}
.pagination .current {
  background-color: #d42c1c;
  color: #fff;
}
.page-numbers.dots {
  opacity: 1;
  background: note;
}
.pagination a:hover {
  background-color: #d42c1c;
  color: #fff;
}
a.prev, a.next {
  display: none;
}
@media screen and (max-width: 480px){ 
.page-numbers {
  width: 48px;
  height: 48px;
  line-height: 48px;
}
}

/************************************
** コンテンツエリア（記事内）
************************************/

/*タイトル真ん中*/
.page .entry-title,
.single .entry-title {
	text-align: center;
}

/* サムネイル真ん中 */
.entry-content figure.wp-block-image {
    width: 100%;
    text-align: center;
}

/* サムネイルラベル非表示 */
 .eye-catch .cat-label {
    display: none;
}

/* コンテンツ真ん中 */
.video-container, 
.instagram-container, 
.facebook-container,
.twitter-tweet {
    margin: 30px auto;
} 

/*記事内画像中央表示*/
.entry-content img{
margin:auto;
display:block;
}
.wp-caption{
margin:auto;
}


/* 目次全体デザイン */
	
.toc{
    background:#ffff; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#FFC679;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px 20px -10px;
    padding-left: -20px;
    font-size: 23px;
    font-weight: 700;
    color: #FFC679; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次全体デザイン */
	
.toc{
    background:#ffff; /* 目次全体の背景色を変える場合はここを変更 */
    border:none;
    display:block;
    border-top:5px solid;
    border-top-color:#FFC679;
    box-shadow: 0 2px 2px rgba(0,0,0,0.2);
    padding: 20px 25px;
}
/* 目次の文字指定 */
.toc-title {
    text-align:left;
    margin: 0 20px 20px -10px;
    padding-left: -20px;
    font-size: 23px;
    font-weight: 700;
    color: #FFC679; /* 目次の文字色を変える場合はここを変更 */
}
/* 目次のアイコン設定 */
.toc-title:before {
    top: 0;
    left: -45px;
    width: 50px;
    height: 50px;
    font-family: FontAwesome;
    content : "\f0ca"; /* アイコンを変える場合はここを変更 */
    font-size:20px;
    margin-right:5px;
    color:#FFF; /* アイコンの色を変える場合はここを変更 */
    background-color:#FFC679; /* アイコンの背景色を変える場合はここを変更 */
    border-radius: 50%;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    padding:14px;
}
/* 目次のデザインカスタマイズ */
.toc-content ol {
    padding: 0 0.5em;
    position: relative;
}
.toc-content ol li {
    line-height: 1.5;
    padding: 0.7em 0 0.5em 1.4em;
    border-bottom: dashed 1px silver;
    list-style-type: none!important;
}
/* 目次の各節の先頭にあるアイコンを設定 */
.toc-content ol li:before {
    font-family: FontAwesome;
    content: "\f138"; /* アイコンを変える場合はここを変更 */
    position: absolute;
    left : 0.5em;
    color: #FFC679; /* 色を変える場合はここを変更 */
}
.toc-content ol li:last-of-type {
    border-bottom: none;
}
.toc-content .toc-list li {
    font-weight:700; /* h2のみ太文字に */
}
.toc-content .toc-list li li {
    font-weight:normal; /* h3以降の文字サイズを普通に */
}

/* スマホの目次調整 */
@media screen and (max-width: 768px){
	.toc {
	    padding: 20px 5px;
	}

	.toc .toc-list {
	    padding-left: 5px;
	}

	.toc-content ol li {
	    padding: 0.7em 0 0.5em 1.2em;
	}

	.toc .toc-list ul, .toc .toc-list ol {
	    padding-left: 0.4em;
	    margin: 0;
	}
}

/* 箇条書き */

.list-6{
   counter-reset:number;
   list-style-type: none;
   padding:0;
   margin:0;
}
.list-6 li { 
   border-bottom:2px dashed;
   border-color:#cdcdcd; /* 線の色 */
   position: relative;
   margin:0.5em 0 !important;
   max-width:500px; /* 横幅 */
   padding: 0 0 0.5em 1.8em;
}
.list-6 li:last-child { 
   border:none;
}
.list-6 li:before {
   counter-increment: number;
   content: counter(number);
   background-color: #ffa952; /* 文字背景色 */
   color: #fff; /* 文字色 */
   position: absolute;
   font-weight:bold;
   font-size: 14px;
   border-radius: 50%;
   left: 0;
   top:0.5em;
   width: 22px;
   height: 22px;
   line-height: 22px;
   text-align: center;
}

.list-box-1{
   background: #fef9ed; /* 背景色 */
   border-radius: 4px;
   max-width: 600px; /* 横幅 */
   padding: 2em;
   margin:0 auto;
}
@media screen and (max-width: 768px){
.article ul, .article ol {
    padding-left: 20px; /* スマホ閲覧時の余白リセット(cocoon) */
}
}

/* ブログカード */

.blogcard-snippet,
.blogcard-footer {
  display: none;
}
.blogcard-wrap {
  transition: all .3s;
  max-width: 600px;
  margin: 2em auto;
}
.blogcard {
  border:1px solid #eaeaea !important;
  box-shadow: 0 2px 5px rgba(0, 0, 0, .15);
  padding: 10px;
}
.blogcard-wrap:hover {
  background: none;
  transform: translateY(-3px);
  box-shadow: 0px 10px 20px rgba(0, 0, 0, .1);
}
.blogcard-thumbnail {
  margin: 0;
}
.blogcard-thumbnail img {
  display: block;
}
.blogcard-title {
  color: #555;
  letter-spacing: 0.5px;
  font-size: 15px;
  line-height: 1.5;
  margin: 10px 0 0 0;
  height: 45px;
  overflow: hidden;
}
.blogcard-content {
  min-height: auto;
  margin-left: 185px;
  padding-right: 6px;
}
.blogcard-label {
  top: -11px;
  left: 9px;
  padding: 3px 0.6em;
  background:#aaa;
  padding: 1px 10px;
  font-weight: 600;
  font-size: 11px;
  letter-spacing: 1px;
}
.blogcard-content:after {
  content: "クリックして読む";
  background: #d42c1c; /* 背景色 */
  display: block;
  text-align: center;
  color: #fff;
  font-weight: 600;
  letter-spacing: 1px;
  width: 180px;
  border-radius: 20px;
  font-size: 13px;
  padding: 1px 0;
  margin-top: 6px;
}

/* 人気記事 */
.popular-entry-card {
    padding: 8px 8px 7px 13px;
}

.widget-entry-card-content {
    margin-left: 131px;
    padding-top: 6px;
    font-size: 95%;
    line-height: 1.4;
}


@media screen and (max-width: 834px) {
  .blogcard-content {
    margin-left: 130px;
  }
  .blogcard-title {
    font-size:12px;
    line-height: 1.5;
    height: 35px;
    margin:0;
  }
  .blogcard-content:after {
    content: "タップして読む";
  }
  .blogcard-thumbnail{
    width:120px;
  }
}
@media screen and (max-width: 560px) {
  .blogcard-content:after {
    width: 120px;
    font-size: 12px;
  }
  .blogcard-title {
    margin:0;
  }
}
@media screen and (max-width: 320px) {
  .blogcard-thumbnail {
    width: 100px;
  }
  .blogcard-content {
    margin-left: 110px;
  }
  .blogcard-title {
    height: 35px;
  }
}

.single-post .entry-content {
    padding: 0 16px;
}

.article h2 {
    margin: 4em -20px 2em;
}

/* 20200927 シングルカラムのH2デザイン調整 */
.no-sidebar .article h2 {
    margin: 4em 0 2em;
}

.article h3 {
    margin: 3em -16px 2em;
    border-right: 0;
    border-top: 0;
    border-bottom: 0;
}
.article h4 {
    border-top: 0;
}

/*数字リストのpaddingを40から20に変更*/
ol {
    padding-left: 20px;
}


/* 記事下の関連記事*/

h2.related-entry-heading span:before {
  content: "";
  z-index: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  font-family: FontAwesome;
  content: "\f15c";
  color:#fff;
  background-color:#f8c678;/*お好みの色に*/
  display:inline-block;
  text-align: center;
 }
h2.related-entry-heading span{
  color:#999;
}
.related-entry-card-thumb img {
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.22);
}
.entry-card-title, .related-entry-card-title {
  color:#555;
}
.rect-mini-card .related-entry-card-wrap {
  border-bottom: 1px dashed #CCCCCC;/*区切り線*/
}
.related-entry-card .cat-label {
  display: none;/*カテゴリー非表示に*/
}

/*吹き出しのデザイン*/
.sb-id-1 .speech-icon img, .sb-id-11 .speech-icon amp-img {
  border: 2px solid #d42c1c; /* ボーダーの太さ・形状・色 */
  background: #ffffff; /* 背景色 */
}

.sb-id-1 .speech-balloon {
  background-color: #ffffff; /* 吹き出しメイン部分の背景色 */
  border: 2px solid #d42c1c; /* 吹き出しメイン部分のボーダー */
}

/************************************
** サイドバーエリア
************************************/

/* 検索窓 */
.sidebar .search-box, .search-menu-content .search-box {
  width: 100%;
  margin: 1em 0 2em;
  position: relative;
  display: flex;
  border-radius: 50px; /*全体を囲むボックスの角丸*/
  box-shadow:2px 4px 6px 3px #c4c4c4; /*全体を囲むボックスのシャドウ*/
}
.search-menu-content .search-box {
  box-shadow:0px 4px 6px 0px #333; /*スライドイン表示でのシャドウ*/
}

.sidebar .search-edit, .search-menu-content .search-edit {
  width: 80%; /*入力部分の長さ*/
  background: #fff; /*入力部分の背景色*/
  padding: 0 10px;
  border: none; /*ボーダーを消す*/
  border-radius: 50px 0 0 50px; /*左上、左下のみ角丸*/
  font-size: 16px;
}


.search-submit {
  width: 20%; /*ボタン部分の長さ*/
  background: #d42c1c; /*ボタン部分の背景色*/
  color: #fff; /*アイコンの色*/
  position: static;
  right: auto;
  top: auto;
  font-size: 20px; /*アイコンの大きさ*/
  cursor: pointer;
  line-height: 40px; /*検索窓の高さ*/
  border: none;
  border-radius: 0 50px 50px 0; /*右上、右下のみ角丸*/
  padding: 0;
}

/* サイドバーサーチボックス右側の余白削除 */
.sidebar .search-submit {
    position: relative;
    right: -1px;
}

/* #mainの中のサーチボックス削除 */
main#main .search-box {
    display: none;
}

.search-box input::placeholder {
  color: #bbb; /*プレースホルダーの色*/
}
.search-box input:focus, .search-box button:focus {
  outline: 0; /*フォーカス時の枠線を消す*/
}



/************************************
** フッターエリア
************************************/

/* フッター幅*/
.footer {
	margin-top: 0;
	padding-top: 0;
}

#custom_html-8,
.footer-bottom {
	margin-top: 0;
	padding-top:0;
}


/*サイドバーカテゴリ*/
.sidebar{
	background:#ffffff;
}
.widget-sidebar h3{/*サイドウィジェットタイトル*/
	background:transparent;
	font-size:.95em;/*文字サイズ*/
	border-bottom:2px solid #d42c1c;/*下線の太さ・色*/
	padding:5px 10px 0;
	margin-bottom:0;
	color: #d42c1c; /* サイドバータイトルの色を指定 */
}
.widget_popular_entries h3:before{/*人気記事タイトルアイコン*/
	font-family:Fontawesome;
	content:"\f14a";/*アイコン種類*/
	
	color:#FFC14D;/*アイコン色*/
	font-weight:normal;
	margin-right:6px;/*アイコンとタイトルの距離*/
}
.widget_categories h3:before{/*カテゴリータイトルアイコン*/
	font-family:Fontawesome;
	content:"\f0ca";/*アイコン種類*/
	color:#d42c1c;/*アイコン色*/
	font-weight:normal;
	margin-right:6px;/*アイコンとタイトルの距離*/
}
.widget_nav_menu h3:before{/*ナビゲーションメニュータイトルアイコン*/
	font-family:Fontawesome;
	content:"\f0ca";/*アイコン種類*/
	color:#d42c1c;/*アイコン色*/
	font-weight:normal;
	margin-right:6px;/*アイコンとタイトルの距離*/
}
.widget_archive h3:before{/*アーカイブタイトルアイコン*/
	font-family:Fontawesome;
	content:"\f274";/*アイコン種類*/
	color:#d42c1c;/*アイコン色*/
	font-weight:normal;
	margin-right:6px;/*アイコンとタイトルの距離*/
}
.widget_categories ul li,
.widget_archive ul li,
.widget_nav_menu ul li{/*カテゴリ・アーカイブ・ナビゲーションメニュー下線*/
	padding-left:10px;
	border-bottom:1px dotted  rgba(125, 125, 125, 0.2);/*下線の種類*/
}
.widget_categories ul li a,
.widget_archive ul li a,
.widget_nav_menu ul li a{/*親カテゴリ・アーカイブ・ナビゲーションメニューの文字サイズ*/
	font-size:.95rem;
}
.widget_categories ul li a:before,
.widget_archive ul li a:before,
.widget_nav_menu ul li a:before{/*親カテゴリ・アーカイブ・ナビゲーションメニューアイコン*/
	font-family:Fontawesome;
	content:"\f138";/*アイコン種類*/
	color:#FFC14D;/*アイコン色*/
	margin-right:6px;/*アイコンと文字の距離*/
}
.widget_categories ul .children li a:before{/*子カテゴリアイコン*/
	font-family:Fontawesome;
	content:"\f105";/*アイコン種類*/
	color:#FFC14D;/*アイコン色*/
	font-weight:normal;
	margin-right:6px;/*アイコンと文字の距離*/
}
.widget_categories ul .children li{
	border-bottom:none;
}	
.widget_categories ul .children li a{/*子カテゴリ*/
	padding:3px 10px;
	font-size:.85rem;/*文字サイズ*/
}
.widget_categories ul li a:hover,
.widget_archive ul li a:hover,
.widget_nav_menu ul li a:hover{/*カテゴリ・アーカイブ・ナビゲーションメニューhover時*/
	background:transparent;
	color:#38b48b;/*hover時の文字色*/
	margin-left:5px;/*hover時動く幅*/
}
.widget_categories ul li a .post-count,
.widget_archive ul li a  .post-count,
.widget_nav_menu ul li a .post-count{/*カテゴリ・アーカイブ・ナビゲーションメニュー記事数*/
	border:1px solid rgba(221, 221, 221, 0.867);/*囲線*/
	border-radius:5px;
	font-size:.8em;/*数字サイズ*/
	padding:1px 10px;/*囲いの大きさ*/
}
.widget_categories ul li a:hover .post-count,
.widget_archive ul li a:hover  .post-count,
.widget_nav_menu ul li a:hover .post-count{/*カテゴリ・アーカイブ・ナビゲーションメニュー記事数hover時*/
	border-color:#FFC14D;/*囲線色*/
	background:#FFC14D;/*背景色*/
	color:#fff;/*文字色*/
	transition:.4s;/*変化スピード*/
}



/* 人気記事*/
.popular-entry-card {
border:1px #d2d6d6;
box-shadow: 1px 1px 3px 1px #d2d6d6
}


.popular-entry-card:hover {
background: #ffffff;/*カードの色*/
box-shadow: 0 3px 0 #d2d6d6, 0 6px 0 rgba(0,0,0,.2);
transform: translateY(3px);
}

.popular-entry-card{
    background-color: white;
    border-radius: 5px;
    margin-bottom: 0em!important;
}

/* カテゴリー*/
.widget_categories{
box-shadow: 1px 1px 3px 1px #d2d6d6
	}

.widget_categories{
    background-color: white;
    border-radius: 5px;
    margin-bottom: 0em!important;
}

/* ツイッタータイムライン*/
.timeline-Tweet-text{
box-shadow: 1px 1px 3px 1px #d2d6d6
	}

/*h5 見出し点線に変更 20200922 murakami*/
.article h5 {
    border-bottom: 2px dashed #d42c1c;
}

/*h5 浮き出る設定を他箇所に揃える 20200922 murakami*/

.blogcard-wrap:hover {
    transform: translateY(3px);
	box-shadow: none;
}

.blogcard {
    border: 1px solid #d2d6d6 !important;
    box-shadow: 3px 3px 3px 3px #d2d6d6;
    padding: 10px;
    transition: all 0.3s ease-in-out;
}

.blogcard:hover {
    background: #ffffff;
    box-shadow: 0 3px 0 #d2d6d6, 0 6px 0 rgba(0,0,0,.2);
}

/* Simple Pay ボタンデザイン変更 20210513 murakami */

body .stripe-button-el {
    overflow: hidden;
    display: block;
    visibility: visible !important;
    background: #d42c1c;
    -webkit-font-smoothing: antialiased;
    border-bottom: 5px solid #089045;
    padding: 12px 50px;
    text-decoration: none;
    border-radius: 100px;
    min-width: 240px;
    transition: all 0.3s;
    position: relative;
	margin:auto;
}

body .stripe-button-el:before {
    content: "";
    position: absolute;
    right: 25px;
    color: #fff;
    top: 25px;
    width: 9px;
    height: 9px;
    display: inline-block;
    border-top: 3px solid #fff;
    border-right: 3px solid #fff;
    z-index: 10;
    transform: rotate( 45deg );
}

body .stripe-button-el:hover {
	margin-top: 3px;
	border-bottom: 2px solid #089045;
}

body .stripe-button-el:not(:disabled):active,
body .stripe-button-el.active {
    background: #9f000c;
}

body .stripe-button-el:not(:disabled):active span,
body .stripe-button-el.active span {
    color: #fff;
    background: none;
    box-shadow: none;
}

body .stripe-button-el span {
display: block;
    position: relative;
    padding: 0 12px;
    height: 35px;
    line-height: 40px;
	background:rgb(255 255 255 / 0%);
    font-size: 20px;
    color: #fff;
    font-weight: bold;
    font-family: "游ゴシック体", YuGothic, "游ゴシック Medium", "Yu Gothic Medium", "游ゴシック", "Yu Gothic", sans-serif;
    text-shadow: none;
    border-radius: 0;
    box-shadow: none;
}

body .stripe-button-el:disabled span,
body .stripe-button-el.disabled span {
    color: #fff;
    background: #f8f9fa;
    text-shadow: 0 1px 0 rgb(255 255 255 / 50%);
}

/* ブログカード文字サイズ変更 20210306 murakami*/
@media screen and (min-width: 835px){
	.entry-card-title {
		font-size: 22px;
		line-height: 1.4;
	}
}

@media screen and (max-width: 480px){
	.entry-card-content{
		padding-bottom: 2em;
	}
}

/**
 * サイドバー用 人気記事一覧ウィジェットのCSS読み込み
 */
.article-list .article-item:nth-child(n+2) {
	border-top: 1px solid #ddd;
}
.article-list .rank-1 .rank-number {
    background-color: #dbb900 !important;
}

.article-list .rank-2 .rank-number {
    background-color: #a5a5a5 !important;
}

.article-list .rank-3 .rank-number {
    background-color: #ab6520 !important;
}

.article-list .rank-number {
	position: absolute;
	z-index: 5;
	top: -10px;
	left: -10px;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	color: #fff;
  font-size: 12px;
	font-weight: bold;
	border-radius: 50%;
	background-color: #5d5d5d;
}

.article-list .image-wrap {
	position: relative;
}

.article-list .article-link {
	display: flex;
  align-items: center;
	padding: 20px 15px;
  text-decoration: none;
	transition: all 0.2s;
}

.article-list .article-link:hover {
	opacity: .7;
}

.article-list .image-wrap {
	width: 40%;
}

.article-list .image-wrap img {
	object-fit: cover;
	width: 100%;
	max-width: 120px;
	height: 65px;
	transition: all 0.2s;
}

.article-list .article-text {
	display: flex;
	align-items: center;
	width: 60%;
	padding-left: 15px;
	font-size: 95%;
	font-weight: bold;
  color: #555 !important;
	line-height: 1.4;
}

/* サイドバーのバナーにホバーした際に透明度が下がるアニメーション追加 20250218 takashina */
aside div a img {
    transition: opacity 0.3s;
}
aside div a img:hover {
    opacity: 0.8;
}

/* 記事内１日の流れブロックのスタイル 20250425 takashina */
.schedule-flow {
  border-left: 3px solid #d42c1c;
  margin: 2em 0;
  padding-left: 20px;
}
.schedule-row {
  display: flex;
  margin-bottom: 1em;
  padding-left: 20px;
  position: relative;
}
.schedule-row::before {
  content: '';
  position: absolute;
  left: -12px;
  top: 12px;
  width: 14px;
  height: 14px;
  background-color: #d42c1c;
  border-radius: 50%;
  border: 3px solid white;
  box-shadow: 0 0 0 2px #d42c1c;
}
.schedule-time {
  width: 80px;
  font-weight: bold;
  color: #333;
  flex-shrink: 0;
  margin: auto 0;
}
.schedule-desc {
  background: #f8f8f8;
  padding: 8px 12px;
  border-radius: 6px;
  width: 100%;
}
.schedule-desc__main {
  font-weight: bold;
}
.schedule-desc__sub {
  padding-left: 20px;
}
@media screen and (max-width: 600px) {
  .schedule-row {
    flex-direction: column;
    align-items: flex-start;
  }
  .schedule-row::before {
    top: 3px;
  }
  .schedule-time {
    margin-bottom: 5px;
  }
}


/************************************
** レスポンシブデザイン用のメディアクエリ
************************************/
/*1023px以下*/
@media screen and (max-width: 1023px){
  /*必要ならばここにコードを書く*/
}

/*834px以下*/
@media screen and (max-width: 834px){
  /*必要ならばここにコードを書く*/
}

/*480px以下*/
@media screen and (max-width: 480px){
  /*必要ならばここにコードを書く*/
}
