@charset "UTF-8";

/* =====================================================
   Variables (重厚感・高級感重視)
===================================================== */
:root {
    --color-bg-base: #050505;
    --color-bg-section: #111111;
    --color-bg-light: #1a1a1a;
    --color-text-main: #f0f0f0;
    --color-text-sub: #a3a3a3;
    --color-accent-gold: #cda45e;
    --color-accent-gold-hover: #e3b970;
    --color-line-green: #06C755;
    
    --font-gothic: 'Noto Sans JP', sans-serif;
    --font-mincho: 'Noto Serif JP', serif;
    
    --header-height: 70px;
    --sp-bottom-bar-height: 60px; /* スマホ固定ボタン高さ */
}

/* =====================================================
   Reset & Base
===================================================== */
* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    background-color: var(--color-bg-base);
    color: var(--color-text-main);
    font-family: var(--font-gothic);
    line-height: 1.8;
    font-size: 16px;
    letter-spacing: 0.08em;
    padding-bottom: var(--sp-bottom-bar-height);
    overflow-x: hidden;
}
@media (min-width: 769px) { body { padding-bottom: 0; } }
a { color: inherit; text-decoration: none; transition: 0.3s; }
img { max-width: 100%; height: auto; display: block; }
ul { list-style: none; }

.l-container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.l-section { padding: 120px 0; }
@media (max-width: 768px) { .l-section { padding: 80px 0; } body { font-size: 14.5px; } }

/* =====================================================
   Components
===================================================== */
.c-section-title { margin-bottom: 50px; }
.c-section-title--center { text-align: center; }
.c-section-title__en {
    display: block; color: var(--color-accent-gold); font-size: 14px;
    font-weight: 700; letter-spacing: 0.2em; margin-bottom: 8px;
}
.c-section-title__jp { font-family: var(--font-mincho); font-size: 36px; font-weight: 900; }
@media (max-width: 768px) { .c-section-title__jp { font-size: 28px; } .c-section-title { margin-bottom: 40px; } }

/* Buttons */
.c-btn {
    display: inline-flex; align-items: center; justify-content: center;
    padding: 16px 40px; font-weight: 700; border-radius: 4px; cursor: pointer;
    line-height: 1.4; transition: all 0.3s ease; text-align: center;
}
.c-btn--gold { background-color: var(--color-accent-gold); color: #000; }
.c-btn--gold:hover { background-color: var(--color-accent-gold-hover); transform: translateY(-3px); box-shadow: 0 5px 15px rgba(205,164,94,0.3); }
.c-btn--line { background-color: var(--color-line-green); color: #fff; border: 1px solid var(--color-line-green); }
.c-btn--line:hover { opacity: 0.8; transform: translateY(-3px); box-shadow: 0 5px 15px rgba(6,199,85,0.3); }
.c-btn--tel { background-color: var(--color-bg-light); color: var(--color-accent-gold); border: 1px solid var(--color-accent-gold); }
.c-btn--tel:hover { background-color: var(--color-accent-gold); color: #000; transform: translateY(-3px); }
.c-btn--outline { border: 1px solid var(--color-text-main); padding: 12px 30px; }
.c-btn--outline:hover { background-color: var(--color-text-main); color: var(--color-bg-base); }
.c-btn .small { font-size: 12px; opacity: 0.8; display: block; margin-bottom: 4px; }

/* Animations */
.js-fadein { opacity: 0; transform: translateY(40px); transition: opacity 0.8s ease, transform 0.8s ease; }
.js-fadein.is-active { opacity: 1; transform: translateY(0); }

/* =====================================================
   Header
===================================================== */
.l-header {
    position: fixed; top: 0; left: 0; width: 100%; z-index: 1000;
    background: rgba(5, 5, 5, 0.9); backdrop-filter: blur(8px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.l-header__inner { display: flex; justify-content: space-between; align-items: center; height: var(--header-height); padding: 0 20px; max-width: 1200px; margin: 0 auto; }
.l-header__nav { display: none; }
.l-header__menu-btn { background: none; border: none; cursor: pointer; width: 32px; height: 22px; position: relative; z-index: 1001; }
.l-header__menu-btn span { display: block; position: absolute; width: 100%; height: 2px; background: var(--color-accent-gold); transition: 0.3s; }
.l-header__menu-btn span:nth-child(1) { top: 0; }
.l-header__menu-btn span:nth-child(2) { top: 50%; transform: translateY(-50%); }
.l-header__menu-btn span:nth-child(3) { bottom: 0; }
.l-header__menu-btn.is-active span:nth-child(1) { top: 50%; transform: translateY(-50%) rotate(45deg); }
.l-header__menu-btn.is-active span:nth-child(2) { opacity: 0; }
.l-header__menu-btn.is-active span:nth-child(3) { bottom: 50%; transform: translateY(50%) rotate(-45deg); }

.l-header__sp-nav { position: fixed; top: 0; right: -100%; width: 100%; height: 100vh; background: var(--color-bg-base); padding-top: 100px; transition: right 0.4s ease; z-index: 1000; }
.l-header__sp-nav.is-active { right: 0; }
.l-header__sp-nav ul li a { display: block; padding: 20px; text-align: center; font-size: 18px; font-weight: 700; border-bottom: 1px solid #222; }

@media (min-width: 1025px) {
    .l-header__menu-btn { display: none; }
    .l-header__nav { display: flex; align-items: center; gap: 40px; }
    .l-header__nav ul { display: flex; gap: 25px; font-size: 14px; font-weight: 700; }
    .l-header__nav ul a:hover { color: var(--color-accent-gold); }
    .l-header__contact { display: flex; gap: 15px; }
    .l-header__contact a { padding: 8px 20px; font-size: 13px; font-weight: 700; border-radius: 4px; border: 1px solid var(--color-accent-gold); }
    .l-header__contact .tel { color: var(--color-accent-gold); }
    .l-header__contact .line { background: var(--color-line-green); border-color: var(--color-line-green); color: #fff; }
}

/* =====================================================
   FV (First View)
===================================================== */
.p-fv { position: relative; height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; overflow: hidden; }
.p-fv__bg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-size: cover; background-position: center; z-index: -2; transform: scale(1.05); animation: zoomBg 20s linear infinite alternate; }
@keyframes zoomBg { 0% { transform: scale(1); } 100% { transform: scale(1.1); } }
.p-fv__overlay { position: absolute; top: 0; left: 0; width: 100%; height: 100%; background: linear-gradient(135deg, rgba(0,0,0,0.85) 0%, rgba(0,0,0,0.4) 100%); z-index: -1; }
.p-fv__content { padding: 0 20px; z-index: 1; }
.p-fv__title { font-family: var(--font-mincho); font-size: 56px; font-weight: 900; line-height: 1.3; margin-bottom: 24px; text-shadow: 0 4px 15px rgba(0,0,0,0.9); }
.p-fv__lead { font-size: 18px; color: var(--color-text-main); margin-bottom: 40px; text-shadow: 0 2px 10px rgba(0,0,0,0.8); font-weight: 500; }
.p-fv__scroll { position: absolute; bottom: 80px; left: 50%; transform: translateX(-50%); font-size: 12px; letter-spacing: 0.2em; color: var(--color-accent-gold); }
.p-fv__scroll::after { content: ''; display: block; width: 1px; height: 50px; background: var(--color-accent-gold); margin: 10px auto 0; animation: scrollLine 2s infinite; }
@keyframes scrollLine { 0% { transform: scaleY(0); transform-origin: top; } 50% { transform: scaleY(1); transform-origin: top; } 50.1% { transform: scaleY(1); transform-origin: bottom; } 100% { transform: scaleY(0); transform-origin: bottom; } }
@media (max-width: 768px) { .p-fv__title { font-size: 36px; } .p-fv__lead { font-size: 15px; text-align: left; } }

/* =====================================================
   Concept
===================================================== */
.p-concept__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 30px; }
.p-concept__item { background-color: var(--color-bg-section); padding: 40px 30px; border-top: 2px solid var(--color-accent-gold); box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.p-concept__num { font-family: var(--font-mincho); font-size: 48px; color: var(--color-accent-gold); line-height: 1; margin-bottom: 20px; opacity: 0.2; }
.p-concept__title { font-size: 20px; font-weight: 700; margin-bottom: 20px; line-height: 1.5; }
.p-concept__text { color: var(--color-text-sub); font-size: 14.5px; margin-bottom: 25px; }
/* 画像のガタつき・サイズ最適化 */
.p-concept__img-wrapper img { width: 100%; aspect-ratio: 16/9; object-fit: cover; border-radius: 4px; }
@media (max-width: 768px) { .p-concept__grid { grid-template-columns: 1fr; gap: 20px; } }

/* =====================================================
   Service
===================================================== */
.p-service { background-color: var(--color-bg-section); }
.p-service__list { display: flex; flex-direction: column; gap: 100px; }
.p-service__item { display: flex; align-items: center; gap: 60px; }
.p-service__item--reverse { flex-direction: row-reverse; }
.p-service__img { flex: 1; position: relative; }
/* 画像最適化 */
.p-service__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; box-shadow: 10px 10px 0 rgba(205, 164, 94, 0.2); }
.p-service__body { flex: 1; }
.p-service__title { font-family: var(--font-mincho); font-size: 32px; font-weight: 900; margin-bottom: 10px; }
.p-service__catch { color: var(--color-accent-gold); font-weight: 700; font-size: 18px; margin-bottom: 20px; }
.p-service__text { color: var(--color-text-sub); }
@media (max-width: 768px) {
    .p-service__list { gap: 60px; }
    .p-service__item, .p-service__item--reverse { flex-direction: column; gap: 30px; }
    .p-service__title { font-size: 26px; }
}

/* =====================================================
   Equipment
===================================================== */
.p-equipment__inner { display: flex; gap: 50px; background: var(--color-bg-light); padding: 50px; border-radius: 8px; box-shadow: 0 10px 30px rgba(0,0,0,0.5); }
.p-equipment__img { flex: 1; }
/* 画像最適化 */
.p-equipment__img img { width: 100%; aspect-ratio: 4/3; object-fit: cover; border-radius: 4px; }
.p-equipment__info { flex: 1; display: flex; flex-direction: column; justify-content: center; }
.p-equipment__title { font-size: 26px; color: var(--color-accent-gold); margin-bottom: 20px; font-family: var(--font-mincho); font-weight: 900; }
.p-equipment__text { margin-bottom: 30px; color: var(--color-text-sub); }
.p-equipment__list li { padding: 12px 0; border-bottom: 1px solid #333; font-size: 15px; }
.p-equipment__list li strong { color: #fff; width: 100px; display: inline-block; }
@media (max-width: 768px) { .p-equipment__inner { flex-direction: column; padding: 30px 20px; gap: 30px; } }

/* =====================================================
   Works
===================================================== */
.p-works__grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; margin-bottom: 40px; }
.p-works__item { position: relative; border-radius: 4px; overflow: hidden; }
/* 画像最適化 */
.p-works__item img { width: 100%; aspect-ratio: 4/3; object-fit: cover; transition: transform 0.5s; }
.p-works__item:hover img { transform: scale(1.05); }
.p-works__name { position: absolute; bottom: 0; left: 0; width: 100%; background: rgba(0,0,0,0.8); padding: 10px; font-size: 14px; font-weight: 700; text-align: center; }
.p-works__sns { text-align: center; margin-top: 40px; }
.p-works__sns p { margin-bottom: 20px; color: var(--color-text-sub); }
@media (max-width: 768px) { .p-works__grid { grid-template-columns: 1fr; gap: 20px; } }

/* =====================================================
   Company
===================================================== */
.p-company { background-color: var(--color-bg-section); }
.p-company__wrap { display: flex; gap: 60px; }
.p-company__message, .p-company__profile { flex: 1; }
.p-company__catch { font-size: 22px; font-family: var(--font-mincho); color: var(--color-accent-gold); margin-bottom: 30px; line-height: 1.6; }
.p-company__text { color: var(--color-text-sub); margin-bottom: 30px; }
.p-company__sign { text-align: right; font-family: var(--font-mincho); font-size: 20px; font-weight: 700; }
.p-company__table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.p-company__table th, .p-company__table td { padding: 15px; border-bottom: 1px solid #333; text-align: left; font-size: 15px; }
.p-company__table th { width: 30%; color: var(--color-accent-gold); font-weight: 500; }
@media (max-width: 768px) { .p-company__wrap { flex-direction: column; gap: 60px; } }

/* =====================================================
   Contact CTA
===================================================== */
.p-contact { background-image: linear-gradient(135deg, #111 0%, #1a1a1a 100%); border-top: 1px solid #333; }
.p-contact__inner { max-width: 800px; margin: 0 auto; text-align: center; }
.p-contact__title { font-family: var(--font-mincho); font-size: 40px; font-weight: 900; color: var(--color-accent-gold); margin-bottom: 20px; }
.p-contact__lead { color: var(--color-text-sub); margin-bottom: 40px; }
.p-contact__btns { display: flex; justify-content: center; gap: 20px; }
.p-contact__btns a { flex: 1; max-width: 350px; }
@media (max-width: 768px) { .p-contact__btns { flex-direction: column; gap: 15px; align-items: center; } .p-contact__btns a { width: 100%; } }

/* =====================================================
   Footer
===================================================== */
.l-footer { background-color: #000; padding: 30px 0; text-align: center; }
.l-footer__copy { font-size: 12px; color: #666; letter-spacing: 0.1em; }

/* =====================================================
   SP Floating Button (スマホ下部固定 最優先レイアウト)
===================================================== */
.l-floating-btn { display: none; }
@media (max-width: 768px) {
    .l-floating-btn {
        display: flex; position: fixed; bottom: 0; left: 0; width: 100%;
        height: var(--sp-bottom-bar-height); z-index: 1000;
        box-shadow: 0 -2px 10px rgba(0,0,0,0.5);
    }
    .l-floating-btn a {
        display: flex; flex-direction: column; align-items: center; justify-content: center;
        height: 100%; color: #fff; font-size: 12px; font-weight: 700; text-decoration: none;
    }
    .l-floating-btn__tel { flex: 1; background: #333; }
    /* LINE誘導を最優先するため、緑色で幅を少し広く取る */
    .l-floating-btn__line { flex: 1.2; background: var(--color-line-green); }
    .l-floating-btn .icon { font-size: 18px; margin-bottom: 2px; }
}

.l-header__logo {
  background: rgba(17, 17, 17, 0.75);
  padding: 10px 18px;
  border: 1px solid rgba(197, 168, 128, 0.35);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.35);
}

.l-header__logo img {
  width: 150px;
  height: auto;
  object-fit: contain;
  display: block;
}
img[src*="logo"] {
  object-fit: contain !important;
  padding-top: 10px;
}