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

body {
    margin: 0;
    padding: 0;
    font-family: "メイリオ";
    letter-spacing: 0.2em;
    height: 100vh;
}

section {
    scroll-margin-top: 120px;
}

@media screen and (max-width: 768px) {
    body {
        letter-spacing: 0;
    }
}

/* ========================================
   Header
======================================== */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 24px 5% 10px;
    background-color: #fff;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid lightgray;
    display: flex;
    align-items: center;
    z-index: 999;
}

#pc-logo {
    display: block !important;
}

#sp-logo {
    display: none !important;
}

@media screen and (max-width: 768px) {
    #pc-logo {
        display: none !important;
    }

    #sp-logo {
        display: block !important;
    }
}

/* ========================================
   Navigation
======================================== */
nav {
    margin-left: auto;
    padding-top: 1em;
}

nav ul {
    list-style: none;
    margin: 0;
    display: flex;
    padding: 0;
}

nav ul li {
    margin-left: 15px;
    font-size: 14px;
}

nav ul li a {
    position: relative;
    text-decoration: none;
    color: dimgray;
    font-weight: 800;
    text-transform: uppercase;
    margin: 0 0.6em;
    padding-bottom: 0.6em;
    transition: all 0.5s;
}

nav ul li a:hover {
    color: black;
}

nav ul li a::after {
    content: '.';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
    width: 0%;
    height: 0.1em;
    background: #333;
    color: transparent;
    transition: all 0.5s;
}

nav ul li a:hover::after {
    width: 100%;
}

/* ========================================
   Responsive Navigation
======================================== */
.pc-nav {
    display: block;
}

.sp-nav {
    display: none;
}

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

    .sp-nav {
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background: rgba(0, 0, 0, 0.8);
        opacity: 0;
        transform: translateY(-100%);
        transition: all 0.2s ease-in-out;
        z-index: 1;
        display: block;
    }

    .sp-nav ul {
        padding: 0;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        height: 100%;
    }

    .sp-nav li {
        padding: 0;
    }

    .sp-nav li a,
    .sp-nav li span {
        display: block;
        color: #fff;
        padding: 20px 0;
        font-size: 15px;
    }

    .sp-nav .close {
        position: relative;
        padding-left: 20px;
    }

    .sp-nav .close::before,
    .sp-nav .close::after {
        content: '';
        position: absolute;
        top: 50%;
        left: 0;
        width: 16px;
        height: 1px;
        background: #fff;
    }

    .sp-nav .close::before {
        transform: rotate(45deg);
    }

    .sp-nav .close::after {
        transform: rotate(-45deg);
    }

    .toggle {
        transform: translateY(0);
        opacity: 1;
    }

    #hamburger {
        position: relative;
        display: block;
        width: 30px;
        height: 25px;
        margin-left: auto;
    }

    #hamburger span,
    #hamburger::before,
    #hamburger::after {
        position: absolute;
        left: 0;
        width: 100%;
        height: 2px;
        background-color: dimgray;
    }

    #hamburger span {
        top: 50%;
        transform: translateY(-50%);
    }

    #hamburger::before {
        content: '';
        top: 0;
    }

    #hamburger::after {
        content: '';
        bottom: 0;
        width: 70%;
    }
}

/* ========================================
   Page Title Section
======================================== */
.page-title {
    position: relative;
    padding-top: 70px;
    background-color: #000;
}

.page-title img {
    display: block;
    width: 100%;
    height: auto;
    opacity: 0.85;
}

html {
    scroll-behavior: smooth;
}

.page-title-text {
    position: absolute;
    top: 62%;
    left: 50%;
    transform: translate(-50%, -50%);
    margin: 0;
    font-size: 24px;
    font-weight: bold;
    letter-spacing: 0.4em;
    color: #fff;
}

/* モバイル向け調整 */
@media screen and (max-width: 768px) {
    .page-title {
        padding-top: 80px;
    }
}

.section-divider {
    height: 2px;
    width: 90%;
    margin: 80px auto;
    background: linear-gradient(to right, transparent, #ccc, transparent);
    border: none;
}

/* ========================================
   Top message
======================================== */
/* 全体コンテナ */
.hero-title {
    text-align: center;
    padding: 100px 10% 80px 10%;
    border-radius: 24px;
    /* box-shadow: 0 8px 24px rgba(0, 0, 0, 0.05); */
}

.hero-slogan {
    font-size: clamp(24px, 6vw, 46px);
    font-weight: 700;
    color: #222;
    margin: 0 0 20px;
    letter-spacing: 0.05em;
    line-height: 1.2;
    position: relative;
    display: inline-block;
}

/* 「彩」だけグラデーションカラー */
.hero-gradient {
    background: linear-gradient(90deg, #ff5f6d, #ff9966, #fcd34d, #34d399, #60a5fa, #a855f7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: hueShift 6s linear infinite;
}

/* 虹色がゆるやかに動く演出 */
@keyframes hueShift {
    0% {
        filter: hue-rotate(0deg);
    }

    100% {
        filter: hue-rotate(360deg);
    }
}

.hero-subtitle {
    font-size: clamp(14px, 2.5vw, 18px);
    font-weight: 400;
    text-align: center;
    color: #555;
    line-height: 1.8;
    margin-top: 10px;
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 1s ease 0.5s forwards;
}

/* フェードイン効果 */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* モバイル改行 */
.sp-only {
    display: none;
}

@media screen and (max-width: 768px) {
    .sp-only {
        display: inline;
    }
}

.hero-message {
    padding: clamp(40px, 6vw, 80px) 10%;
    background-color: #fafafa;
}

.hero-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 60px;
    flex-wrap: nowrap;
}

/* 画像部分 */
.hero-media img {
    width: 100%;
    max-width: 480px;
    height: auto;
    border-radius: 16px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.08);
}

/* テキスト部分 */
.hero-copy {
    flex: 1;
}

.hero-lead.intro {
    font-size: clamp(18px, 3vw, 32px);
    font-weight: 600;
    color: #333;
    margin-bottom: 20px;
    position: relative;
}

.hero-lead.intro .accent {
    background: linear-gradient(90deg, #ff5f6d, #ffc371);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.tive-list {
    list-style: none;
    padding: 0;
    margin: 0 auto 20px;
    max-width: 500px;
    text-align: left;
    font-size: clamp(16px, 2vw, 20px);
    line-height: 1.6;
}

.tive-list li {
    opacity: 0;
    transform: translateY(10px);
    animation: fadeInUp 0.6s ease forwards;
}

.tive-list li:nth-child(1) {
    animation-delay: 0.2s;
}

.tive-list li:nth-child(2) {
    animation-delay: 0.4s;
}

.tive-list li:nth-child(3) {
    animation-delay: 0.6s;
}

.tive-list li:nth-child(4) {
    animation-delay: 0.8s;
}

.tive-list li:nth-child(5) {
    animation-delay: 1.0s;
}

.tive-list li:nth-child(6) {
    animation-delay: 1.2s;
}

.tive-list li:nth-child(7) {
    animation-delay: 1.4s;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.tive-color {
    font-weight: 700;
    font-size: 1.3em;
    margin-right: 4px;
}

.red {
    color: #ff4b5c;
}

.orange {
    color: #ff9a3c;
}

.yellow {
    color: #fcd34d;
}

.green {
    color: #34d399;
}

.blue {
    color: #60a5fa;
}

.indigo {
    color: #6366f1;
}

.purple {
    color: #a855f7;
}

.hero-lead.closing {
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: #555;
    line-height: 1.6;
}

/* ===== スマホ（768px以下）対応 ===== */
@media screen and (max-width: 768px) {
    .hero-grid {
        display: block;
        /* 横並び → 縦並びに */
        text-align: center;
    }

    .hero-media {
        display: none;
        /* スマホでは画像非表示 */
    }

    .hero-message {
        padding: 60px 6%;
    }

    .hero-copy {
        text-align: left;
    }

    .tive-list {
        font-size: 1rem;
        margin-bottom: 1.2em;
    }

    .hero-lead.intro {
        font-size: 1.3rem;
        text-align: center;
        margin-bottom: 1em;
    }

    .hero-lead.closing {
        font-size: 1rem;
        text-align: center;
        line-height: 1.8;
    }
}

/* ========================================
   Breadcrumb
======================================== */
.breadcrumb {
    margin: 0;
    padding: 1% 5%;
    list-style: none;
    overflow: hidden;
}

@media screen and (max-width: 768px) {
    .breadcrumb {
        padding: 1% 2%;
    }
}

.breadcrumb li {
    display: inline;
    font-size: 13px;
    font-weight: bold;
}

.breadcrumb li::after {
    content: ' >';
    padding: 0 0.1em;
    color: #828282;
}

.breadcrumb li:last-child::after {
    content: '';
}

.breadcrumb li a {
    text-decoration: none;
    color: #006666;
}

.breadcrumb li a:hover {
    text-decoration: underline;
}

/* ========================================
   Page Contents
======================================== */
.pageContents {
    width: 100%;
    padding: 0% 12%;
}

@media screen and (max-width: 768px) {
    .pageContents {
        padding: 2% 3%;
    }
}

.contentsTitleBox {
    text-align: center;
    font-family: system-ui;
}

.contentsTitle {
    display: inline-block;
    position: relative;
    background: -webkit-linear-gradient(-90deg, #0072b4 0%, #7bc0be 82%, #afebea 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* ========================================
   Footer
======================================== */
#about-company-logo {
    text-align: center;
    margin: 4em 0 3em;
}

#footer01 {
    background: #222;
    padding: 0;
    margin: 0;
}

#footer01 ul {
    list-style: none;
    margin: 0;
    padding: 30px 0 10px;
}

.nav a {
    display: block;
    padding: 0 5px;
    color: #ccc;
    text-decoration: none;
}

.nav a:hover {
    color: white;
}

.copyright {
    color: white;
    text-align: center;
    font-size: 80%;
    padding: 5px 0 20px;
}

@media screen and (min-width: 769px) {
    .nav {
        display: flex;
        justify-content: center;
    }

    .test-item::after {
        content: " /";
    }
}

@media screen and (max-width: 768px) {
    #footer01 {
        text-align: center;
    }

    .nav li {
        border-top: 1px solid #555;
    }

    .nav li:last-child {
        border-bottom: 1px solid #555;
    }

    .nav li a {
        padding: 12px 20px;
        text-align: left;
    }

    .nav a::after {
        content: ">";
        position: absolute;
        right: 20px;
    }

    h2 {
        line-height: 1.6;
        text-align: center;
    }

    .main-visual {
        padding: 0 4%;
    }
}

.recruit-contact-section {
    margin-top:50px;
    padding: 40px 10%;
    background-color: #f8f8f8;
    text-align: center;
}

.card-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 60px;
    margin: 20px 0;
}

.info-card {
    background-color: white;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 5px 15px;
    width: 400px;
    text-decoration: none;
    color: #333;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.info-card h3 {
    margin: 20px 0 0 0;
    border-bottom: 2px solid #ff4500;
    display: inline-block;
    padding: 0 10px 2px 10px;
    color: #ff4500;
    font-size: 1.4em;
}

.info-card p {
    margin-top: 15px;
    font-size: 0.95em;
    line-height: 1.6;
}
