/*
Theme Name: hpdeli_theme
Author: Crossroad Co., Ltd.
*/
:root {
    /* 
      親しみやすい色味 (Friendly Color Palette) 
      Warm, inviting, soft tones reflecting a "human" aspect of AI
    */
    --brand-primary: #FF7B54;
    /* Warm Coral / Orange */
    --brand-secondary: #FFD56F;
    /* Soft Warm Yellow */
    --bg-color-main: #FFFDF9;
    /* Warm Off-White */
    --bg-color-alt: #FFF5F0;
    /* Soft peach background */
    --text-main: #4A4A4A;
    /* Soft Dark Gray instead of harsh black */
    --text-muted: #7A7A7A;
    /* Softer gray for less important text */
    --border-color: #F0E6DD;
    /* Warm border color */

    --font-family-friendly: 'Zen Maru Gothic', 'Noto Sans JP', sans-serif;
    --border-radius-soft: 16px;
    --transition-speed: 0.3s;
}

body {
    background-color: var(--bg-color-main);
    color: var(--text-main);
    font-family: var(--font-family-friendly);
    line-height: 1.8;
    margin: 0;
    padding: 0;
}

a {
    transition: color var(--transition-speed);
}

a:hover {
    color: var(--brand-primary);
    text-decoration: none;
}


/* --------------------------------------------------------------------------
   Layout Elements (Strictly controlled here, per user rules)
-------------------------------------------------------------------------- */

header {
    background-color: #FFFFFF;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    position: sticky;
    top: 0;
    z-index: 1000;
}

header div {
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: center;
    /* Center logo, no menu */
    align-items: center;
}

header .company-header-title {
    margin: 0;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brand-primary);
    letter-spacing: 0.05em;
}

main {
    min-height: calc(100vh - 200px);
}

footer {
    background-color: #F8F4EE;
    color: #6A6A6A;
    padding: 40px 20px 20px;
    text-align: center;
}

footer div {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

footer ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

footer ul li a {
    color: #6A6A6A;
    font-size: 0.9rem;
    text-decoration: none;
}

footer ul li a:hover {
    color: var(--brand-primary);
}

footer p {
    font-size: 0.8rem;
    margin: 0;
    letter-spacing: 0.05em;
}


/* --------------------------------------------------------------------------
   Sections & Components (Using Bootstrap Grid but Custom Styling)
-------------------------------------------------------------------------- */

/* Section Utility */
.bg-light-warm {
    background-color: var(--bg-color-alt);
    border-radius: var(--border-radius-soft);
    margin: 20px auto;
    max-width: 1200px;
}

.bg-accent {
    background: linear-gradient(135deg, var(--brand-secondary), #FFF0C9);
    border-radius: var(--border-radius-soft);
    margin: 20px auto;
    max-width: 1200px;
}


/* Titles & Typography */
h2,
h3 {
    color: var(--text-main);
    letter-spacing: 0.05em;
}

.section-title {
    display: inline-block;
    position: relative;
    padding-bottom: 15px;
    font-weight: 700;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 4px;
    background-color: var(--brand-primary);
    border-radius: 2px;
}

/* Button Customization */
.btn-primary-friendly {
    background-color: var(--brand-primary);
    color: #FFFFFF;
    border: none;
    border-radius: 50px;
    padding: 12px 35px;
    font-weight: bold;
    box-shadow: 0 8px 20px rgba(255, 123, 84, 0.3);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary-friendly:hover {
    background-color: #F86A41;
    color: #FFFFFF;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(255, 123, 84, 0.4);
}

.company_sec h3{
    margin-bottom: 30px;
}

/* Company Info Table */
.company-table {
    background: #FFFFFF;
    border-radius: var(--border-radius-soft);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.02);
}

.company-table th {
    background-color: var(--bg-color-alt);
    color: var(--brand-primary);
    font-weight: bold;
    width: 30%;
    padding: 20px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
}

.company-table td {
    padding: 20px;
    vertical-align: middle;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-main);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.ceo-block {
    margin-top: 30px;
/*
    background: #FFFFFF;
    display: inline-block;
    padding: 15px 30px;
    border-radius: 50px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.02);
    border: 1px solid var(--border-color);*/
}

/* Breadcrumb */
.breadcrumb-item a {
    color: var(--brand-primary) !important;
}

.breadcrumb-item.active {
    color: var(--text-muted);
}

/* Hero Section Spacing */
#hero-company {
    padding-top: 60px;
    padding-bottom: 30px;
}

#hero-company .hero-company-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-main);
}


/* Responsive Adjustments */
@media (max-width: 767px) {
    #hero-company h2 {
        font-size: 2rem;
    }

    .company-table th {
        width: 100%;
        display: block;
        padding-bottom: 5px;
        border-bottom: none;
    }

    .company-table td {
        display: block;
        padding-top: 5px;
        padding-bottom: 20px;
    }

    .bg-light-warm,
    .bg-accent {
        margin: 10px;
        border-radius: 12px;
    }
}