@charset "utf-8";

/* ============================================================
   CSS Variables（カラーパレット）
   ============================================================ */
:root {
    --primary-color:   #5eb5c9;
    --primary-color2:  #7cbd2a;
    --secondary-color: #f8b4c4;
    --accent-orange:   #f9a03f;
    --accent-red:      #f25d5d;
    --accent-green:    #8dc63f;
    --accent-yellow:   #f9d56e;
    --accent-purple:   #a67fb5;

    /* フォントサイズスケール */
    --fs-base:   1rem;      /* 本文 */
    --fs-sm:     0.875rem;  /* 小さめ補足文 */
    --fs-md:     1.25rem;   /* 小見出し */
    --fs-lg:     1.75rem;   /* ボックス見出し */
    --fs-xl:     2.5rem;    /* セクション見出し */
    --fs-hero:   3rem;      /* ヒーロータイトル */
}

/* ============================================================
   Base
   ============================================================ */
body {
    font-family: "Yu Gothic", "游ゴシック", YuGothic, "游ゴシック体",
                 "ヒラギノ角ゴ Pro W3", "メイリオ", sans-serif;
    line-height: 1.8;
    color: #333;
    font-size: var(--fs-base);
}

.carecolor { color: var(--primary-color2); }

/* ============================================================
   Header / Navbar
   ============================================================ */
.navbar {
    background-color: #fff !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    padding: 1rem 0;
}

.navbar-brand {
    font-size: var(--fs-base);
    font-weight: bold;
    color: var(--primary-color) !important;
}

.navbar-nav .nav-link {
    color: #333 !important;
    margin: 0 0.5rem;
    transition: color 0.3s;
    font-size: var(--fs-base);
}

.navbar-nav .nav-link:hover { color: var(--accent-red) !important; }

.btn-entry {
    background-color: var(--secondary-color);
    color: #fff;
    border: none;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    transition: background-color 0.3s;
}

.btn-entry:hover {
    background-color: #f69cae;
    color: #fff;
}

/* カスタムハンバーガーメニュー */
.custom-hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 5px;
    z-index: 1003;
    position: relative;
    background: none;
    border: none;
    padding: 0;
}

.custom-hamburger span {
    width: 25px;
    height: 3px;
    background-color: #333;
    transition: 0.3s;
    display: block;
}

.custom-hamburger.active span:nth-child(1) { transform: rotate(45deg)  translate(7px, 7px);  }
.custom-hamburger.active span:nth-child(2) { opacity: 0; }
.custom-hamburger.active span:nth-child(3) { transform: rotate(-45deg) translate(7px, -7px); }

/* カスタムモバイルナビ */
.custom-mobile-nav {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background-color: #fff;
    box-shadow: -2px 0 10px rgba(0,0,0,0.1);
    transition: right 0.3s ease-in-out;
    z-index: 1051;
    padding: 80px 30px 30px;
    overflow-y: auto;
}

.custom-mobile-nav.active { right: 0; }

.custom-mobile-nav-header {
    position: absolute;
    top: 0; left: 0; right: 0;
    padding: 20px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid #eee;
}

.custom-mobile-nav-title {
    font-size: var(--fs-base);
    font-weight: bold;
    color: var(--primary-color);
    margin: 0;
}

.custom-close-btn {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #333;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.custom-close-btn:hover { color: var(--primary-color); }

.custom-mobile-nav ul { list-style: none; padding: 0; margin: 0; }
.custom-mobile-nav ul li { border-bottom: 1px solid #eee; }

.custom-mobile-nav ul li a {
    display: block;
    padding: 20px 0;
    color: #333;
    font-size: var(--fs-base);
    text-decoration: none;
    transition: color 0.3s;
}

.custom-mobile-nav ul li a:hover { color: var(--accent-red); }

.custom-mobile-nav .btn-entry {
    display: block;
    text-align: center;
    margin-top: 30px;
    width: 100%;
}

/* オーバーレイ */
.custom-overlay {
    position: fixed;
    top: 0; left: 0;
    width: 100%;
    height: 100vh;
    background-color: rgba(0,0,0,0.5);
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s, visibility 0.3s;
    z-index: 1050;
}

.custom-overlay.active { opacity: 1; visibility: visible; }

@media (min-width: 992px) {
    .custom-hamburger { display: none !important; }
}

@media (max-width: 991px) {
    .navbar-toggler    { display: none; }
    .custom-hamburger  { display: flex; }
    .navbar-collapse   { display: none !important; }
}

/* ============================================================
   Hero
   ============================================================ */
.hero {
    padding: 80px 0 30px;
    background-image: url("../img/27062828.jpg");
    background-position: top;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero2 {
    padding: 80px 0 30px;
    background-image: url("../img/27158197.jpg");
    background-position: top;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero3 {
    padding: 80px 0 30px;
    background-image: url("../img/26660350.jpg");
    background-position: top;
    position: relative;
    overflow: hidden;
    margin-top: 76px;
}

.hero-title {
    font-size: var(--fs-hero);
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 8px;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-title2 {
    font-size: var(--fs-hero);
    color: var(--primary-color2);
    font-weight: 300;
    letter-spacing: 8px;
    text-align: center;
    margin-bottom: 3rem;
}

.hero-card {
    position: relative;
    text-align: center;
    margin-bottom: 2rem;
}

.hero-card img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.card-badge {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 100px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: var(--fs-base);
    font-weight: bold;
    text-align: center;
    padding: 10px;
    line-height: 1.4;
}

.badge-orange { background-color: var(--accent-orange); }
.badge-red    { background-color: var(--accent-red);    }
.badge-cyan   { background-color: var(--primary-color); }
.badge-green  { background-color: var(--accent-green);  }

.card-title-text {
    margin-top: 1rem;
    font-size: var(--fs-base);
    color: #666;
}

/* ============================================================
   Section 共通
   ============================================================ */
.section { padding: 80px 0; }

.section-title {
    font-size: var(--fs-xl);
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 1rem;
}

.section-title2 {
    font-size: var(--fs-xl);
    color: var(--primary-color2);
    font-weight: 300;
    letter-spacing: 4px;
    text-align: center;
    margin-bottom: 1rem;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 3rem;
    font-size: var(--fs-base);
}

/* ============================================================
   Innovation
   ============================================================ */
.innovation-section { background-color: #f9fafb; }

.innovation-text h3 {
    font-size: var(--fs-md);
    color: #333;
    margin-bottom: 1.5rem;
    line-height: 2;
    font-weight: 400;
}

.innovation-text p {
    font-size: var(--fs-base);
    color: #666;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.btn-more {
    background-color: #fff;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.75rem 2.5rem;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-more:hover {
    background-color: var(--primary-color);
    color: #fff;
}

.innovation-images img {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
    margin-bottom: 1rem;
}

/* ============================================================
   Job Section
   ============================================================ */
.job-section { background: linear-gradient(180deg, #fff 0%, #fef1f5 100%); }

.job-card {
    text-align: center;
    margin-bottom: 3rem;
}

.job-card-image {
    position: relative;
    margin-bottom: 1.5rem;
}

.job-card-image img {
    width: 100%;
    border-radius: 10px;
}

.job-badge {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: var(--fs-base);
    font-weight: bold;
    text-align: center;
    padding: 8px;
}

.job-badge-purple { background-color: var(--accent-purple); }
.job-badge-cyan   { background-color: var(--primary-color); }
.job-badge-yellow { background-color: var(--accent-yellow); }
.job-badge-green  { background-color: var(--accent-green);  }
.job-badge-pink   { background-color: var(--secondary-color); }

.job-card h3 {
    font-size: var(--fs-base);
    color: #333;
    margin-bottom: 0.5rem;
}

.job-card p {
    font-size: var(--fs-base);
    color: #999;
}

/* ============================================================
   Work Section
   ============================================================ */
.work-section  { background-color: #fff; }
.work-content  { margin-bottom: 4rem; }

.work-text h3 {
    font-size: 1.5rem;
    color: #333;
    margin-bottom: 1rem;
}

.work-text p {
    font-size: var(--fs-base);
    color: #666;
    line-height: 2;
    margin-bottom: 1.5rem;
}

.work-image img {
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    width: 100%;
}

.work-environment {
    background-color: #fff;
    background-image: url("../img/2129064.png");
    background-position: top;
}

/* ============================================================
   Special Content
   ============================================================ */
.special-content {
    background: linear-gradient(180deg, #f9fafb 0%, #fff 100%);
    padding: 80px 0;
    background-image: url("../img/grid30.png");
}

.special-section { background: linear-gradient(180deg, #f9fafb 0%, #fff 100%); }

/* special-box / special-box2（統合・重複解消） */
.special-box,
.special-box2 {
    background-color: #fff;
    border-radius: 20px;
    padding: 3rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
    max-width: 900px;
    margin: 0 auto;
}

.special-box h3 {
    text-align: center;
    font-size: var(--fs-lg);
    color: var(--primary-color);
    margin-bottom: 2rem;
}

.special-box2 h3 {
    text-align: center;
    font-size: var(--fs-lg);
    color: var(--primary-color2);
    margin-bottom: 2rem;
}

/* special-list（PDF アイコン付きリスト） */
.special-list {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
}

.special-list li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: var(--fs-sm);
    color: #666;
}

.special-list li:before {
    content: url('../img/icon_pdf.png');
    font-weight: bold;
    margin-right: 10px;
}

/* special-list2 */
.special-list2 {
    list-style: none;
    margin-bottom: 40px;
}

.special-list2 li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: var(--fs-base);
    color: #666;
}

.special-list2 li:before {
    font-weight: bold;
    margin-right: 10px;
}

/* special-list3 / special-list5（チェックマーク付き） */
.special-list3,
.special-list5 {
    list-style: none;
    padding: 0;
    margin-bottom: 2rem;
    text-indent: -1.5em;
}

.special-list3 li,
.special-list5 li {
    padding: 1rem;
    font-size: var(--fs-base);
    color: #666;
}

.special-list3 li:before {
    content: "✓ ";
    color: var(--primary-color);
    font-weight: bold;
    margin-right: 0.5rem;
}

.special-list5 li:before {
    content: "✓ ";
    color: var(--primary-color2);
    font-weight: bold;
    margin-right: 0.5rem;
}

/* special-list4（番号付き） */
.special-list4 {
    list-style: none;
    margin-bottom: 40px;
}

.special-list4 li {
    padding: 15px 0;
    border-bottom: 1px solid #eee;
    font-size: var(--fs-base);
    color: #666;
}

.special-list4 li:before {
    font-weight: bold;
    margin-right: 10px;
}

.special-list4 ol {
    padding: 0;
    list-style-position: inside;
}

.special-list4 ol li {
    border-bottom: 1px dashed #eee;
    padding: 10px 0;
    font-size: var(--fs-base);
    text-indent: -1.2em;
    padding-left: 1.2em;
}

.special-list4 ol li:last-child { border-bottom: none; }

.special-list4o { border-bottom: 1px dashed #eee !important; }

.sptitle { width: 200px; font-weight: bold; padding-right: 20px; }

/* ============================================================
   Highlight Box
   ============================================================ */
.highlight-box {
    background: linear-gradient(135deg, #e8f4f8 0%, #f0f8fa 100%);
    padding: 2.5rem;
    border-radius: 15px;
    margin: 2rem 0;
    text-align: center;
}

.highlight-box h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.highlight-box p {
    color: #666;
    line-height: 1.5em;
}

/* ============================================================
   Staff Voice
   ============================================================ */
.staff-voice {
    text-align: center;
    margin-bottom: 2rem;
}

.staff-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background-color: var(--primary-color);
    margin: 0 auto 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
}

.staff-voice p {
    font-size: var(--fs-base);
    color: #666;
}

/* ============================================================
   Footer
   ============================================================ */
footer {
    background-image: url("../img/23591114.png");
    background-position: top;
    padding: 4rem 0 1rem;
}

.footer-logo {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 2rem;
    color: var(--primary-color);
    font-weight: 300;
    letter-spacing: 2px;
}

.footer-logo p {
    color: #999;
    font-size: var(--fs-base);
    margin-top: 0.5rem;
}

.footer-section h4 {
    font-size: var(--fs-base);
    color: #333;
    margin-bottom: 1rem;
}

.footer-section ul { list-style: none; padding: 0; }
.footer-section ul li { margin-bottom: 0.5rem; }

.footer-section ul li a {
    font-size: var(--fs-base);
    color: #666;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-section ul li a:hover { color: var(--primary-color); }

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    margin-top: 2rem;
    border-top: 1px solid #e0e0e0;
    color: #999;
    font-size: var(--fs-base);
}

/* ============================================================
   Buttons
   ============================================================ */
.btn-primary-custom {
    background-color: var(--primary-color);
    color: #fff;
    border: none;
    padding: 0.875rem 3rem;
    border-radius: 30px;
    transition: background-color 0.3s;
}

.btn-primary-custom:hover {
    background-color: #4a9fb3;
    color: #fff;
}

.btn-secondary-custom {
    background-color: #fff;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 0.875rem 3rem;
    border-radius: 30px;
    transition: all 0.3s;
}

.btn-secondary-custom:hover {
    background-color: var(--primary-color);
    color: #fff;
}

/* ============================================================
   Responsive
   ============================================================ */
@media (max-width: 768px) {
    .hero-title,
    .hero-title2  { font-size: 2rem; letter-spacing: 4px; }
    .section-title,
    .section-title2 { font-size: 1.75rem; }
    .special-box,
    .special-box2   { padding: 1.5rem; }
}

@media (max-width: 576px) {
    .hero-title,
    .hero-title2  { font-size: 1.5rem; }
    .section-title,
    .section-title2 { font-size: 1.5rem; }
}
