:root {
    --primary-color: #f97316; /* Bright Orange for sparks/steel vibe */
    --primary-hover: #ea580c;
    --bg-dark: #0f1115; /* Very dark slate/blue-black */
    --bg-card: #1e2229;
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --line-color: #00B900;
    --line-hover: #009900;
    --border-color: #2d323c;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Noto Sans JP', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
}

body {
    overflow-x: hidden;
}

a {
    color: inherit;
    text-decoration: none;
}

ul {
    list-style: none;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 5%;
}

.section {
    padding: 100px 0;
}

.sp-only {
    display: none;
}

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

/* Typography */
.en-title {
    display: block;
    font-family: 'Oswald', sans-serif;
    color: var(--primary-color);
    font-size: 1.2rem;
    letter-spacing: 0.1em;
    margin-bottom: 5px;
}

.jp-title {
    font-size: 2.2rem;
    font-weight: 700;
    margin-bottom: 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(15, 17, 21, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
    padding: 0 5%;
}

.logo {
    font-size: 1.5rem;
    font-weight: 900;
    display: flex;
    flex-direction: column;
    line-height: 1.2;
}

.logo span {
    font-family: 'Oswald', sans-serif;
    font-size: 0.7rem;
    color: var(--primary-color);
    letter-spacing: 0.1em;
}

.nav ul {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.3s;
}

.nav a:hover {
    color: var(--primary-color);
}

.btn-header-contact {
    background: var(--line-color);
    color: #fff;
    padding: 10px 20px;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: background 0.3s;
}

.btn-header-contact:hover {
    background: var(--line-hover);
}

@media (max-width: 768px) {
    .nav { display: none; }
    .btn-header-contact { font-size: 0.8rem; padding: 8px 12px; }
}

/* Hero Section */
.hero {
    height: 100vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to right, rgba(15,17,21,0.9) 0%, rgba(15,17,21,0.6) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    padding: 0 5%;
}

.hero-sub {
    font-size: 1.6rem;
    font-weight: 500;
    color: var(--primary-color);
    margin-bottom: 10px;
    letter-spacing: 0.1em;
    animation: fadeInUp 1s ease 0.2s forwards;
    opacity: 0;
}

.hero-title {
    font-size: 4.5rem;
    font-weight: 900;
    line-height: 1.3;
    margin-bottom: 40px;
    animation: fadeInUp 1s ease 0.4s forwards;
    opacity: 0;
}

@media (max-width: 768px) {
    .hero-title { font-size: 2.8rem; }
    .hero-sub { font-size: 1.2rem; }
}

.btn-primary {
    display: inline-block;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    font-size: 1.1rem;
    font-weight: 700;
    border-radius: 30px;
    transition: all 0.3s;
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.btn-primary:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.hero-appeal {
    display: inline-block;
    border: 3px solid var(--primary-color);
    border-radius: 50px;
    padding: 15px 40px;
    margin-top: 10px;
    background: rgba(249, 115, 22, 0.1);
    animation: fadeInUp 1s ease 0.6s forwards;
    opacity: 0;
}

.hero-appeal span {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text-main);
    letter-spacing: 0.05em;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

@media (max-width: 768px) {
    .hero-appeal { padding: 10px 25px; border-width: 2px; }
    .hero-appeal span { font-size: 1.3rem; }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: pulse 2s infinite;
}

.scroll-indicator span {
    font-family: 'Oswald', sans-serif;
    font-size: 0.8rem;
    letter-spacing: 0.1em;
    margin-bottom: 10px;
}

.scroll-indicator::after {
    content: '';
    width: 1px;
    height: 40px;
    background: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0% { opacity: 0.5; }
    50% { opacity: 1; }
    100% { opacity: 0.5; }
}

.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* About Section */
.about {
    background: var(--bg-dark);
}

.about-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.about-card {
    background: var(--bg-card);
    padding: 40px 30px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
}

.about-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.5);
    border-color: var(--primary-color);
}

.card-icon {
    font-family: 'Oswald', sans-serif;
    font-size: 3rem;
    color: rgba(249, 115, 22, 0.1);
    position: absolute;
    top: -10px;
    right: 10px;
    font-weight: 700;
}

.about-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-color);
    position: relative;
    z-index: 2;
}

.about-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 2;
}

/* Works (Instagram) Section */
.works {
    background: #14171c;
}

.insta-gallery-container {
    max-width: 100%;
    margin: 0 auto 40px;
}

/* Beholdのホバーエフェクトを無効化し、下部に常時表示 */
behold-widget {
    display: block;
    width: 100%;
    margin: 0 auto;
}

/* 透過レイヤー（ホバー背景）を最初から不透明の土台として下に配置 */
behold-widget::part(hover-overlay) {
    position: relative !important;
    opacity: 1 !important;
    background: var(--bg-card) !important; /* ダークトーンの背景色 */
    color: var(--text-main) !important;    /* 白系の文字色 */
    padding: 12px 15px !important;
    transform: none !important;
    border-bottom-left-radius: 8px !important;
    border-bottom-right-radius: 8px !important;
}

behold-widget::part(post) {
    border: 1px solid var(--border-color) !important;
    border-radius: 8px !important;
    overflow: hidden !important;
    background: var(--bg-card) !important;
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s !important;
}

behold-widget::part(post):hover {
    transform: translateY(-5px) !important;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5) !important;
    border-color: var(--primary-color) !important;
}

/* アイコン（ハートやコメント数など）は不要なので非表示 */
behold-widget::part(hover-icons) {
    display: none !important;
}

/* テキストを常時可読な状態にする */
behold-widget::part(hover-caption) {
    opacity: 1 !important;
    font-size: 14px !important;
    line-height: 1.6 !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 3 !important; /* 長い文章は3行で三点リーダーに */
    -webkit-box-orient: vertical !important;
    overflow: hidden !important;
    white-space: normal !important;
}

.works-action {
    text-align: center;
}

.btn-secondary {
    display: inline-block;
    border: 2px solid var(--text-main);
    color: var(--text-main);
    padding: 12px 30px;
    border-radius: 30px;
    font-weight: 700;
    transition: all 0.3s;
}

.btn-secondary:hover {
    background: var(--text-main);
    color: var(--bg-dark);
}

/* Contact Section */
.contact {
    position: relative;
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.contact-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 17, 21, 0.85);
    z-index: 1;
}

.contact .container {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: center;
}

.contact-box {
    background: rgba(30, 34, 41, 0.8);
    backdrop-filter: blur(15px);
    border: 1px solid var(--border-color);
    padding: 60px;
    border-radius: 16px;
    text-align: center;
    max-width: 800px;
    width: 100%;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
}

.contact-title {
    font-size: 2.2rem;
    margin-bottom: 20px;
    line-height: 1.4;
}

.highlight {
    color: var(--line-color);
    font-size: 2.8rem;
}

.contact-text {
    color: var(--text-muted);
    margin-bottom: 40px;
    font-size: 1.1rem;
}

.phone-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.btn-phone-large {
    display: inline-flex;
    align-items: center;
    gap: 15px;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    transition: all 0.3s;
}

.btn-phone-large:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(249, 115, 22, 0.3);
}

.phone-icon {
    font-size: 1.8rem;
}

.phone-number {
    font-family: 'Oswald', sans-serif;
    font-size: 2.2rem;
    font-weight: 700;
    letter-spacing: 0.05em;
}

.phone-hours {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Floating Phone Banner */
.floating-phone-banner {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: var(--primary-color);
    color: #fff;
    padding: 15px 25px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 15px;
    box-shadow: 0 10px 25px rgba(0,0,0,0.5);
    z-index: 1000;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-phone-banner:hover {
    transform: scale(1.05) translateY(-5px);
    background: var(--primary-hover);
}

.floating-icon {
    font-size: 1.8rem;
    animation: phoneShake 2s infinite ease-in-out;
}

.floating-text {
    display: flex;
    flex-direction: column;
}

.floating-label {
    font-size: 0.75rem;
    font-weight: 500;
    opacity: 0.9;
}

.floating-number {
    font-family: 'Oswald', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    line-height: 1.2;
}

@keyframes phoneShake {
    0%, 100% { transform: rotate(0deg); }
    10% { transform: rotate(15deg); }
    20% { transform: rotate(-10deg); }
    30% { transform: rotate(15deg); }
    40% { transform: rotate(-10deg); }
    50% { transform: rotate(0deg); }
}

@media (max-width: 768px) {
    .contact-box { padding: 40px 20px; }
    .contact-title { font-size: 1.8rem; }
    .highlight { font-size: 2.2rem; }
    .floating-phone-banner {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }
    .floating-label { display: none; }
    .floating-number { font-size: 1.1rem; }
    .btn-phone-large { padding: 12px 25px; }
    .phone-number { font-size: 1.6rem; }
}

/* Company Section */
.company-table-wrapper {
    max-width: 800px;
    margin: 0 auto;
    background: var(--bg-card);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

.company-table {
    width: 100%;
    border-collapse: collapse;
}

.company-table th,
.company-table td {
    padding: 20px 30px;
    border-bottom: 1px solid var(--border-color);
}

.company-table tr:last-child th,
.company-table tr:last-child td {
    border-bottom: none;
}

.company-table th {
    text-align: left;
    width: 30%;
    color: var(--text-muted);
    font-weight: 500;
    background: rgba(0,0,0,0.2);
}

@media (max-width: 600px) {
    .company-table th, .company-table td {
        display: block;
        width: 100%;
    }
    .company-table th {
        padding-bottom: 5px;
        border-bottom: none;
    }
    .company-table td {
        padding-top: 5px;
    }
}

/* Footer */
.footer {
    background: #000;
    padding: 40px 0;
    text-align: center;
    border-top: 1px solid var(--border-color);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 15px;
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Calendar Styles (Homepage) */
.calendar-wrapper {
    max-width: 400px;
    margin: 0 auto;
    background: rgba(30, 34, 41, 0.4);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    padding: 20px;
    border-radius: 12px;
}

.calendar-header-days {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-weight: 700;
    font-size: 0.9rem;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    color: var(--text-muted);
}

.calendar-header-days span.sun {
    color: #ef4444; /* Sunday Red */
}

.calendar-header-days span.sat {
    color: #3b82f6; /* Saturday Blue */
}

.calendar-grid-front {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    text-align: center;
}

.calendar-day-front {
    aspect-ratio: 1 / 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 50%;
    color: var(--text-main);
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.calendar-day-front.empty {
    opacity: 0;
    pointer-events: none;
}

.calendar-day-front.sun {
    color: #f87171;
}

.calendar-day-front.sat {
    color: #60a5fa;
}

.calendar-day-front.holiday {
    background: #ef4444;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.6);
    border-color: #ef4444;
}

/* Responsive adjustment */
@media (max-width: 480px) {
    .calendar-wrapper {
        padding: 15px 10px;
    }
    .calendar-grid-front {
        gap: 6px;
    }
    .calendar-day-front {
        font-size: 0.9rem;
    }
}

