/* ============================================
   Renewal Common Styles - Shared across PC/SP
   ============================================ */

/* CSS Variables for consistent theming */
:root {
    --color-primary: #2f73ff;
    --color-ink: #3b5175;
    --color-text: #2a2a2a;
    --color-bg-light: #f0f6ff;
    --color-bg-blue: #e9f1ff;
    --color-line: #d9e6ff;
    --color-muted: #8aa0c9;
    --color-border: #eef2f8;
    --color-orange: #F2994A;
    --color-gray: #828282;
    --color-footer-bg: #1f2630;
    --color-footer-text: #cfd8e6;
    
    --font-body: 'Noto Sans JP', -apple-system, BlinkMacSystemFont, "Helvetica Neue", Arial, "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
    --font-heading: 'La Belle Aurore', cursive;
}

/* Base Typography */
body {
    font-family: var(--font-body);
    color: var(--color-text);
    margin: 0;
    padding: 0;
}

/* Section Headings */
.sec-header {
    text-align: center;
    margin-bottom: 30px;
}

.sec-header .en {
    font-family: var(--font-heading);
    font-size: 42px;
    color: var(--color-primary);
    font-weight: 400;
    letter-spacing: .03em;
}

.sec-header .en_no_color {
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 400;
    letter-spacing: .03em;
}

.sec-header .ja {
    color: var(--color-primary);
    margin-top: 6px;
}

/* Left section titles (e.g., major section headings with left border) */
.left-section-title {
    border-left: 4px solid #2f73ff;
    padding-left: 12px;
    font-size: 20px;
    font-weight: 700;
    margin: 6px 0 16px;
    color: #1f2a44;
}

/* Section Wrapper */
.section {
    padding: 60px 0;
}

/* Right column spacing on desktop (PC only) */
@media (min-width: 768px) {
    .right-col {
        padding-left: 50px;
    }
}

/* Hero Section */
.hero {
    position: relative;
    width: 100%;
    background: #fff;
}

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

/* Mission Lead Section */
.mission-lead,
.lead-intro {
    background: #fff;
    padding: 24px 0;
    text-align: center;
    line-height: 2;
    font-size: 14px;
}

/* More Link */
.more-link {
    display: inline-block;
    margin-top: 6px;
    color: var(--color-primary);
    text-decoration: none;
}

.more-link:hover {
    text-decoration: underline;
}

/* Buttons */
.btn-outline {
    background: #fff;
    border: 1px solid #c7dafc;
    color: var(--color-primary);
}

/* Topbar - Common styles */
.topbar,
.site-topbar {
    background: #fff;
    border-bottom: 1px solid var(--color-border);
}

.topbar .brand,
.site-topbar .brand {
    display: inline-block;
    padding: 10px 0;
}

.topbar .brand img,
.site-topbar .brand img {
    height: 60px;
    width: auto;
    display: block;
}

/* Footer - Common styles */
.site-footer {
    background: var(--color-footer-bg);
    color: var(--color-footer-text);
    padding: 20px 0;
    text-align: center;
}

.site-footer a {
    color: var(--color-footer-text);
    text-decoration: none;
}

.site-footer a:hover {
    color: #ffffff;
    text-decoration: underline;
}

.site-footer .brand img {
    height: 50px;
    width: auto;
    opacity: .9;
}

.site-footer .info {
    margin-top: 8px;
    font-size: 12px;
}

.site-footer .copyright {
    margin-top: 6px;
    font-size: 11px;
    color: #9fb0c8;
}

/* Company Section */
.company {
    position: relative;
    overflow: hidden;
}

.company .container {
    position: relative;
}

.company__desc,
.company .desc {
    text-align: center;
    line-height: 2;
    margin-bottom: 15px;
}

/* What We Do Section */
.wwd__service,
.wwd .unit {
    margin-bottom: 30px;
    margin-top: 30px;
}

.wwd__service h4,
.wwd .unit h4 {
    margin-top: 0;
    font-size: 16px;
    color: #4a6aa3;
    border-bottom: 1px solid #4a6aa3;
    padding-bottom: 6px;
    margin-bottom: 10px;
    margin-top: 10px;
}

.wwd__service p,
.wwd .unit p {
    font-size: 13px;
    line-height: 1.9;
    color: var(--color-ink);
}

.wwd .intro {
    color: var(--color-ink);
    line-height: 1.9;
    margin-bottom: 25px;
}

.wwd__intro {
    margin-bottom: 30px;
}

/* Band Labels */
.wwd__band,
.wwd .band,
.band {
    display: block;
    padding: 8px 16px;
    font-weight: 700;
    margin: 10px 0 16px;
}

.wwd__band--orange,
.wwd .band.orange,
.band.orange {
    background: var(--color-orange);
    color: #fff;
}

.wwd__band--blue,
.wwd .band.blue,
.band.blue {
    background: var(--color-primary);
    color: #fff;
}

.wwd .band.spaced {
    margin-top: 20px;
}

/* Service Logo */
.service-logo {
    display: block;
    width: 50%;
    height: auto;
    margin: 12px auto 12px;
}

/* Divider */
.divider {
    display: none;
}

/* Column Section */
.column .sec-header {
    margin-bottom: 6px;
}

.column .list-link {
    text-align: left;
    color: #6b88b8;
    font-size: 12px;
    margin-bottom: 20px;
}

.column .list-link a {
    color: #6b88b8;
    text-decoration: none;
}

.column .list-link a:hover {
    color: var(--color-primary);
    text-decoration: underline;
}

.column .card-link {
    display: block;
    text-decoration: none;
    color: inherit;
}

.column .card {
    border: none;
    background: transparent;
}

.column .card img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover;
}

.column .card .meta {
    padding: 8px 0 6px;
    font-size: 12px;
    color: #7b7b7b;
}

.column .card .title {
    padding: 0 0 18px;
    font-weight: 600;
    font-size: 14px;
    line-height: 1.6;
}

/* Card subtitles (generic subtitle styling for cards) */
.card-subtitle {
    color: #2f73ff;
    font-weight: 500;
    margin: 8px 0 10px;
    font-size: 15px;
}

.column .label-tag {
    display: inline-block;
    margin-left: 8px;
    padding: 2px 8px;
    border: 1px solid #c7dafc;
    color: var(--color-primary);
    border-radius: 12px;
    font-size: 11px;
    line-height: 1.2;
    background: #fff;
}

/* Recruit Section */
.recruit .copy {
    font-family: var(--font-heading);
    color: var(--color-primary);
    font-size: 40px;
    font-weight: 400;
    margin-bottom: 8px;
}

.recruit .desc {
    font-size: 13px;
    line-height: 1.9;
}

.recruit .more {
    margin-top: 10px;
}

.recruit .ja {
    color: #6b88b8;
    margin-bottom: 10px;
}

/* Contact Section - Common */
.contact {
    background: #e9f1ff;;
    border-top: 1px solid var(--color-line);
    text-align: center;
}

.contact .sec-header {
    margin-bottom: 6px;
}

.contact .sec-header .en {
    font-size: 46px;
}

.contact .sec-header .ja {
    color: var(--color-primary);
    font-size: 13px;
    margin-top: 4px;
}

.contact .lead {
    color: var(--color-ink);
    margin: 8px 0 14px;
    line-height: 1.9;
    font-size: 13px;
}

.contact .chips {
    margin: 16px 0 16px;
}

.contact .chip {
    display: inline-block;
    background: var(--color-gray);
    border: none;
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 12px;
    margin: 4px 8px;
    text-decoration: none;
}

.contact .chip.primary {
    background: var(--color-primary);
    border: 1px solid var(--color-primary);
    color: #fff;
    font-weight: 600;
    padding: 10px 20px;
}

.contact .chip.primary:hover {
    background: #1e5dd8;
    border-color: #1e5dd8;
    text-decoration: none;
}

.contact .chip.content {
    background: none;
    border: none;
    color: var(--color-ink);
    padding: 8px 4px;
}

.contact .note {
    color: var(--color-muted);
    font-size: 11px;
    margin-top: 6px;
}

/* Office photos */
.office .sec-header {
    text-align: center;
    margin-bottom: 20px;
}

.office .photo {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.office .caption {
    font-size: 12px;
    color: #7b7b7b;
    text-align: center;
    margin-top: 6px;
}

/* Mission/Vision Banner Photo */
.mv-photo {
    padding: 10px 0 30px;
    background: #fff;
}

.mv-photo__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

/* Mission/Vision Section */
.mv {
    background: #fff;
    padding-top: 40px;
    padding-bottom: 40px;
}

.mv__head {
    font-family: var(--font-heading);
    font-size: 34px;
    margin-bottom: 8px;
}

.mv__text {
    color: var(--color-primary);
    font-weight: 400;
    margin: 4px 0;
}

.mv__note {
    color: var(--color-ink);
    font-size: 13px;
    line-height: 1.9;
}

/* Creed Section */
.creed {
    background: #fff;
}

.creed__grid {
    margin-top: 10px;
}

.creed__item {
    padding: 18px;
    text-align: center;
}

.creed__item h4 {
    color: var(--color-primary);
    border-bottom: 1px solid #4a6aa3;
    display: inline-block;
    padding-bottom: 6px;
    margin-bottom: 8px;
    font-size: 16px;
}

.creed__item p {
    font-size: 13px;
    color: var(--color-ink);
    line-height: 1.8;
}

.creed .creed-img {
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 10px;
    max-width: 100%;
}

/* Story Section */
.story .sec-header .en {
    font-size: 54px;
}

.story__lead {
    color: var(--color-primary);
    margin-bottom: 6px;
}

.story__desc {
    color: var(--color-ink);
    font-size: 13px;
    line-height: 1.9;
    margin-bottom: 20px;
}

.story__img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(0,0,0,.06);
}

.story__caption {
    margin-top: 10px;
}

.story__caption-img {
    height: 70px;
    display: block;
    margin-bottom: 10px;
}

.story__label {
    position: relative;
    display: inline-block;
    color: var(--color-primary);
    font-weight: 700;
    margin-bottom: 6px;
    padding-left: 28px;
}

.story__label:before {
    content: "";
    position: absolute;
    left: 0;
    top: 7px;
    width: 22px;
    height: 2px;
    background: var(--color-primary);
    transform: rotate(-18deg);
    transform-origin: left center;
}

.story__headline {
    font-size: 16px;
    font-weight: 700;
    margin: 2px 0 8px;
    color: var(--color-primary);
}

.story__para {
    color: var(--color-ink);
    font-size: 13px;
    line-height: 1.9;
}

/* Origin text */
.origin__text {
    color: var(--color-ink);
    font-size: 13px;
    line-height: 1.9;
}

/* ============================================
   Sidebar Components (Common across pages)
   ============================================ */

/* Sidebar section headings (よく読まれている記事/人気記事ランキング/最新のお知らせ/タグ一覧) */
.side-title {
    border-left: 4px solid #2f73ff;
    padding-left: 12px;
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 14px;
    color: #1f2a44;
}

/* List of side articles (popular and ranking) */
.side-article-list {
    margin: 4px 0 8px;
}

.side-article {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    text-decoration: none;
    color: inherit;
    padding: 12px 0;
    border-bottom: 1px solid #e6ecf7;
}

.side-article:hover .side-article__text {
    text-decoration: underline;
}

.side-article__thumb {
    width: 38%;
    aspect-ratio: 4/3;
    object-fit: cover;
    border-radius: 4px;
}

.side-article__text {
    flex: 1;
    font-size: 13px;
    line-height: 1.7;
    font-weight: 400;
    color: #2a2a2a;
}

.rank-num {
    display: inline-block;
    min-width: 2.5em;
    color: #2f73ff;
    font-weight: 700;
    margin-right: 6px;
}

/* Ranking pills */
.pills-ranking {
    margin: 6px 0 12px;
    padding-left: 0;
}

.pills-ranking > li {
    display: inline-block;
    margin-right: 8px;
}

.pills-ranking > li > a {
    border: none;
    border-radius: 10px;
    padding: 6px 12px;
    color: #2f73ff;
    background: transparent;
}

.pills-ranking > li.active > a,
.pills-ranking > li.active > a:focus,
.pills-ranking > li.active > a:hover {
    background: #eff2f6;
    color: #2a2a2a;
    border: 1px solid #e3e7ef;
    box-shadow: inset 0 1px 0 rgba(0, 0, 0, 0.03);
}

.pills-ranking > li > a:hover {
    background: transparent;
    color: #1f2a44;
    text-decoration: underline;
}

/* Latest news */
.news-list {
    list-style: none;
    padding: 0;
    margin: 0 0 10px;
}

.news-item {
    padding: 10px 0;
    border-bottom: 1px solid #e6ecf7;
}

.news-date {
    display: block;
    font-size: 12px;
    color: #8aa0c9;
    margin-bottom: 4px;
}

.news-title {
    font-size: 14px;
    color: #2a2a2a;
    text-decoration: none;
}

.news-title:hover {
    text-decoration: underline;
}

/* More link row */
.more-link-row {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
    color: #2f73ff;
    text-decoration: none;
    padding: 10px 0;
    border-top: 1px solid #e6ecf7;
}

.more-link-row:hover {
    text-decoration: underline;
}

/* Tag list */
.tag-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.tag-item {
    padding: 10px 0;
    border-bottom: 1px solid #e6ecf7;
}

.tag-item a {
    color: #2a2a2a;
    text-decoration: none;
}

.tag-item a:hover {
    color: #2f73ff;
    text-decoration: underline;
}

/* Category list (for SP sidebar) */
.genre-list-desc {
    border-left: 4px solid #2f73ff;
    padding-left: 12px;
    font-size: 18px;
    font-weight: 700;
    margin: 8px 0 14px;
    color: #1f2a44;
}
