:root {
    /* Color Palette : Tiffany Blue */
    --primary: #0ABAB5; 
    --primary-hover: #008F8A; 
    
    --text-main: #444444;     
    --text-light: #888888;    
    
    --bg-white: #ffffff;
    --bg-light: #F2FAFA;
    
    --font-jp: 'Noto Sans JP', sans-serif;
    --font-en: 'Oswald', sans-serif;
    --header-height: 80px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: var(--font-jp);
    color: var(--text-main);
    line-height: 1.8;
    background-color: var(--bg-white);
    -webkit-font-smoothing: antialiased;
    letter-spacing: 0.05em;
    font-weight: 400;
}

html, body {
    overflow-x: hidden;
}

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }
img { width: 100%; height: auto; display: block; }

.br-pc { display: block; }
.br-sp { display: none; }

@media (max-width: 900px) {
    .br-pc { display: none; }
    .br-sp { display: block; }
}

/* ====================================
   Header
   ==================================== */
.header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    height: var(--header-height);
    background: rgba(255, 255, 255, 0.98);
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 100%;
    padding-left: 40px;
    padding-right: 0; 
}

.logo {
    font-family: var(--font-en);
    font-size: 1.6rem;
    font-weight: 700;
    color: var(--primary);
    letter-spacing: 0.05em;
}

/* Nav */
.nav { margin-left: auto; height: 100%; }
.nav-list { display: flex; height: 100%; }

.nav-item {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    padding: 0 20px;
    color: var(--primary);
    position: relative;
    font-size: 0.9rem;
}
.nav-item .en {
    font-family: var(--font-en);
    font-weight: 500;
    line-height: 1;
    margin-bottom: 4px;
    font-size: 1.1rem;
}
.nav-item .jp {
    font-size: 0.65rem;
    color: #999;
    font-weight: 700;
}
.nav-item:hover { opacity: 0.7; }

/* Contact Button */
.contact-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    width: 180px;
    background: var(--primary);
    color: #fff;
    transition: 0.3s;
}
.contact-btn .en { font-family: var(--font-en); font-size: 1.2rem; font-weight: 700; line-height: 1; }
.contact-btn .jp { font-size: 0.7rem; font-weight: 500; margin-top: 4px; }
.contact-btn:hover { background: var(--primary-hover); }

.menu-trigger { display: none; }

/* Header Responsive */
@media (max-width: 900px) {
    .header { padding: 0 20px; height: 60px; }
    .header-container { padding: 0; }
    .nav, .contact-btn { display: none; }
    
    .menu-trigger {
        display: block;
        width: 30px; height: 20px;
        position: relative;
        cursor: pointer;
    }
    .menu-trigger span {
        position: absolute; left: 0; width: 100%; height: 2px;
        background: var(--primary);
        transition: 0.3s;
    }
    .menu-trigger span:nth-of-type(1) { top: 0; }
    .menu-trigger span:nth-of-type(2) { bottom: 0; }
}

/* ====================================
   FV (Hero)
   ==================================== */
.fv {
    position: relative;
    height: 100vh;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    overflow: hidden;
    text-align: center;
}

.fv-bg {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    z-index: -1;
}
.fv-bg img {
    width: 100%; height: 100%;
    object-fit: cover;
}

/* FV Overlay */
.fv-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(10, 186, 181, 0.4), rgba(0, 143, 138, 0.2));
    z-index: 0;
}

.fv-content {
    position: relative;
    z-index: 1;
    padding: 0 5%;
    max-width: 1000px;
    margin-top: 40px;
}

.fv-sub {
    font-family: var(--font-en);
    font-size: 1.2rem;
    letter-spacing: 0.2em;
    margin-bottom: 20px;
    color: rgba(255,255,255,0.9);
}

.fv-title {
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    text-shadow: 0 5px 15px rgba(0,0,0,0.15);
    letter-spacing: 0.02em;
    font-feature-settings: "palt";
    letter-spacing: 0.06em;
}

.fv-lead {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 40px;
    font-weight: 500;
    text-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

.btn-main {
    display: inline-block;
    padding: 18px 60px;
    background: #fff;
    color: var(--primary);
    border-radius: 50px;
    font-weight: 700;
    font-family: var(--font-en);
    letter-spacing: 1px;
    font-size: 1rem;
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}
.btn-main:hover {
    background: var(--primary);
    color: #fff;
    transform: translateY(-3px);
}

.scroll-down {
    position: absolute;
    bottom: 30px; left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-en);
    font-size: 0.8rem;
    letter-spacing: 2px;
    color: #fff;
    z-index: 2;
}
.scroll-down::after {
    content: ''; display: block;
    width: 1px; height: 50px;
    background: #fff;
    margin: 10px auto 0;
    animation: scrollLine 1.5s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    51% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

/* FV Responsive */
@media (max-width: 768px) {
    .fv-title { font-size: 3rem; margin-bottom: 20px; }
    .fv-lead { font-size: 0.9rem; text-align: left; display: inline-block; }
    .sp-only { display: block; }
}

/* ====================================
   Common & Section
   ==================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section { padding: 120px 0; }
.bg-light { background-color: var(--bg-light); }
.text-center { text-align: center; }

.section-label {
    display: inline-block;
    font-family: var(--font-en);
    color: var(--primary);
    font-weight: 700;
    letter-spacing: 0.2em;
    margin-bottom: 15px;
    position: relative;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    line-height: 1.3;
    color: #3d3d3d;
    font-feature-settings: "palt";
    letter-spacing: 0.08em;
}

/* ====================================
   Mission Section
   ==================================== */
.mission {
    position: relative;
    padding: 80px 0;
    overflow: hidden;
    background: #fff;
}

.mission-bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-family: var(--font-en);
    font-size: 20vw;
    font-weight: 700;
    color: var(--primary);
    opacity: 0.04;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.05em;
}

.mission-inner {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.mission-heading {
    margin: 40px 0 50px;
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-main);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-feature-settings: "palt";
    letter-spacing: 0.08em;
}

.mission-heading span {
    display: block;
    background: linear-gradient(45deg, var(--text-main) 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
}

.mission-heading .line-1 { font-size: clamp(2rem, 5vw, 3rem); }
.mission-heading .line-2 { font-size: clamp(2.5rem, 7vw, 4.5rem); font-weight: 900; letter-spacing: 0.1em; }

.mission-desc {
    font-size: 1.1rem;
    line-height: 2.2;
    color: var(--text-main);
    font-weight: 500;
}

.mission-desc::before {
    content: '';
    display: block;
    width: 40px;
    height: 2px;
    background: var(--primary);
    margin: 30px auto;
    opacity: 0.5;
}

@media (max-width: 768px) {
    .mission { padding: 17% 0!important;}
    .mission-bg-text { font-size: 30vw; top: 40%; }
    .mission-desc { text-align: left; font-size: 0.95rem; }
    .pc-only { display: none; }
    .mission-heading { margin-top: 5%; }
}

/* ====================================
   Services (Creative Overlap Layout)
   ==================================== */
.service-list {
    display: flex;
    flex-direction: column;
    gap: 150px;
    margin-top: 100px;
}

.service-item {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-item.reverse {
    flex-direction: row-reverse;
}

/* 背景数字 */
.service-bg-num {
    position: absolute;
    top: -80px;
    left: -50px;
    font-family: var(--font-en);
    font-size: 15rem;
    font-weight: 700;
    -webkit-text-stroke: 2px var(--primary);
    color: transparent; 
    opacity: 0.15;
    line-height: 1;
    z-index: 0;
    pointer-events: none;
    transform: translateY(0); 
}

.service-item.reverse .service-bg-num {
    left: auto;
    right: -50px;
}

/* 画像エリア */
.service-img-wrapper {
    width: 60%;
    position: relative;
    z-index: 1;
}

.service-img {
    width: 100%;
    height: 450px;
    overflow: hidden;
    border-radius: 4px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    clip-path: inset(0 100% 0 0); /* アニメーション初期値 */
}

.service-item.reverse .service-img {
    clip-path: inset(0 0 0 100%);
}

.service-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: scale(1.3); 
    transition: transform 0.6s ease;
}

/* コンテンツエリア */
.service-content-box {
    width: 45%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 60px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.05);
    position: relative;
    z-index: 2;
    margin-left: -100px;
    border-top: 4px solid var(--primary);
    opacity: 0;
    transform: translateY(50px);
}

.service-item.reverse .service-content-box {
    margin-left: 0;
    margin-right: -100px;
}

.service-name {
    font-family: var(--font-jp);
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    font-weight: 700;
}

.service-name .en-name {
    font-family: var(--font-en);
    font-size: 1rem;
    color: var(--text-main);
    margin-top: 5px;
    font-weight: 500;
    opacity: 0.8;
    letter-spacing: 0.05em;
}

.service-desc {
    margin-bottom: 30px;
    color: var(--text-main);
    line-height: 1.8;
}

@media (max-width: 768px) {
	.service-name {
		font-size: 1.6rem;
	}
	
	.service-item1 .service-name {
		font-size: 1.4rem;
	}
}

/* リンクとボタン */
.btn-wrap {
    margin-top: 30px;
}

.btn-arrow {
    display: inline-flex;
    align-items: center;
    font-family: var(--font-en);
    font-weight: 700;
    color: var(--text-main);
    font-size: 0.9rem;
    transition: 0.3s;
}
.btn-arrow::after {
    content: '→';
    margin-left: 10px;
    transition: transform 0.3s;
    color: var(--primary);
}
.btn-arrow:hover { color: var(--primary); }
.btn-arrow:hover::after { transform: translateX(5px); }

.tag-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-top: 20px;
}

@media (max-width: 768px) {
	.tag-grid {
		grid-template-columns: auto;
	}
}
.tag-btn {
    display: flex;
	justify-content: center;
	align-items: center;
    text-align: center;
    padding: 10px;
    background: #fff;
    border: 1px solid #ddd;
    color: var(--text-main);
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: 0.3s;
}
.tag-btn:hover {
    background: var(--primary);
    color: #fff;
    border-color: var(--primary);
}

.btn-outline {
    display: inline-block;
    padding: 12px 35px;
    border: 1px solid var(--primary);
    color: var(--primary);
    font-family: var(--font-en);
    font-weight: 700;
    letter-spacing: 1px;
    transition: 0.3s;
    border-radius: 50px;
}
.btn-outline:hover {
    background: var(--primary);
    color: #fff;
}

/* Service Responsive */
@media (max-width: 900px) {
    .service-list { gap: 100px; }
    
    .service-item, .service-item.reverse {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-bg-num {
        top: -50px; left: 0; font-size: 8rem;
        -webkit-text-stroke: 1px var(--primary);
    }
    .service-item.reverse .service-bg-num { right: 0; left: auto; }

    .service-img-wrapper {
        width: 100%;
        margin-bottom: -40px;
    }
    .service-img {
        height: 250px;
        clip-path: inset(0 0 0 0); 
    }
    .service-img img { transform: scale(1); }

    .service-content-box,
    .service-item.reverse .service-content-box {
        width: 95%;
        margin: 0 auto;
        padding: 30px;
        opacity: 1;
        transform: translateY(0);
    }
    .btn-center { text-align: center; }
}

/* ====================================
   Recruit, News, Contact (Existing)
   ==================================== */
/* Recruit */
.recruit-section {
    position: relative;
    padding: 140px 0;
    color: #fff;
    overflow: hidden;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
}
.recruit-bg {
    position: absolute;
    top: -15%; left: 0; width: 100%; height: 130%; 
    z-index: -2;
}
.recruit-bg img { width: 100%; height: 100%; object-fit: cover; }
.recruit-overlay {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0, 95, 90, 0.7); 
    z-index: -1;
}
.recruit-title {
    font-family: var(--font-en); font-size: 4rem; font-weight: 700;
    letter-spacing: 0.1em; margin-bottom: 20px; line-height: 1;
}
.recruit-catch {
    font-size: 2rem; font-weight: 700; margin-bottom: 20px; line-height: 1.4;
}
.recruit-desc { font-size: 1rem; margin-bottom: 40px; opacity: 0.95; }
.btn-recruit {
    display: inline-block; padding: 20px 80px; background: transparent;
    border: 1px solid #fff; color: #fff; font-family: var(--font-en);
    font-size: 1.2rem; border-radius: 50px; transition: 0.3s;
}
.btn-recruit:hover { background: #fff; color: var(--primary); }

@media (max-width: 768px) {
    .recruit-title { font-size: 2.5rem; margin-bottom: 10%; }
    .recruit-catch { font-size: 1.5rem; margin-bottom: 10%; }
    .btn-recruit { padding: 15px 40px; width: 100%; max-width: 300px; }
}

/* News */
.news-list { max-width: 900px; margin: 0 auto; border-top: 1px solid #eee; }
.news-item {
    display: flex; align-items: center; padding: 25px 0;
    border-bottom: 1px solid #eee; transition: 0.3s; color: var(--text-main);
}
.news-item:hover { padding-left: 10px; border-bottom-color: var(--primary); }
.news-item:hover .news-title { color: var(--primary); }
.news-meta { display: flex; align-items: center; width: 200px; flex-shrink: 0; }
.news-meta .date { font-family: var(--font-en); color: var(--text-light); margin-right: 15px; }
.news-meta .cat {
    font-size: 0.75rem; background: var(--bg-light); color: var(--primary);
    padding: 4px 10px; font-weight: 700; border-radius: 2px;
}
.news-title { flex: 1; font-weight: 500; transition: 0.3s; }
.news-arrow {
    font-family: var(--font-en); color: var(--primary); opacity: 0;
    transform: translateX(-10px); transition: 0.3s;
}
.news-item:hover .news-arrow { opacity: 1; transform: translateX(0); }

@media (max-width: 768px) {
    .news-item { flex-direction: column; align-items: flex-start; gap: 10px; }
    .news-meta { width: 100%; }
    .news-arrow { display: none; }
}

/* Contact */
.contact-cta {
    background: linear-gradient(135deg, #F2FAFA 0%, #E0F5F4 100%);
    text-align: center; padding: 100px 0;
}
.btn-large {
    display: inline-block; padding: 25px 80px; background: var(--primary);
    color: #fff; border-radius: 50px; font-size: 1.2rem; font-weight: 700;
    box-shadow: 0 15px 30px rgba(10, 186, 181, 0.3); margin-top: 40px; transition: 0.3s;
}
.btn-large:hover {
    background: var(--primary-hover); transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(10, 186, 181, 0.4);
}
@media (max-width: 768px) {
    .btn-large { font-size: 4vw; padding: 5%; width: 90%; }
}

/* Footer */
.footer { background: var(--primary); color: #fff; padding: 80px 0 30px; font-size: 0.9rem; }
.footer-wrapper { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 60px; margin-bottom: 60px; }
.footer-left { flex: 0 0 300px; }
.footer-logo { font-family: var(--font-en); font-size: 2.2rem; color: #fff; margin-bottom: 20px; font-weight: 700; }
.footer-address { font-style: normal; line-height: 1.8; margin-bottom: 30px; font-feature-settings: "palt"; }
.footer-sns { display: flex; gap: 15px; }
.sns-icon {
    display: flex; align-items: center; justify-content: center;
    width: 44px; height: 44px; background: #fff; color: var(--primary);
    border-radius: 50%; transition: 0.3s;
}
.sns-icon svg { width: 20px; height: 20px; }
.sns-icon:hover { background: var(--primary-hover); color: #fff; transform: translateY(-3px); }

.footer-right { flex: 1; display: flex; justify-content: flex-end; gap: 60px; flex-wrap: wrap; }
.footer-col { min-width: 140px; }
.footer-col-head {
    font-size: 1rem; font-weight: 700; margin-bottom: 20px;
    padding-bottom: 10px; border-bottom: 1px solid rgba(255,255,255,0.3);
}
.footer-col ul { list-style: none; padding-left: 0; }
.footer-col ul li { margin-bottom: 12px; }
.footer-col a { opacity: 0.8; transition: 0.3s; display: inline-block; }
.footer-col a:hover { opacity: 1; text-decoration: underline; transform: translateX(5px); }
.copyright {
    border-top: 1px solid rgba(255,255,255,0.2); padding-top: 30px;
    text-align: center; font-size: 0.8rem; opacity: 0.7; font-family: var(--font-en);
}

/* Mobile Menu */
@media (max-width: 900px) {
    .header { padding: 0 20px; height: 70px; }
    .header-container { padding: 0; }
    .nav, .contact-btn { display: none; }
    
    .menu-trigger {
        display: block; width: 30px; height: 24px;
        position: relative; cursor: pointer; z-index: 2000;
    }
    .menu-trigger span {
        position: absolute; left: 0; width: 100%; height: 2px;
        background-color: var(--primary); transition: all 0.4s; border-radius: 2px;
    }
    .menu-trigger span:nth-of-type(1) { top: 0; }
    .menu-trigger span:nth-of-type(2) { top: 50%; transform: translateY(-50%); }
    .menu-trigger span:nth-of-type(3) { bottom: 0; }
    
    .menu-trigger.active span:nth-of-type(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
    .menu-trigger.active span:nth-of-type(2) { opacity: 0; }
    .menu-trigger.active span:nth-of-type(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

    .nav {
        display: block; position: fixed; top: 0; left: 0; width: 100%; height: 100vh;
        background: rgba(255, 255, 255, 0.98); z-index: 1500;
        transform: translateY(-100%); transition: transform 0.4s ease;
        padding-top: 80px; text-align: center; opacity: 0; visibility: hidden;
    }
    .nav.active { transform: translateY(0); opacity: 1; visibility: visible; }
    .nav-list { display: block; height: auto; }
    .nav-item {
        height: auto; padding: 20px 0; font-size: 1.2rem; border-bottom: 1px solid #f0f0f0;
    }
    .nav-item .en { font-size: 1.5rem; margin-bottom: 5px; }
}
@media (max-width: 480px) {
    .footer-col { width: 100%; }
}

/* Animation Utility */
.reveal-text, .anim-up { opacity: 0; transform: translateY(30px); }


/* ====================================
   WordPress Admin Bar Fix
   ==================================== */
/* ログイン時にヘッダーが管理バーの下に隠れないようにする */
body.admin-bar .header {
    top: 32px; /* デスクトップ用管理バーの高さ */
}

@media screen and (max-width: 782px) {
    body.admin-bar .header {
        top: 46px; /* スマホ用管理バーの高さ */
    }
}



/* カレントページの文字色を青にする */
.nav-item.active {
    color: var(--primary) !important;
    opacity: 1;
}